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

From: Bernd Walter <ticso(at)cicely8.cicely.de>
Date: Mon, 3 Feb 2003 19:46:07 +0100

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.

>
> 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?

> --------------------
> ----- 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?

> --------------------
> ----- 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.
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.

> -------------------
> ----- rc.conf -----
> -------------------
>
> isdn_enable="YES"
> isdn_trace="YES"
> isdn_traceflags="-f /var/log/isdntrace0"
> ppp_nat="YES"
> ppp_profile="t-online"

Nur eine Bestätigung für t-online als Konfigurationssatz.

-- 
B.Walter              COSMO-Project         http://www.cosmo-project.de
ticso(at)cicely.de         Usergroup           info(at)cosmo-project.de
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Mon 03 Feb 2003 - 19:46:25 CET

search this site