Read on full site | Join TechSpot! (it's free) | Bookmark / Share this



Mandriva 2006: autoreconnection of ADSL link via pppoe won't work

fgaliegue
02-12-2006, 04:18 PM
OK, I have a very strange problem which I've been trying to solve for a few days but just couldn't, so maybe you could help me on this one...

I have an ECI Ethernet modem, configured my ADSL connection using drakconf, all is OK, it does connect, but on failure it will not reconnect - and I really don't understand what's going on.

The logs show:


Jan 23 10:48:53 phenix pppd[31408]: pppd 2.4.3 started by root, uid 0
Jan 23 10:48:53 phenix pppd[31408]: Using interface ppp0
Jan 23 10:48:53 phenix pppd[31408]: Connect: ppp0 <--> /dev/pts/1
Jan 23 10:49:24 phenix pppd[31408]: LCP: timeout sending Config-Requests
Jan 23 10:49:24 phenix pppd[31408]: Connection terminated.
Jan 23 10:49:24 phenix pppd[31408]: Using interface ppp0
Jan 23 10:49:24 phenix pppd[31408]: Connect: ppp0 <--> /dev/pts/2
Jan 23 10:49:28 phenix pppoe[31443]: Timeout waiting for PADO packets
Jan 23 10:49:30 phenix pppoe[31451]: PPP session is 5281
Jan 23 10:49:30 phenix pppd[31408]: Connection terminated.
Jan 23 10:49:30 phenix pppd[31408]: tcflush failed: Bad file descriptor
Jan 23 10:49:30 phenix pppd[31408]: Using interface ppp0
Jan 23 10:49:30 phenix pppd[31408]: Connect: ppp0 <--> /dev/pts/3
Jan 23 10:49:40 phenix pppd[31408]: Connection terminated.
Jan 23 10:49:40 phenix pppd[31408]: tcflush failed: Bad file descriptor


And it goes on and on and on... What's more, all spawned pppoe processes take some time to disappear, and the original one never gets killed. Stranger yet, they run in their own session, unlike the first one, which is a child of pppd - as expected. That's this tcflush error which mostly puzzles me. Never seen that before.

I changed one thing in /etc/ppp/peers/ppp0, add a -D option to pppoe in order to see what happens. But for now I don't have the faintest idea.

Noteworthy is that autoreconnection DOES work with Mandrake 10.1... And the /etc/ppp/peers/ppp0 file is quite different as well. Right now I'm into figuring out if any of the added options in 2006 can trigger this.

fgaliegue
02-12-2006, 05:55 PM
Well, by googling through newsgroups I saw that at least one guy had this problem when upgrading from ppp 2.4.1 to ppp 2.4.3. As I had no problems with the ppp 2.4.2 packages from Mandrake 10.1 I just downloaded them and downgraded to this version.

Now I have to wait until the next connection cutoff from my ISP and see what happens...

Ad
02-12-2006, 05:55 PM
  

fgaliegue
02-12-2006, 06:03 PM
Well, I forced a disconnect (I just unplugged the cable...) And IT WORKS!

Problem solved.

Post a reply, see related topics & more

Tip: Download Advanced SystemCare 3 Free - Clean, Repair, Protect & Optimize your PC.



 Top Technology News

TechSpot Blog: Disable Windows automatic check for solutions after a program crashes

Weekend Open Forum: Google Chrome OS and the future of cloud computing

Tech Tip of the Week: Unearth Region-Specific Windows 7 Themes

Weekend tech reading: How to run Chrome OS as a virtual machine

Sony: PlayStation 3 to be 3D-capable via firmware update

iSuppli: DDR3 to account for over half of DRAM shipments by Q2 2010

Facebook named third most popular video website behind YouTube and Hulu

Patriot introduces new PS-100 SSD series

More Tech News

  
 Software Downloads

Norton Virus Definitions 2003-07 November 20, 2009

AVG Anti-Virus Updates November 20, 2009

Norton Virus Definitions 2008-09 November 20, 2009

avast! Virus Definitions November 20, 2009

McAfee SuperDAT Update 5808

Kaspersky Anti-Virus Update November 20, 2009

Google SketchUp 7.1.6087

More Downloads



Copyright © 1998-2009 TechSpot.com. TechSpot is a registered trademark. All Rights Reserved.