Nov
30
2008

Gentoo, udev and Persistant PPP

Sunday, November 30, 2008 - 02:34:25 pm
(Posted Under: Linux Linux, Gentoo Linux Gentoo Linux)
It's been a rough couple of months since August with internet problems - all kicked off when I tried to get phpUnderControl up and running on my server, requiring a bunch of updates, including a baselayout update, which complete broke pppd being persistant when a connection is dropped.

To add insult to injury, my AG241 started playing up, now the switch side of it refusing to work at anything but 10mb/s.

For weekend after weekend I'd been trying to get a chance to fix it, but things kept coming up, until September when every single weekend became a complete wash. It's been about 2 months side I've even bothered saying "I'll fix my server this weekend".

It's amazing what having a little bit of downtime to diagnose the problem properly will do. I had another look today, and have some success. Initiating pppd manually I noticed /etc/conf/net.ppp0 was causing some problems - and noticed the file contained PERSIST="no", which I'd obviously missed! I guess that the previous version of baselayout ignored this, new one doesn't.

Even with this fixed, starting pppd manually worked nicely, but starting it through /etc/init.d/net.ppp0 start still behaved the same. However, removing /etc/init.d/net.ppp0, making it a symlink to /etc/init.d/net.lo appears to have solved this issue. And actually makes a whole bunch of sense.

Currently my pppd log is getting flooded with "Timeout waiting for PADO packet" messsages, but atleast I've got the modem back in bridge only mode and Gentoo dialing the connection.
Now Playing: The Poppin' Wheelies - Back Again

Post Comment



All fields are required. Email addresses will not be published, but are required for anti-spam purposas.

Switch Styles

About Style Switching.

!Weblog Index

Oct November 2008 Dec
SU MO TU WE TH FR SA
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31

Categories

RSS FeedRSS Feed