Re: ISDN die zweite

From: Barbara Maren Winkler <barbara(at)math.tu-berlin.de>
Date: Tue, 24 Oct 2000 11:48:21 +0200 (CEST)

Hallo,

> das ISDN Problem lag tats_chlich daran, dass es 0x300 heissen musste,
> danke.
> Nachdem ISDN jetzt l_uft habe ich versucht, meinen Rechner nach der Doku
> auf FreeBSD.org & der Doku f_r isdn4bsd f_r den Zugang via T-Online zu
> konfigurieren.
> wenn ich aber einen ping zu einer externen IP-Adresse mache, dann kriege
> ich nur ein "ping: sendto: No route to host".

Ich bin zwar der <Ironie on> absolute FreeBSD-Guru <Ironie off> (huestel)...
aber sowas habe ich neulich gemacht. Aber anders. Und bei mir laeufts
jetzt.

Schau mal in /etc/rc.network. Bei mir steht da drin ein Aufruf von spppcontrol:
. for ifn in ${sppp_interfaces}; do
. eval spppcontrol_args=\$spppconfig_${ifn}
. if [ -n "${spppcontrol_args}" ] ; then
. # The auth secrets might contain spaces; in order
. # to retain the quotation, we need to eval them
. # here.
. eval spppcontrol ${ifn} ${spppcontrol_args}
. fi
. done

Du schreibst:
> meine rc.conf sieht so aus:
>
> [...]
> network_interfaces="rl0 isppp0"
> ifconfig_rl0="inet 192.168.1.1 netmask 255.255.255.0"
> ifconfig_isppp0="inet 0.0.0.0 0.0.0.1 link1"
> defaultrouter="0.0.0.1"
> [...]

Deswegen steht bei mir in rc.conf dann noch das, was rc.network
da braucht, naemlich spppconfig_xxx:

sppp_interfaces="isppp0"
spppconfig_isppp0= "myauthproto=pap myauthname=XXXX myauthsecret='XXXX'"

Ich hatte uebrigens Probleme, weil das Password Sonderzeichen enthielt,
die so beim mehrmaligen Durch-Shells-Parsen schliesslich als Shell-
Sonderzeichen interpretiert wurdden. Also zB einen Backslash escapen
(\\).

Immerhin, dann war der Fehler nicht "no route to host" sondern
"pap/chap failure" in /var/log/messages .

>
> meine /etc/rc.local so:
>
> echo -n 'Configuring ISPPP to T-Online:'
> echo -n ' spppcontrol';
> spppcontrol -i isppp0 myauthname="Anmeldename nach T-Online Schema"
> myauthproto=pap \ myauthsecret="mein Passwort"
> echo -n ' up';
> ifconfig isppp0 up
> echo '.'
>

Deswegen entfaellt bei mir der sppp_control-Aufruf in rc.local .
Passiert ja in rc.network.

Mit dem ifconfig ist es genauso. Die Argumente aus rc.conf werden
in rc.network ausgelesen und dann -- nachdem spppcontrol richtig
funktioniert hat -- an ifconfig uebergeben. Also auch kein ifconfig
Aufruf in rc.local.

> isdnd ist gestartet.
> weiterhin habe ich in der /etc/ppp/ppp.conf auch meine T-Online
> Zugangsdaten konfiguriert, ich weiss aber nicht so recht, ob das an
> beiden Stellen sein muss, oder an welcher man darauf verzichten kann.

Ich glaube, in ppp.conf kann man drauf verzichten, aber probiers erstmal
mit Auskommentieren.

> Ich m_chte erreichen, dass bei Bedarf automatisch eine ISDN-Verbindung
> aufgebaut wird.

Wie gesagt, hier gehts damit!

Hope this helps

Barbara Maren

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Tue 24 Oct 2000 - 11:49:17 CEST

search this site