"Darrick Hartman (lists)" <[EMAIL PROTECTED]> wrote: Dominko Vrljic wrote:
> 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.
I just went through the pppoe-start script. Both of those lines are
necessary for sanity. Basically what is happening is the timeout value
is being reached before the connection is established. The connection
timeout is 30 seconds.
If you need a delay at boot time, edit rc.conf and set the WANDELAY
setting. This will cause the system to wait XX number of seconds before
attempting to start the wan interface (including PPPOE).
Darrick
--
Routers, including openwrt are able to establish PPPoE session no mater when
adsl modem is switch on.
But in case of astlinux you have to carefully switch on both devices at the
same time.
IMHO current version of pppoe-start is suitable for devices with user
intervention like PC, not for routers and embedded devices.
Dominko
---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.-------------------------------------------------------------------------
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]