Hello I've studied this problem for a long time and tried to solve it as clean as possible. The only thing that I've found out is that the problem besides in kernel 2.2.x and not in ppp. Try to use ppp on a 2.0.x kernel and you'll not have any problems... On a 2.0.x kernel the termination of pppd process causes the deleting of the coresponding interface. This is not happening on 2.2.x kernels and you have to manage manually the interfaces. Finally the only valid solution found and which I use now is to check in a way the interface and to delete it, from ip-up.local or crontab if it has no process on it. Sergio ----------------------------------------------------------------------------- On Thu, 6 Jan 2000, Rajiv Ghai wrote: > I am also using ppp-2.3.11 and find that routes keep appearing and > disappearing. The only reference I have found is that if you run routed > then there is a time-out of some 3-4 minutes after the link is down after > which the routes are deleted. > I think the issue of routing is not covered well in the ppp-HowTo and the > man pages and I wonder if someone can point us in the right direction as to > how pppd handles routing and especially what is the default activity of > pppd when it comes to adding and deleting routes. I have seen one person on > this list recommending that always add and delete routes yourself and dont > take pppd for granted. Is that the recommended practice ? > Regards > Rajiv > At 09:44 PM 1/6/00 +1000, you wrote: > > > >Hi, > > > >I'm experiencing a strange problem using pppd on a dialin linux box > >(Mandrake 6.1, Kernel 2.2.13-22mdk, Mgetty 1.1.14-9mdk and ppp-2.3.11) > > > >I recompiled pppd fresh from the distribution tarball, and enabled PAM > >support - everything else was left at Linux defaults. > > > >It seems that when pppd terminates, it is leaving the interface active > >(sometimes but not every time). > > > >pppd itself does seem to by terminating ok. > > > >Here is some output from route/ifconfig: > > > >203.xx.xx.101 * 255.255.255.255 UH 0 0 0 ppp2 > >203.xx.xx.101 * 255.255.255.255.UH 0 0 0 ppp3 > > > > > >ppp2 Link encap:Point-to-Point Protocol > > inet addr:203.xx.xx.1 P-t-P:203.xx.xx.101 Mask:255.255.255.255 > > UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 > > RX packets:194 errors:1 dropped:0 overruns:0 frame:1 > > TX packets:14 errors:0 dropped:0 overruns:0 carrier:0 > > collisions:0 txqueuelen:10 > > > >ppp3 Link encap:Point-to-Point Protocol > > inet addr:203.xx.xx.1 P-t-P:203.xx.xx.101 Mask:255.255.255.255 > > UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 > > RX packets:12510 errors:0 dropped:0 overruns:0 frame:0 > > TX packets:13558 errors:0 dropped:0 overruns:0 carrier:0 > > collisions:0 txqueuelen:10 > > > > > >Does anyone have any ideas? > > > >I've tried going back to pppd 2.3.8 and the problem still occurs. > > > >Is this a kernel bug? It seems unlikely as I'm using 2.2.13-22mdk which > >is meant to be stable. > > > >Could it be a bug on the 2.2.13-22 kernel? > > > >I'm yet to try 2.2.14 but I have my doubts that it is kernel related? > > > >Cheers, > > > >Matt > >=) > > > > > > > > > > > > > >- > >To unsubscribe from this list: send the line "unsubscribe linux-ppp" in > >the body of a message to [EMAIL PROTECTED] > > > > > > - > To unsubscribe from this list: send the line "unsubscribe linux-ppp" in > the body of a message to [EMAIL PROTECTED] > - To unsubscribe from this list: send the line "unsubscribe linux-ppp" in the body of a message to [EMAIL PROTECTED]
