Archiv verlassen und diese Seite im Standarddesign anzeigen : DSL und RedHat 7.3
moin!
ich habe da ein kleines problem mit meiner tdsl anbindung. und zwar stirbt sie des öfteren,
ich kann aber keinen grund dafür ausmachen. auch ein wiederholtes einwählen per
adsl-start ist nicht möglich. adsl-status liefert die meldung, ppp0 sei down und nicht an ein
device gebunden (eth0 ist ok). da hilft (meines wissens) nur ein neustart.
mit suse8 gab es solche probleme nicht, kann also kein providerproblem sein.
da hilft (meines wissens) nur ein neustart.
Ein Neustart ist bei Linux selten eine gute Idee und noch seltener notwendig.
Was wird geloggt?
Warum läßt sich adsl-start nicht wieder aufrufen?
Hast Du die original Fehlermeldung parat?
Welche Prozesse (adsl-*, ppp*) laufen nach dem Abbruch noch?
Welche ppp* und adsl* PID Dateien sind nach dem Abbruch in /var/run?
Was meldet "ifconfig -a" nach dem Abbruch?
Wie sieht Deine ifcfg-ppp0 aus?
da ich ein linuxnoob bin, kann ich dir das leider nicht sagen, ich weiss ja
nicht mal, wo ich die logs finde *g*.
aber ich werd mich nach dem nächsten "vorfall" mal danach umsehen.
danke schonmal
btw: adsl-start lässt sich ja noch aufrufen, bewirkt nur nichts mehr.
meine ifcfg-pp0 sieht so aus:
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
USERCTL='yes'
BOOTPROTO='dialup'
DEVICE='ppp0'
TYPE='xDSL'
ONBOOT='no'
PIDFILE=/var/run/pppoe-adsl.pid
FIREWALL=NONE
PING=.
PPPOE_TIMEOUT=20
LCP_FAILURE=3
LCP_INTERVAL=20
CLAMPMSS=1412
CONNECT_POLL=6
CONNECT_TIMEOUT=60
SYNCHRONOUS='no'
DEFROUTE='yes'
PERSIST='no'
ETH='eth0'
PROVIDER='T-Online'
USER='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0001@t-online.de'
PEERDNS='yes'
Original geschrieben von Belkira
Welche Prozesse (adsl-*, ppp*) laufen nach dem Abbruch noch?
Welche ppp* und adsl* PID Dateien sind nach dem Abbruch in /var/run?
wie stelle ich fest, welche prozesse noch laufen?
ich meine, dass adsl-status meldet, dass ihm eine PID in /var/run fehlt, wenn die verbindung gestorben ist.
Ich kann so ein Problem unter Red Hat Linux 7.3 nicht reproduzieren und bräuchte Details, um es verstehen zu können.
Logs findest Du in /var/log. Interessant wären in diesem Fall ppp/pppoe Log Daten aus /var/log/messages.
Laufende Prozesse Anzeigen, da gibt es mehrere Wege. Interessant wäre, was nach so einem Abbruch von ps auxw | grep ppp und ps auxw | grep adsl gefunden wird.
Ebenso, ls -la /var/run nach dem Abbruch.
ifconfig -a solltest Du als root in einer Text- oder X-Konsole aufrufen können und das Ergebnis hier reinstellen.
Deine zitierte ifcfg-ppp0 ist nicht vollständig. Da hast Du den Rest weggelassen.
hier mal ein paar interessante zeilen aus /var/log/messages:
Jul 18 00:55:13 localhost pppoe[1230]: Bad TCP checksum dea4
Jul 18 02:28:40 localhost su(pam_unix)[1787]: session opened for user root by elbosso(uid=500)
Jul 18 02:29:35 localhost su(pam_unix)[1787]: session closed for user root
Jul 18 02:36:56 localhost su(pam_unix)[2119]: session opened for user root by elbosso(uid=500)
Jul 18 02:37:56 localhost su(pam_unix)[2119]: session closed for user root
Jul 18 04:46:18 localhost pppd[1229]: No response to 3 echo-requests
Jul 18 04:46:18 localhost pppd[1229]: Serial link appears to be disconnected.
Jul 18 04:46:21 localhost pppd[1229]: Connection terminated.
Jul 18 04:46:21 localhost pppd[1229]: Connect time 296.8 minutes.
Jul 18 04:46:21 localhost pppd[1229]: Sent 227184028 bytes, received 890720177 bytes.
Jul 18 04:46:21 localhost pppoe[1230]: Session terminated -- received PADT from peer
Jul 18 04:46:21 localhost pppd[1229]: Exit.
Jul 18 04:46:21 localhost /etc/hotplug/net.agent: NET unregister event not supported
Jul 18 04:46:21 localhost adsl-connect: ADSL connection lost; attempting re-connection.
Jul 18 04:46:26 localhost pppd[2618]: pppd 2.4.1 started by root, uid 0
Jul 18 04:46:26 localhost pppd[2618]: Using interface ppp0
Jul 18 04:46:26 localhost pppd[2618]: Connect: ppp0 <--> /dev/pts/0
Jul 18 04:46:26 localhost /etc/hotplug/net.agent: assuming ppp0 is already up
Jul 18 04:46:27 localhost pppoe[2619]: PPP session is 6747
Jul 18 04:46:28 localhost pppd[2618]: local IP address 80.141.94.76
Jul 18 04:46:28 localhost pppd[2618]: remote IP address 217.5.98.146
Jul 18 04:46:28 localhost pppd[2618]: primary DNS address 217.5.99.9
Jul 18 04:46:28 localhost pppd[2618]: secondary DNS address 194.25.2.129
Jul 18 04:58:39 localhost pppoe[2619]: Bad TCP checksum b3f1
Jul 18 05:41:53 localhost pppoe[2619]: Bad TCP checksum 3df2
Jul 18 04:58:39 localhost pppoe[2619]: Bad TCP checksum b3f1
Jul 18 05:41:53 localhost pppoe[2619]: Bad TCP checksum 3df2
Jul 18 05:42:25 localhost pppoe[2619]: Bad TCP checksum 3df2
Jul 18 05:43:31 localhost last message repeated 2 times
Jul 18 07:59:23 localhost pppoe[2619]: Bad TCP checksum 3df2
Jul 18 08:41:25 localhost last message repeated 3 times
Jul 18 11:13:02 localhost pppoe[2619]: send (sendPacket): No buffer space available
Jul 18 11:13:02 localhost pppd[2618]: Modem hangup
Jul 18 11:13:02 localhost pppd[2618]: Connection terminated.
Jul 18 11:13:02 localhost pppd[2618]: Connect time 386.6 minutes.
Jul 18 11:13:02 localhost pppd[2618]: Sent 334253042 bytes, received 1243563161 bytes.
Jul 18 11:13:03 localhost /etc/hotplug/net.agent: NET unregister event not supported
Jul 18 11:13:03 localhost pppd[2618]: Exit.
Jul 18 11:13:03 localhost adsl-connect: ADSL connection lost; attempting re-connection.
Jul 18 11:13:08 localhost pppd[2803]: pppd 2.4.1 started by root, uid 0
Jul 18 11:13:08 localhost pppd[2803]: Using interface ppp0
Jul 18 11:13:08 localhost pppd[2803]: Connect: ppp0 <--> /dev/pts/0
Jul 18 11:13:08 localhost /etc/hotplug/net.agent: assuming ppp0 is already up
Jul 18 11:13:09 localhost pppoe[2804]: PPP session is 2623
Jul 18 11:13:10 localhost pppd[2803]: Remote message: 0030 PSKLN002 0037800874 session limit exceeded
Jul 18 11:13:10 localhost pppd[2803]: PAP authentication failed
Jul 18 11:13:10 localhost pppd[2803]: Connection terminated.
Jul 18 11:13:10 localhost pppoe[2804]: read (asyncReadFromPPP): Input/output error
Jul 18 11:13:10 localhost pppoe[2804]: Sent PADT
Jul 18 11:13:10 localhost pppd[2803]: Exit.
Jul 18 11:13:10 localhost adsl-connect: ADSL connection lost; attempting re-connection.
Jul 18 11:13:10 localhost /etc/hotplug/net.agent: NET unregister event not supported
Jul 18 11:13:15 localhost pppd[2838]: pppd 2.4.1 started by root, uid 0
Jul 18 11:13:15 localhost pppd[2838]: Using interface ppp0
Jul 18 11:13:15 localhost pppd[2838]: Connect: ppp0 <--> /dev/pts/0
Jul 18 11:13:15 localhost /etc/hotplug/net.agent: assuming ppp0 is already up
Jul 18 11:13:15 localhost pppoe[2839]: PPP session is 2629
Jul 18 11:13:16 localhost pppd[2838]: Remote message: 0030 PSKLN002 0037801389 session limit exceeded
Jul 18 11:13:15 localhost pppoe[2839]: PPP session is 2629
Jul 18 11:13:16 localhost pppd[2838]: Remote message: 0030 PSKLN002 0037801389 session limit exceeded
Jul 18 11:13:16 localhost pppd[2838]: PAP authentication failed
Jul 18 11:13:16 localhost pppd[2838]: Connection terminated.
Jul 18 11:13:16 localhost pppoe[2839]: Session terminated -- received PADT from peer
Jul 18 11:13:16 localhost pppd[2838]: Exit.
Jul 18 11:13:16 localhost adsl-connect: ADSL connection lost; attempting re-connection.
Jul 18 11:13:16 localhost /etc/hotplug/net.agent: NET unregister event not supported
Jul 18 11:13:21 localhost pppd[2858]: pppd 2.4.1 started by root, uid 0
Jul 18 11:13:21 localhost pppd[2858]: Using interface ppp0
Jul 18 11:13:21 localhost pppd[2858]: Connect: ppp0 <--> /dev/pts/0
Jul 18 11:13:21 localhost /etc/hotplug/net.agent: assuming ppp0 is already up
Jul 18 11:13:21 localhost pppoe[2859]: PPP session is 2632
Jul 18 11:13:22 localhost pppd[2858]: Remote message: 0030 PSKLN002 0037801960 session limit exceeded
Jul 18 11:13:22 localhost pppd[2858]: PAP authentication failed
Jul 18 11:13:22 localhost pppoe[2859]: Session terminated -- received PADT from peer
Jul 18 11:13:22 localhost pppd[2858]: Modem hangup
Jul 18 11:13:22 localhost pppd[2858]: Connection terminated.
Jul 18 11:13:22 localhost pppd[2858]: Exit.
Jul 18 11:13:22 localhost adsl-connect: ADSL connection lost; attempting re-connection.
Jul 18 11:13:22 localhost /etc/hotplug/net.agent: NET unregister event not supported
Jul 18 11:13:27 localhost pppd[2878]: pppd 2.4.1 started by root, uid 0
Jul 18 11:13:27 localhost pppd[2878]: Using interface ppp0
Jul 18 11:13:27 localhost pppd[2878]: Connect: ppp0 <--> /dev/pts/0
Jul 18 11:13:27 localhost /etc/hotplug/net.agent: assuming ppp0 is already up
Jul 18 11:13:28 localhost pppoe[2879]: PPP session is 2637
Jul 18 11:13:29 localhost pppd[2878]: Remote message: 0030 PSKLN002 0037802533 session limit exceeded
Jul 18 11:13:29 localhost pppd[2878]: PAP authentication failed
Jul 18 11:13:29 localhost pppd[2878]: Connection terminated.
Jul 18 11:13:29 localhost pppoe[2879]: read (asyncReadFromPPP): Input/output error
Jul 18 11:13:29 localhost pppoe[2879]: Sent PADT
Jul 18 11:13:29 localhost pppd[2878]: Exit.
Jul 18 11:13:29 localhost adsl-connect: ADSL connection lost; attempting re-connection.
usw...
vllt findest du da was. die ifcfg-ppp0 hab ich vervollständigt.
da "session limit exceeded" weist ja auf die t-offline zwangstrennung hin aber das passt zeitlich nicht.
reproduzierbar/provozierbarist das leider auch nicht, es kam mir mal so vor, als ob die verbindung
einfach mitstirbt, wenn ich mldonkey beende, es kommt aber auch vor, wenn ich einfach nur
surfe oder irc'e.
Jul 18 04:46:18 localhost pppd[1229]: No response to 3 echo-requests
Jul 18 04:46:18 localhost pppd[1229]: Serial link appears to be disconnected.
Jul 18 04:46:21 localhost pppoe[1230]: Session terminated -- received PADT from
Das ist ein Peer-seitiger Abbruch, z.B. Zwangstrennung oder Störung.
Jul 18 04:46:21 localhost adsl-connect: ADSL connection lost; attempting re-connection.
Hier versucht adsl-connect aber erwartungsgemäß automatisch einen neuen Verbindungsaufbau.
Jul 18 11:13:03 localhost adsl-connect: ADSL connection lost; attempting re-connection.
Hier ebenfalls.
Jul 18 11:13:10 localhost pppd[2803]: Remote message: 0030 PSKLN002 0037800874 session limit exceeded
Unterbindung von Mehrfacheinwahl durch den Remote Access Server. Deine alte Verbindung war auf Peer-Seite noch nicht ausgetragen, weil kein ordnungsgemäßer Verbindungsabbau stattgefunden hat. Ursache für sowas sind in der Regel Störungen.
Jul 18 11:13:10 localhost adsl-connect: ADSL connection lost; attempting re-connection.
adsl-connect bleibt hartnäckig und versucht es weiter.
Jul 18 11:13:16 localhost adsl-connect: ADSL connection lost; attempting re-connection.
Und wieder.
Jul 18 11:13:22 localhost adsl-connect: ADSL connection lost; attempting re-connection.
Und wieder.
Jul 18 11:13:29 localhost adsl-connect: ADSL connection lost; attempting re-connection.
Und wieder, offenbar circa alle 6 Sekunden.
Wo siehst Du einen Abbruch von adsl-start bzw. adsl-connect? Ich sehe keinen. Kein Wunder, wenn Du dann adsl-start nicht neu starten kannst, weil es im Hintergrund noch läuft.
Du kannst bei solchen Fällen allenfalls ein adsl-stop (bzw. ifdown ppp0) probieren und 5-15 Minuten warten, bis T-Online Dich wieder reinläßt.
danke dir, dann nochmal 2 fragen:
wie bringe ich ihn dazu, nicht alle 6 sec. zu hämmern? (connection poll in der ifcfg-ppp0?)
wenn ich connect_timeout auf 0 setze beendet er die verbindung nicht mehr?
Das kannst Du nicht per ifcfg-ppp0 ändern, sondern müßtest am Ende von adsl-connect den "sleep"-Wert von 5 Sekunden abändern.
Aber versuch mal andere Einstellungen und Time-Out Werte:
PPPOE_TIMEOUT=40
LCP_FAILURE=10
LCP_INTERVAL=10
CLAMPMSS=1412
CONNECT_POLL=2
CONNECT_TIMEOUT=40
ich habs mal so geändert. ich werds beobachten und mich dann nochmal melden ;-)
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.