Subject: Re: 3.0 pppoe question
To: None <netbsd-users@netbsd.org>
From: Rafael Almeida <almeidaraf@gmail.com>
List: netbsd-users
Date: 08/29/2006 21:15:09
On 8/29/06, J.D. Bronson <jbronson@wixb.com> wrote:
> wm0 comes up...but I do not see any 'activity' on the dsl modem
> nor do I see anything in any logs (nothing at all!).
>
> so I need some troubleshooting tips or pointers.
> do I have quotes wrong or something?
>
> when I type this in at the command line, it accepts it with no
> errors...so I am miffed.
>
> any pointers *will* be appreciated!
>
I think you need to use ifwatchd in order to it to work. This is what
I have on my ip-up and ip-down
21:08 rafael@dib:~$ cat /etc/ppp/ip-up
#!/bin/sh
/sbin/route add default $5
21:09 rafael@dib:~$ cat /etc/ppp/ip-down
#!/bin/sh
/sbin/route delete default $5
If you add ifwatchd=YES on your /etc/rc.conf it should work when you
boot. /etc/rc.d/ifwatchd start should work also, for the case it
wasn't loaded during the boot.