Anzeige:
Ergebnis 1 bis 4 von 4

Thema: 2+2=4, aber wie ?

  1. #1
    blackhobbit
    Gast

    Unhappy 2+2=4, aber wie ?

    Hallo !

    Ich versuche schon des längeren eine AVM C2 unter SuSE 8.x zum Laufen zu bringen. Leider ist (meiner Meinung nach) alles komplizierter gemacht als es notwendig ist. Kurzum, ich kriegs nicht gebacken. Zum einen konfiguriert SuSE 8.1 den Treiber der C2 auf eine C4 und das rc-script läuft in einer Endlosschleife. Nachdem ich das (hoffentlich richtig) geändert habe wurde der Treiber wohl richtig geladen und ich habs soweit das ich 2 der 4 Kanäle (also 128k) zum Laufen bekommen habe (2xMSN).
    Eine zweite Leitung (eigene EAZ) steckt an der Karte. Wähle ich die 3. Leitung an sieht man in imon daß das auch richtig gemacht wird. Leider wird dann die 2. Leitung wieder getrennt oder die Verbindung wird nicht hergestellt. Ich hab keine Ahnung mehr wo ich suchen soll. Ich hoffe hier eine Antwort zu finden. Unten einige Config-Files und das /var/log/messages. Bei ippp1 steht zwar im Log auch schon eine Fehlermeldung, aber ich habe Testweise mit 14kbyte/s gezogen und imon zeigt auch 2 bestehende Leitungen.
    Irgendwie ist das alles zum verzweifeln.

    -----------------------------------------------------------------
    /etc/sysconf/isdn/capi.conf.contr0
    (von Yast jedesmal neu generiert aber meiner Meinung fehlerhaft bei einer C2 (läuft in der Art auch nicht)):

    #SuSEconfig.isdn generated
    # card file proto io irq mem cardnr options
    c4 c4.bin DSS1 - - - -
    c4 - DSS1 - - - -
    c4 - DSS1 - - - -
    c4 - DSS1 - - - -

    hab ich geändert in:

    #SuSEconfig.isdn generated
    # card file proto io irq mem cardnr options
    c2 c2.bin DSS1 - - - -
    c2 - DSS1 - - - -

    Dann lies sich erst mal via 'rcisdn start' der Treiber laden.

    -----------------------------------------------------------------
    /etc/ppp/ioptions

    lock

    # Set 'debug' to create a lot of information in /var/log/messages
    debug

    # Set '+pwlog' for logging passwords in /var/log/messages
    +pwlog

    ms-get-dns
    defaultroute

    -----------------------------------------------------------------
    /etc/ppp/ioptions.ippp0 - /etc/ppp/ioptions.ippp3

    ipcp-accept-local
    ipcp-accept-remote
    usepeerdns
    netmask 255.255.255.255
    defaultroute
    ms-get-dns
    mtu 1500
    mru 1524
    +mp
    +pwlog
    user "MSN"
    name ""

    -----------------------------------------------------------------
    mein 'hilfsscript'
    (ich hab immer nur die option 'start' genutzt)

    #!/bin/bash

    DEV="blub"

    EAZ="xxxx"
    EAZ2="yyyy"

    function setdev()
    {
    isdnctrl eaz $DEV $EAZ
    isdnctrl l2_prot $DEV hdlc
    isdnctrl l3_prot $DEV trans
    isdnctrl encap $DEV syncppp
    isdnctrl addphone $DEV out 0192658
    isdnctrl secure $DEV on
    isdnctrl huptimeout $DEV 300
    isdnctrl chargehup $DEV off
    isdnctrl dialmode $DEV manual
    }

    case $1 in
    start)
    isdnctrl addif ippp0
    DEV="ippp0"
    setdev
    isdnctrl pppbind ippp0 0

    isdnctrl addslave ippp0 ippp1
    DEV="ippp1"
    setdev
    isdnctrl pppbind ippp1 1
    isdnctrl dialmode ippp1 auto

    isdnctrl addslave ippp0 ippp2
    DEV="ippp2"
    EAZ=$EAZ2
    setdev
    isdnctrl pppbind ippp2 2
    isdnctrl dialmode ippp2 auto
    isdnctrl verbose 3

    killall ipppd

    ifconfig ippp0 192.168.0.1 pointopoint 192.168.20.20 up

    ipppd +mp /dev/ippp0 /dev/ippp1 /dev/ippp2 file ioptions
    ;;

    stop)
    ifconfig ippp0 down
    ifconfig ippp1 down
    ifconfig ippp2 down

    isdnctrl delif ippp2
    isdnctrl delif ippp1
    isdnctrl delif ippp0
    ;;

    dial)
    isdnctrl dial ippp0
    ;;

    hangup)
    isdnctrl hangup ippp0
    ;;

    *)
    echo "wrong command: $1"
    echo "$0 (start|stop|dial|hangup)"
    exit 1
    ;;
    esac
    -----------------------------------------------------------------

    meine Eingabe:

    >rcisdn start
    >./isdn start // obiges script
    >isdnctrl dial ippp0
    >isdnctrl dial ippp1 // hier war (meistens) eine 128k verbindung geschaffen
    >isdnctrl dial ippp2 // das ging dann nicht mehr so wie gewollt
    (zu diesen zeilen ist auch das message-log weiter unten)

    hab ich stattdessen:
    >isdnctrl dial ippp0
    >isdnctrl addlink ippp1
    kam leider ein fehler, wieso auch immer, mit der fritzkarte ging das wenn ich mich recht errinnern kann.

    -----------------------------------------------------------------

    Jan 8 18:11:26 linux kernel: kcapi: appl 1 ncci 0x10101 up
    Jan 8 18:11:26 linux kernel: isdn_net: ippp0 connected
    Jan 8 18:11:26 linux kernel: capidrv-1: chan 0 up with ncci 0x10101
    Jan 8 18:11:26 linux ipppd[31206]: Local number: XXXX, Remote number: 0192658, Type: outgoing
    Jan 8 18:11:26 linux ipppd[31206]: PHASE_WAIT -> PHASE_ESTABLISHED, ifunit: 0, linkunit: 0, fd: 8
    Jan 8 18:11:26 linux ipppd[31206]: sent [0][LCP ConfReq id=0x1 <mru 1524> <magic 0x82a1cdc2> <pcomp> <accomp> <MPmrru 1500> <MPdiscr: 0x4 [ 81 6b 17 06 c2 7f 09 77 ]>]
    Jan 8 18:11:26 linux isdnlog: Jan 08 18:11:26 tei 119 calling 0192658 with +49 037606/XXXX, Lengenfeld 1.EH EUR 0.062
    Jan 8 18:11:26 linux kernel: isdn_net: Got CINF chargetime of ippp0 now 1384071
    Jan 8 18:11:29 linux ipppd[31206]: sent [0][LCP ConfReq id=0x1 <mru 1524> <magic 0x82a1cdc2> <pcomp> <accomp> <MPmrru 1500> <MPdiscr: 0x4 [ 81 6b 17 06 c2 7f 09 77 ]>]
    Jan 8 18:11:29 linux ipppd[31206]: rcvd [0][LCP ConfReq id=0x1 < 00 04 00 00> <mru 1524> <MPmrru 1524> <MPdiscr: 0x1 [ 75 75 6e 65 74 64 65 2d 62 65 72 32 ]>]
    Jan 8 18:11:29 linux ipppd[31206]: sent [0][LCP ConfRej id=0x1 < 00 04 00 00>]
    Jan 8 18:11:29 linux ipppd[31206]: rcvd [0][LCP ConfNak id=0x1 <mru 1500>]
    Jan 8 18:11:29 linux ipppd[31206]: sent [0][LCP ConfReq id=0x2 <mru 1500> <magic 0x82a1cdc2> <pcomp> <accomp> <MPmrru 1500> <MPdiscr: 0x4 [ 81 6b 17 06 c2 7f 09 77 ]>]
    Jan 8 18:11:29 linux ipppd[31206]: rcvd [0][LCP ConfReq id=0x2 <mru 1524> <MPmrru 1524> <MPdiscr: 0x1 [ 75 75 6e 65 74 64 65 2d 62 65 72 32 ]>]
    Jan 8 18:11:29 linux ipppd[31206]: sent [0][LCP ConfAck id=0x2 <mru 1524> <MPmrru 1524> <MPdiscr: 0x1 [ 75 75 6e 65 74 64 65 2d 62 65 72 32 ]>]
    Jan 8 18:11:29 linux ipppd[31206]: rcvd [0][LCP ConfAck id=0x2 <mru 1500> <magic 0x82a1cdc2> <pcomp> <accomp> <MPmrru 1500> <MPdiscr: 0x4 [ 81 6b 17 06 c2 7f 09 77 ]>]
    Jan 8 18:11:29 linux ipppd[31206]: lcp layer is UP
    Jan 8 18:11:29 linux ipppd[31206]: MPPP negotiation, He: Yes We: Yes
    Jan 8 18:11:29 linux ipppd[31206]: sent [0][IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
    Jan 8 18:11:29 linux ipppd[31206]: CCP enabled! Trying CCP.
    Jan 8 18:11:29 linux ipppd[31206]: CCP: got ccp-unit 0 for link 0 (Compression Control Protocol)
    Jan 8 18:11:29 linux ipppd[31206]: ccp_resetci!
    Jan 8 18:11:32 linux ipppd[31206]: sent [0][IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
    Jan 8 18:11:33 linux isdnlog: Jan 08 18:11:33 * tei 119 calling 0192658 with +49 37606/XXXX, Lengenfeld RING (Data)
    Jan 8 18:11:33 linux kernel: ippp1: dialing 1 0192658...
    Jan 8 18:11:35 linux ipppd[31206]: sent [0][IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
    Jan 8 18:11:35 linux ipppd[31206]: rcvd [0][IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 139.4.248.134>]
    Jan 8 18:11:35 linux ipppd[31206]: sent [0][IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr 139.4.248.134>]
    Jan 8 18:11:35 linux ipppd[31206]: rcvd [0][IPCP ConfNak id=0x1 <addr 149.225.88.239> <ms-dns1 195.129.111.49> <ms-dns2 195.129.111.50>]
    Jan 8 18:11:35 linux ipppd[31206]: sent [0][IPCP ConfReq id=0x2 <addr 149.225.88.239> <compress VJ 0f 01> <ms-dns1 195.129.111.49> <ms-dns2 195.129.111.50>]
    Jan 8 18:11:35 linux ipppd[31206]: rcvd [0][IPCP ConfAck id=0x2 <addr 149.225.88.239> <compress VJ 0f 01> <ms-dns1 195.129.111.49> <ms-dns2 195.129.111.50>]
    Jan 8 18:11:35 linux ipppd[31206]: local IP address 149.225.88.239
    Jan 8 18:11:35 linux ipppd[31206]: remote IP address 139.4.248.134
    Jan 8 18:11:35 linux modify_resolvconf: Service ipppd modified /etc/resolv.conf. See info block in this file
    Jan 8 18:11:36 linux isdnlog: Jan 08 18:11:36 tei 119 calling 0192658 with +49 37606/XXXX, Lengenfeld Time:Wed Jan 8 18:07:00 2003
    Jan 8 18:11:36 linux isdnlog: Jan 08 18:11:36 tei 119 calling 0192658 with +49 37606/XXXX, Lengenfeld COLP *INVALID* -- ignored!
    Jan 8 18:11:36 linux isdnlog: Jan 08 18:11:36 tei 119 calling 0192658 with +49 37606/XXXX, Lengenfeld CONNECT (Data)
    Jan 8 18:11:36 linux isdnlog: Jan 08 18:11:36 tei 119 calling 0192658 with +49 37606/XXXX, Lengenfeld INTERFACE ippp0 calling 0192658
    Jan 8 18:11:36 linux isdnlog: Jan 08 18:11:36 tei 119 calling 0192658 with +49 37606/XXXX, Lengenfeld No area info for provider 33_0 (18), destination 0192658
    Jan 8 18:11:36 linux kernel: kcapi: appl 1 ncci 0x20201 up
    Jan 8 18:11:36 linux kernel: isdn_net: ippp1 connected
    Jan 8 18:11:36 linux kernel: capidrv-1: chan 1 up with ncci 0x20201
    Jan 8 18:11:36 linux ipppd[31206]: Local number: XXXX, Remote number: 0192658, Type: outgoing
    Jan 8 18:11:36 linux ipppd[31206]: PHASE_WAIT -> PHASE_ESTABLISHED, ifunit: 1, linkunit: 1, fd: 9
    Jan 8 18:11:36 linux ipppd[31206]: sent [1][LCP ConfReq id=0x1 <mru 1524> <magic 0xdff93fcb> <pcomp> <accomp> <MPmrru 1500> <MPdiscr: 0x4 [ 81 6b 17 06 c2 7f 09 77 ]>]
    Jan 8 18:11:36 linux ipppd[31206]: rcvd [1][LCP ConfReq id=0x1 < 00 04 00 00> <mru 1524> <MPmrru 1524> <MPdiscr: 0x1 [ 75 75 6e 65 74 64 65 2d 62 65 72 32 ]>]
    Jan 8 18:11:36 linux ipppd[31206]: sent [1][LCP ConfRej id=0x1 < 00 04 00 00>]
    Jan 8 18:11:36 linux ipppd[31206]: rcvd [1][LCP ConfNak id=0x1 <mru 1500>]
    Jan 8 18:11:36 linux ipppd[31206]: sent [1][LCP ConfReq id=0x2 <mru 1500> <magic 0xdff93fcb> <pcomp> <accomp> <MPmrru 1500> <MPdiscr: 0x4 [ 81 6b 17 06 c2 7f 09 77 ]>]
    Jan 8 18:11:36 linux isdnlog: Jan 08 18:11:36 tei 119 calling 0192658 with +49 37606/XXXX, Lengenfeld 1.EH EUR 0.062
    Jan 8 18:11:36 linux kernel: isdn_net: Got CINF chargetime of ippp1 now 1385112
    Jan 8 18:11:36 linux ipppd[31206]: rcvd [1][LCP ConfReq id=0x2 <mru 1524> <MPmrru 1524> <MPdiscr: 0x1 [ 75 75 6e 65 74 64 65 2d 62 65 72 32 ]>]
    Jan 8 18:11:36 linux ipppd[31206]: sent [1][LCP ConfAck id=0x2 <mru 1524> <MPmrru 1524> <MPdiscr: 0x1 [ 75 75 6e 65 74 64 65 2d 62 65 72 32 ]>]
    Jan 8 18:11:36 linux ipppd[31206]: rcvd [1][LCP ConfAck id=0x2 <mru 1500> <magic 0xdff93fcb> <pcomp> <accomp> <MPmrru 1500> <MPdiscr: 0x4 [ 81 6b 17 06 c2 7f 09 77 ]>]
    Jan 8 18:11:36 linux ipppd[31206]: lcp layer is UP
    Jan 8 18:11:36 linux modprobe: modprobe: Can't locate module ippp1 <<<<<<<------- FEHLER, ABER IPPP1 geht !
    Jan 8 18:11:36 linux ipppd[31206]: ioctl(SIOCSIFMTU): No such device, 7 ippp1 1500.
    Jan 8 18:11:36 linux ipppd[31206]: MPPP negotiation, He: Yes We: Yes
    Jan 8 18:11:36 linux ipppd[31206]: ipppd[1]: discr: 2
    Jan 8 18:11:36 linux ipppd[31206]: ipppd[1]: passed 1
    Jan 8 18:11:36 linux ipppd[31206]: ipppd[1]: passed 2
    Jan 8 18:11:36 linux ipppd[31206]: ipppd[1]: pap/chap-check passed
    Jan 8 18:11:36 linux ipppd[31206]: ok, found a valid bundle with linkunit 0
    Jan 8 18:11:36 linux ipppd[31206]: bundle: 0
    Jan 8 18:11:36 linux kernel: iPPP-bundle: minor: 1, slave unit: 1, master unit: 0
    Jan 8 18:11:50 linux kernel: ippp2: dialing 1 0192658...
    Jan 8 18:11:54 linux kernel: kcapi: appl 1 ncci 0x30302 up
    Jan 8 18:11:54 linux kernel: isdn_net: ippp2 connected
    Jan 8 18:11:54 linux kernel: capidrv-2: chan 0 up with ncci 0x30302
    Jan 8 18:11:55 linux ipppd[31206]: Local number: 86771, Remote number: 0192658, Type: outgoing
    Jan 8 18:11:55 linux ipppd[31206]: PHASE_WAIT -> PHASE_ESTABLISHED, ifunit: 2, linkunit: 2, fd: 10
    Jan 8 18:11:55 linux ipppd[31206]: sent [2][LCP ConfReq id=0x1 <mru 1524> <magic 0x6a77f796> <pcomp> <accomp> <MPmrru 1500> <MPdiscr: 0x4 [ 81 6b 17 06 c2 7f 09 77 ]>]
    Jan 8 18:11:55 linux ipppd[31206]: rcvd [2][LCP ConfReq id=0x1 < 00 04 00 00> <mru 1524> <MPmrru 1524> <MPdiscr: 0x1 [ 75 75 6e 65 74 64 65 2d 62 65 72 32 ]>]
    Jan 8 18:11:55 linux ipppd[31206]: sent [2][LCP ConfRej id=0x1 < 00 04 00 00>]
    Jan 8 18:11:55 linux ipppd[31206]: rcvd [2][LCP ConfNak id=0x1 <mru 1500>]
    Jan 8 18:11:55 linux ipppd[31206]: sent [2][LCP ConfReq id=0x2 <mru 1500> <magic 0x6a77f796> <pcomp> <accomp> <MPmrru 1500> <MPdiscr: 0x4 [ 81 6b 17 06 c2 7f 09 77 ]>]
    Jan 8 18:11:55 linux ipppd[31206]: rcvd [2][LCP ConfReq id=0x2 <mru 1524> <MPmrru 1524> <MPdiscr: 0x1 [ 75 75 6e 65 74 64 65 2d 62 65 72 32 ]>]
    Jan 8 18:11:55 linux ipppd[31206]: sent [2][LCP ConfAck id=0x2 <mru 1524> <MPmrru 1524> <MPdiscr: 0x1 [ 75 75 6e 65 74 64 65 2d 62 65 72 32 ]>]
    Jan 8 18:11:55 linux ipppd[31206]: rcvd [2][LCP ConfAck id=0x2 <mru 1500> <magic 0x6a77f796> <pcomp> <accomp> <MPmrru 1500> <MPdiscr: 0x4 [ 81 6b 17 06 c2 7f 09 77 ]>]
    Jan 8 18:11:55 linux ipppd[31206]: lcp layer is UP
    Jan 8 18:11:55 linux modprobe: modprobe: Can't locate module ippp2
    Jan 8 18:11:55 linux ipppd[31206]: ioctl(SIOCSIFMTU): No such device, 7 ippp2 1500. <<<<<<<<--- AUCH FEHLER, HIER GEHTS WOHL NICHT RECHT
    Jan 8 18:11:55 linux ipppd[31206]: MPPP negotiation, He: Yes We: Yes
    Jan 8 18:11:55 linux ipppd[31206]: ipppd[2]: discr: 2
    Jan 8 18:11:55 linux ipppd[31206]: ipppd[2]: passed 1
    Jan 8 18:11:55 linux ipppd[31206]: ipppd[2]: passed 2
    Jan 8 18:11:55 linux ipppd[31206]: ipppd[2]: pap/chap-check passed
    Jan 8 18:11:55 linux ipppd[31206]: ok, found a valid bundle with linkunit 0
    Jan 8 18:11:55 linux ipppd[31206]: bundle: 0
    Jan 8 18:11:55 linux kernel: iPPP-bundle: minor: 2, slave unit: 2, master unit: 0
    Jan 8 18:11:55 linux kernel: kcapi: appl 1 ncci 0x30302 down
    Jan 8 18:11:55 linux kernel: capidrv-2: DISCONNECT_IND reason 0x3490 (Normal call clearing) for plci 0x302
    Jan 8 18:11:55 linux kernel: ippp2: remote hangup
    Jan 8 18:11:55 linux kernel: ippp2: Chargesum is 0
    Jan 8 18:11:55 linux ipppd[31206]: Modem hangup
    Jan 8 18:11:55 linux ipppd[31206]: Connection terminated.
    Jan 8 18:11:55 linux ipppd[31206]: taking down PHASE_DEAD link 2, linkunit: 2
    Jan 8 18:11:55 linux ipppd[31206]: sent [2][LCP TermReq id=0x3 6c 69 6e 6b 20 63 6c 6f 73 65 64]
    Jan 8 18:11:55 linux ipppd[31206]: LCP is down
    Jan 8 18:11:55 linux ipppd[31206]: closing fd 10 from unit 2
    Jan 8 18:11:55 linux ipppd[31206]: link 2 closed , linkunit: 2
    Jan 8 18:11:55 linux ipppd[31206]: reinit_unit: 2
    Jan 8 18:11:55 linux kernel: ippp_ccp: freeing reset data structure c48d1000
    Jan 8 18:11:55 linux kernel: ippp, open, slot: 2, minor: 2, state: 0000
    Jan 8 18:11:55 linux kernel: ippp_ccp: allocated reset data structure c48d1000
    Jan 8 18:11:55 linux ipppd[31206]: Connect[2]: /dev/ippp2, fd: 10

  2. #2
    blackhobbit
    Gast

    Kann mir denn keiner helfen :-(

    Ich muß mit ISDN 256 kBit/s erreichen ob nun mit der AVM C2 oder meinetwegen auch mit 2 Fritzkarten (falls möglich). Hat jemand einen Link/Tip wie ich mehr als 128 kBit/s erreiche ?

    Danke,
    Thomas

  3. #3
    Registrierter Benutzer
    Registriert seit
    Feb 2004
    Beiträge
    37
    Hallo,

    wenn ich mich nicht ganz blöde vertue, dann kannst du mit isdn nur 2 "Leitungen" nutzen. Also 2 x 64kbit = 128kbit. Falls ich mich aber doch irren sollte, dann einfach Antwort übersehen.

  4. #4
    иochиoi dozor Avatar von shootie
    Registriert seit
    Oct 2002
    Ort
    Unterschleissheim
    Beiträge
    280
    ein normaler ISDN-Anschluss hat nur 128kbit/s also wie von callefornia gesagt 2 x 64 kbit/s ;-) hol dir noch einen ISDN-Anschluss... also mit íngesamt 4 leitungen bekommst dann auch 256kbit/s ;-)
    Greetz nEE aka sHooTie

    Don't Try This At Home

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •