Re: Wie vermeide ich ADSL-Verbindung timout?
Vasyl Kenyuk <[email protected]>
| Newsgroups | gmane.linux.redhat.general.german |
|---|---|
| Message-ID | <[email protected]> |
Michael Schwendt wrote: > On Wed, 03 Nov 2004 19:54:22 +0100, Vasyl Kenyuk wrote: > > >>Nov 3 00:13:25 localhost pppd[19214]: pppd 2.4.1 started by root, uid 0 >>Nov 3 00:13:25 localhost pppd[19214]: Using interface ppp0 >>Nov 3 00:13:25 localhost pppd[19214]: Connect: ppp0 <--> /dev/pts/0 >>Nov 3 00:13:25 localhost /etc/hotplug/net.agent: assuming ppp0 is >>already up >>Nov 3 00:13:25 localhost pppoe[19215]: PPP session is 2872 >>Nov 3 00:13:26 localhost pppd[19214]: local IP address >>Nov 3 00:13:26 localhost pppd[19214]: remote IP address >>Nov 3 00:13:26 localhost pppd[19214]: primary DNS address 217.237.150.33 >>Nov 3 00:13:26 localhost pppd[19214]: secondary DNS address 217.237.151.161 >>Nov 3 00:13:46 localhost pppoe[19215]: Inactivity timeout... something >>wicked happened on session 2872 >>Nov 3 00:13:46 localhost pppoe[19215]: Sent PADT >>Nov 3 00:13:46 localhost pppd[19214]: Modem hangup >>Nov 3 00:13:46 localhost pppd[19214]: Connection terminated. > > > Fragen über Fragen: > > Um welches System geht es? Mitgelieferte Software oder selbstcompiliert? > Up-to-date oder veraltet? > > Was steht in /etc/sysconfig/network-scripts/ifcfg-ppp0 und USERCTL=yes BOOTPROTO=dialup NAME=DSLppp0 DEVICE=ppp0 TYPE=xDSL ONBOOT=yes PIDFILE=/var/run/pppoe-adsl.pid FIREWALL=NONE PING=. PPPOE_TIMEOUT=20 LCP_FAILURE=3 LCP_INTERVAL=80 CLAMPMSS=1412 CONNECT_POLL=6 CONNECT_TIMEOUT=60 DEFROUTE=yes SYNCHRONOUS=no ETH=eth0 PROVIDER=DSLppp0 USER=t-online-com/[email protected] PEERDNS=yes > /etc/ppp/options? lock >Hast Du schon versucht, PPPOE_TIMEOUT hochzusetzen? Nein, aber jetzt werde ich jetzt das versuchen. Welcher Wert ist normalerweise einsetztbar? > > Bitte auch die "ifconfig -a ; netstat -nr" Ausgabe _vor_ dem > Verbindungsaufbau posten. Das kann ich im Moment leider nicht, da ich die Maschine remote verwalte. > > Hattest Du pppd (nicht pppoe) mal irgendwie selbst manuell konfiguriert? Das hat ein einderer gemacht und ich habe es nur übernommen. Gut geraten. :-) Das start-up Script für Verbindungaufbau: #! /bin/sh # # adsl Start/Stop T-dsl # # This is an interactive program, we need the current locale # Source function library. . /etc/init.d/functions # Get config. if [ -f /etc/sysconfig/network ] then . /etc/sysconfig/network else echo $"Networking not configured - exiting" exit 1 fi # Check that we're a priviledged user [ `id -u` = 0 ] || exit 0 prog="adsl" # Check that networking is up. if [ "$NETWORKING" = "no" ] then exit 0 fi [ -f /sbin/adsl-start ] || exit 0 [ -f /sbin/adsl-stop ] || exit 0 RETVAL=0 start() { echo -n $"Starting $prog: " /sbin/adsl-start RETVAL=$? echo [ $RETVAL -eq 0 ] return $RETVAL } stop() { echo -n $"Stopping $prog: " /sbin/adsl-stop RETVAL=$? echo [ $RETVAL -eq 0 ] return $RETVAL } restart() { stop start } # See how we were called. case "$1" in start) start ;; stop) stop ;; status) /sbin/adsl-status ;; restart|reload) restart ;; *) echo $"Usage: $0 {start|stop|status|restart|reload}" exit 1 esac exit $? Danke! Gruß, Vasyl