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.
Hope this help.
Dominko
Guy Neale <[EMAIL PROTECTED]> wrote: Hi
Tried to configure PPPOE and am having exactly the same problem with my
0.4.8 system, 'times out but still works'. I've tried to figure out the
differences between my system and the changes Kristian made in trunk,
but unfortunately I only know enough Linux/scripting to be dangerous
(learning). Any chance either of you could point me in the right
direction. (That's if there's a quick fix to be made)
Included some info below (should I have a
/var/run/pppoe.conf-adsl.pid.pppd or was this part of Kristian's fix in
trunk)
pbx / # pppoe-status
pppoe-status: Link is down (can't read pppd PID file
/var/run/pppoe.conf-adsl.pid.pppd)
pbx / # find . -name '*ppd*' -print
./usr/sbin/pppd
./usr/sbin/pppdump
./usr/lib/pppd
./var/run/pppd2.tdb
pbx / # find . -name '*pid*' -print
./bin/pidof
./etc/init.d/acpid
./etc/runlevels/default/S24acpid
./proc/sys/kernel/pid_max
./proc/sys/kernel/cad_pid
./proc/sys/kernel/core_uses_pid
./tmp/acpid.socket
./usr/sbin/acpid
./var/log/acpid
./var/run/mini_httpd-http.pid
./var/run/mini_httpd.pid
./var/run/asterisk/asterisk.pid
./var/run/inetd.pid
./var/run/sshd.pid
./var/run/dnsmasq.pid
./var/run/ppp0.pid
Regards Guy
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Kristian Kielhofner
Sent: Wednesday, 21 November 2007 2:42 AM
To: AstLinux Users Mailing List
Subject: Re: [Astlinux-users] PPPoE
On Nov 20, 2007 6:39 AM, Michael Knill
wrote:
> YAY I have PPPoE working.
>
> Thanks Darrick.
>
> PS can anyone please tell me why I get this on bootup even though it
works?
>
> Attempting to bring up PPPoE on eth2
> This could take some time...
> .NET: Registered protocol family 24
> ...............TIMED OUT
>
> Anyway onto OpenVPN and wireless now
>
> Thanks
> Mike
>
Mike,
That is because the adsl-start/pppoe-start script isn't looking in
the right places for the PPPD PID file. It has been corrected in
trunk.
--
Kristian Kielhofner
------------------------------------------------------------------------
-
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
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to
[EMAIL PROTECTED]
-------------------------------------------------------------------------
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
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to [EMAIL
PROTECTED]
---------------------------------
Get easy, one-click access to your favorites. Make Yahoo! your homepage.
-------------------------------------------------------------------------
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
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to [EMAIL
PROTECTED]