Guy Neale wrote: > Hi Dominko > > Thanks a million, works a treat. Great idea with crontab > > Regards Guy > / / > > /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 Hartman DJH Solutions, LLC http://www.djhsolutions.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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]
