[Bug 211936] New: pppd persist not working
https://bugzilla.novell.com/show_bug.cgi?id=211936 Summary: pppd persist not working Product: SUSE Linux 10.1 Version: Final Platform: x86 OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jengelh@gmx.de QAContact: qa@suse.de I added PPPD_OPTIONS='persist' to /etc/sysconfig/network/ifcfg-dsl0 and restarted smpppd and dsl0, `ps afx` shows correctly /usr/sbin/pppd persist logfd 7 call pppoe eth0 mtu 1492 mru 1492 ipcp-accept-local ipcp-accept-remote idle 0 defaultroute replacedefaultroute nodetach usepeerdns ifname dsl0 ipparam 'ifcfg-dsl0' 'provider0' user XYZhere passwordfd 8 but the connection is not re-established when the ISP terminates it. What could be wrong? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211936 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |jg@novell.com |screening@forge.provo.novell| |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211936 jg@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jg@novell.com, kkeil@novell.com AssignedTo|jg@novell.com |hvogel@novell.com ------- Comment #1 from jg@novell.com 2006-10-16 02:49 MST ------- Sorry, I have no clue of pppd. Henne? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211936 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aj@novell.com ------- Comment #2 from aj@novell.com 2006-10-30 11:07 MST ------- I have the same problem here. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211936 ------- Comment #3 from jengelh@gmx.de 2006-10-30 11:43 MST ------- If you cannot get any ppp working, try bisecting towards the ppp from SUSE 9.3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211936 hvogel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #4 from hvogel@novell.com 2006-10-30 11:47 MST ------- logs people. /var/log/messages -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211936 ------- Comment #5 from hvogel@novell.com 2006-10-30 12:50 MST ------- and turn on debugging in /etc/ppp/options please -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211936 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |jengelh@gmx.de -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211936 ------- Comment #6 from jengelh@gmx.de 2006-10-30 23:24 MST ------- I just switched to debug, so may take a while before a non-interactive hangup occurs. /var/log/messages so far, without "debug": Oct 31 04:23:51 alphagate pppd[2044]: No response to 4 echo-requests Oct 31 04:23:51 alphagate pppd[2044]: Serial link appears to be disconnected. Oct 31 04:23:51 alphagate pppd[2044]: Connect time 343.4 minutes. Oct 31 04:23:51 alphagate pppd[2044]: Sent 1040900 bytes, received 2251575 bytes. Oct 31 04:23:52 alphagate pppd[2044]: Couldn't increase MTU to 1500 Oct 31 04:23:52 alphagate pppd[2044]: Couldn't increase MRU to 1500 Oct 31 04:23:56 alphagate pppd[2044]: Connection terminated. Oct 31 04:23:56 alphagate pppd[2044]: Modem hangup Oct 31 04:23:56 alphagate modify_resolvconf: Service pppd tried to modify resolver configuration, but it Oct 31 04:23:56 alphagate modify_resolvconf: was not modified due to MODIFY_RESOLV\NAMED_CONF_DYNAMICALLY=no Oct 31 04:23:57 alphagate pppd[2044]: Script /etc/ppp/ip-down finished (pid 4764), status = 0x0 Oct 31 04:23:59 alphagate ifdown: dsl0 Oct 31 04:24:01 alphagate pppd[2044]: Terminating on signal 15 Oct 31 04:24:01 alphagate pppd[2044]: Exit. Oct 31 04:24:02 alphagate ifdown-ppp: interface dsl0 is down -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211936 hvogel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zoz@novell.com Status|NEEDINFO |ASSIGNED Info Provider|jengelh@gmx.de | ------- Comment #7 from hvogel@novell.com 2006-10-31 04:31 MST ------- is that bug #64924 again? zoz? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211936 ------- Comment #8 from jengelh@gmx.de 2006-10-31 04:36 MST ------- Seems like it. I'll add the AUTO_* lines again to ifcfg-dsl0 and see what happens. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211936 zoz@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |jengelh@gmx.de ------- Comment #9 from zoz@novell.com 2006-10-31 07:59 MST ------- Please enable udev debugging, too. Call udevcontrol log_priority=6 or set /etc/udev/udev.conf:udev_log="info" to enable it permanently. It seems that 'dsl' is missing in the list of skipped interface names in /etc/udev/rules.d/31-network.rules. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211936
jengelh@gmx.de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |ASSIGNED
Info Provider|jengelh@gmx.de |
------- Comment #10 from jengelh@gmx.de 2006-11-01 15:49 MST -------
The AUTO_ lines make smpppd restart pppd after it has terminated. (Good for me)
Debugging (except udev) is on, and prints this to /var/log/messages:
Nov 1 20:06:04 alphagate pppd[3805]: Plugin rp-pppoe.so loaded.
Nov 1 20:06:04 alphagate pppd[3805]: RP-PPPoE plugin version 3.3 compiled
against pppd 2.4.3
Nov 1 20:06:04 alphagate pppd[3805]: Plugin passwordfd.so loaded.
Nov 1 20:06:04 alphagate pppd[3805]: pppd 2.4.3 started by root, uid 0
Nov 1 20:06:09 alphagate ifdown-ppp: failed to bring interface dsl0 down
Nov 1 20:06:39 alphagate pppd[3805]: Timeout waiting for PADO packets
Nov 1 20:06:39 alphagate pppd[3805]: Unable to complete PPPoE Discovery
Nov 1 20:07:44 alphagate pppd[3805]: Timeout waiting for PADO packets
Nov 1 20:07:44 alphagate pppd[3805]: Unable to complete PPPoE Discovery
Nov 1 20:08:14 alphagate pppd[3805]: PADS: Service-Name: ''
Nov 1 20:08:14 alphagate pppd[3805]: PPP session is 3607
Nov 1 20:08:14 alphagate pppd[3805]: using channel 6
Nov 1 20:08:14 alphagate pppd[3805]: Renamed interface ppp0 to dsl0
Nov 1 20:08:14 alphagate pppd[3805]: Using interface dsl0
Nov 1 20:08:14 alphagate pppd[3805]: Connect: dsl0 <--> eth0
Nov 1 20:08:14 alphagate pppd[3805]: Couldn't increase MTU to 1500
Nov 1 20:08:14 alphagate pppd[3805]: Couldn't increase MRU to 1500
Nov 1 20:08:14 alphagate pppd[3805]: sent [LCP ConfReq id=0x1
https://bugzilla.novell.com/show_bug.cgi?id=211936 ------- Comment #11 from hvogel@novell.com 2006-11-02 07:14 MST ------- jan did you try adding dsl* to /etc/udev/rules.d/31-network.rules ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211936 ------- Comment #12 from jengelh@gmx.de 2006-11-02 07:30 MST ------- And what will happen then? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211936 ------- Comment #13 from hvogel@novell.com 2006-11-02 07:34 MST ------- no one sends an TERM to pppd on exit anymore hopefully... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211936 ------- Comment #14 from jengelh@gmx.de 2006-11-02 07:39 MST ------- Hm. I removed the AUTO_* lines, and added dsl* like you said. Now pppd does not terminate, and persist works too (i.e. the PID in /var/log/messages does not change). Though, there is a 30 second delay between Modem hangup and pppd restart. Where do I change that? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211936 hvogel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|hvogel@novell.com |zoz@novell.com Status|ASSIGNED |NEW ------- Comment #15 from hvogel@novell.com 2006-11-02 07:47 MST ------- holdoff in /etc/ppp/options should do the trick. there you go christian :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211936 zoz@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #16 from zoz@novell.com 2006-11-02 08:25 MST ------- Added "dsl*" to the list of skipped interfaces. Bug 64924 fixed that in package hotplug. Now we use udev. I imported this list from hotplug to the udev rules with bug 157936. But it seems something got lost then. Fix will be in beta 2. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211936 ------- Comment #17 from jengelh@gmx.de 2006-11-02 08:29 MST ------- There is no "holdoff" in /etc/ppp/options to begin with. Is it ok to add it? (pppd might error out and not start at all - and I am not always on-site.) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211936 ------- Comment #18 from zoz@novell.com 2007-01-12 09:08 MST ------- Added this fix also to SLE10-SP1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211936 behlert@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com