Subject: Re: problems getting pppoe to reconnect after a disconnection
To: Reagan Penner <rpenner@cs.usask.ca>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 02/09/2004 23:46:36
On Mon, Feb 09, 2004 at 04:22:45PM -0600, Reagan Penner wrote:
> I am having trouble with my pppoe0 connection. I have followed the
> instructions that I found at
> "http://www.netbsd.org/Documentation/network/pppoe/". However, my adsl
> provider loves to change my IP address and when this happens my
> connection obviously goes down but the problem is it won't come back up.
> If have followed the section on "Setup a line that is always connected"
> but when I get disconnected my machine will not reconnect. If I poke the
> machine everything comes back up properly.

My ISP does this too (well, I have a static IP, but this shouldn't change the
problem: I get disconnected every 24 hours, and my box reconnect
automatically)
Here is my /etc/ifconfig.pppoe0:
chassiron#/home/bouyer>cat /etc/ifconfig.pppoe0 
create
-link1
!pppoectl -e le1 pppoe0
!sleep 1
!pppoectl pppoe0 myauthproto=chap myauthname=<mylogin> myauthsecret=<mypasswd> hisauthproto=none max-auth-failure=0
0.0.0.0 0.0.0.1 up

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--