Dominko Vrljic wrote: > > Guy, > > I have several astlinux box in production with pppoe. This is > changes I > > made in version 0.4.8: > > In file /usr/sbin/pppoe-status replace line 64 with > > for i in /var/run/ppp*.pid ; do > > > > In file file /usr/sbin/pppoe-start include > > CONFIG1=$CONFIG > > before line "export CONFIG" (line 120) > > and replace line 167 + 1 with > > /usr/sbin/pppoe-status $CONFIG1 > /dev/null 2>&1 > > > > Also, in crontab I add line > > */7 * * * * /usr/sbin/pppoe-start > > If adsl modem was turn off when astlinux boot, pppoe never goes > up when > > adsl modem turn on. This is reason for line in crontab. > > It would make a whole lot more sense to write a script that checks if > the pppoe connection is up, then issue a start (or restart) if it's > down. > > > Darrick, > script pppoe-connect checks pppoe connection and new script is not if > necessary. But script pppoe-start terminate pppoe-connect if first > attempt does not succeed. > I comment out lines 191 and 194 in file pppoe-start: > #kill $CONNECT_PID > /dev/null 2>&1 > #rm -f "$PIDFILE" "$PIDFILE.pppd" "$PIDFILE.pppoe" "$PIDFILE.start" > Finally pppoe works well in Astlinux. > Hope Kris add this changes in trunk. > > Regards, > Dominko
I'll look at the script, but what's in there now works fine for the PPPoE installs that I monitor. -- Darrick Hartman DJH Solutions, LLC http://www.djhsolutions.com ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Astlinux-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [EMAIL PROTECTED]
