Dominko Vrljic wrote:
> 
> 
> */"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.

I beg to differ.  The version of openwrt under development uses the same 
exact rp-pppoe package that we use to manage the pppoe connection.  Note 
that this is different than the pppd package that they use in the 
Whiterussian releasees.  The pppoe-start script is the un-modified 
script from Roaring Penguin, not a special script for Astlinux.

It would probably be better to use another tool (such as mon) to monitor 
the connection then restart it if it's not up.

Darrick

-- 
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]

Reply via email to