Re: FreeBSD 4.7 ISDN Einwahl klappt nicht (langes Posting)

From: Andreas Totlis <usenet(at)esct.org>
Date: Tue, 4 Feb 2003 19:21:42 +0100

Hello Bernd,

* Bernd Walter <ticso(at)cicely8.cicely.de> [030203 19:46]:
> On Mon, Feb 03, 2003 at 06:50:58PM +0100, Andreas Totlis wrote:
> >
> > Hallo Liste,
> >
> > ich versuche nun schon seit einigen Tagen für einen Freund eine ISDN
> > Karte incl. einer t-online Einwahl zum laufen zu bekommen.
> > Es haut einfach nicht hin :-(
> > Mittlerweile sehe ich den Wald vor lauter Bäumen nicht mehr ...
> > Gegoogelt habe ich auch schon, das Problem ist auch häufiger
> > vorgekommen, Leider hat keine der angegebenen Lösungsvorschläge hier funktioniert
> > oder ich kapiere es nicht.
> > Von daher schliesse ich ein grundsätzliches Verständnisproblem nicht
> > aus.
> >
> > Sehe ich es richtig das folgendes für eine korrekte ISDN Verbindung
> > gegeben sein muss:
> >
> > - Hardware :-)
> > - laufender isdnd
> > - ppp(Userland) zum einwählen
>
> Wenn du über Useland ppp gehen willst, dann ja.

Ich denke das es der "gängige" Weg ist.
Wenn ich den isdnd abschalte und dann das ppp starte kommen die gleichen
Meldungen im ppp.log File wie mir eingeschalteten isdnd.

 
> > Feb 3 18:13:30 hel ppp[348]: Phase: Using interface: tun0
> > Feb 3 18:13:30 hel ppp[348]: Phase: deflink: Created in closed state
> > Feb 3 18:13:30 hel ppp[348]: Phase: PPP Started (interactive mode).
> > Feb 3 18:13:36 hel ppp[348]: tun0: Command: t-online: ident user-ppp VERSION (built COMPILATIONDATE)
> > Feb 3 18:13:36 hel ppp[348]: tun0: Command: t-online: set device /dev/i4brbch0 /dev/i4brbch1
> > Feb 3 18:13:36 hel ppp[348]: tun0: Command: t-online: set cd 10
> > Feb 3 18:13:36 hel ppp[348]: tun0: Command: t-online: set login
> > Feb 3 18:13:36 hel ppp[348]: tun0: Command: t-online: set speed sync
> > Feb 3 18:13:36 hel ppp[348]: tun0: Command: t-online: set timeout 180
> > Feb 3 18:13:36 hel ppp[348]: tun0: Command: t-online: enable dns
> > Feb 3 18:13:36 hel ppp[348]: tun0: Phase: bundle: Establish
> > Feb 3 18:13:36 hel ppp[348]: tun0: Phase: deflink: closed -> opening
> > Feb 3 18:13:36 hel ppp[348]: tun0: Phase: deflink: Connected!
> > Feb 3 18:13:36 hel ppp[348]: tun0: Phase: deflink: opening -> dial
> > Feb 3 18:13:36 hel ppp[348]: tun0: Chat: deflink: Dial attempt 1 of 1
> > Feb 3 18:13:36 hel ppp[348]: tun0: Phase: deflink: dial -> carrier
> > Feb 3 18:13:46 hel ppp[348]: tun0: Phase: deflink: /dev/i4brbch0: No carrier (increase ``set cd'' from 10 ?)
>
> Das ist schlecht.
> Deutet auf einen ISDN Fehler oder eine falsche Telefonnummer hin.
> Führende 0 für eine Telefonanlage vergessen?

Das waer leider nicht. Das ISDN Kabel geht vom PC direkt in den NTBA.
Bei der Verbindung braucht man meines wissens nur die "original" Nummer.

> > --------------------
> > ----- isdnd.rc -----
> > --------------------
> [...]
>
> > Auch ein start des isdnd mit dem Parameter -d0xf9 -f hat nicht
> > geholfen.
>
> Das heist es wurde nichts gelogged, das du als nützlich empfunden hast?

Nein, es war ein leeres Logfile bzw. es stand nur eine art Rahmen drin.
Das File liegt untrer /var/log/ als isdntrace0-datum-uhrzeit

Auszug:

-- NT->TE - unit:0 - frame:000123 - time:04.02 19:09:11.052534 - length:4 ------
Dump:000 02 81 01 0d ....
Q921: SAP=0 (Call Control), C, TEI=64, S-Frame: RR N(R) 6 PF 1

-- NT->TE - unit:0 - frame:000124 - time:04.02 19:09:21.052684 - length:4 ------
Dump:000 02 81 01 0d ....
Q921: SAP=0 (Call Control), C, TEI=64, S-Frame: RR N(R) 6 PF 1

...

> > --------------------
> > ----- ppp.conf -----
> > --------------------
> >
> > t-online:
> > set log Warning Error Alert Phase Chat LCP IPCP CCP tun command
> > ident user-ppp VERSION (built COMPILATIONDATE)
> >
> > # Ensure that "device" references the correct serial port
> > # for your modem. (cuaa0 = COM1, cuaa1 = COM2)
> > #
> > set device /dev/i4brbch0 /dev/i4brbch1
> > set cd 10
> > set login
> > set speed sync
> > # set speed 115200
> > set timeout 180 # 3 minute idle timer (the default)
> > enable dns # request DNS info (for resolv.conf)
> >
> > papchap:
> > #
> > # edit the next three lines and replace the items in caps with
> > # the values which have been assigned by your ISP.
> > #
> >
> > set phone "0191011"
> > set authname "t-online_nummer#0001"
> > set authkey passwort
> >
> > set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
> > add default HISADDR # Add a (sticky) default route
>
> Das ist bestimmt nicht richtig.
> Wenn du den ppp startest, dann gibst du einen Konfigurationssatz an.
> ppp baut dann aus default + name die Daten zusammen.
> D.h. entweder hast du die Daten aus t-online oder aus papchap.
> Dem Log nach hast du t-online gestartet und deshalb keine Telefonnummer
> configuriert.

OK, habe ich geändert. Habe phone authname und authname
in das t-online Label übertragen.
Aber ein "dial t-online" im ppp-Modus kommt zum gleichen Ergebnis.

> Weiterhin solltest du über logging nachdenken.
> Ich habe z.B. folgendes drinstehen:
> set log Phase Chat Connect hdlc LCP IPCP CCP tun command
> Mit den Daten habe ich in /var/log/ppp.log bislang immer alles
> gefunden, wenn mal was nicht geklappt hat.

Ich habe die Einträge welche ich noch nicht hatte mit eingetragen.
Im ppp.log sieht man nicht mehr als vorher.

Es kann nicht mehr wahr sein ... grrrr ....

Wie kann ich, abgesehen von ppp, noch testen ob ich überhaupt rauswählen
kann? Dieses No Carrier läßt mir keine Ruhe.
Ich habe einfach mal bei set phone meine normale Telefonnummer
angegeben, es sollte zumindest klingeln. Klappt auch nicht :-(
Jetzt ist das ISDN-Kabel allerdings voll verlegt (Kabelkanal über mehr
als ein Stockwerk), das kann ich nicht mal ebene tauschen.

Hasst Du noch den einen oder anderen Vorschlag?

Andreas -
            der das einrichten von DSL irgendwie einfacher fand ...

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Tue 04 Feb 2003 - 19:22:22 CET

search this site