On 09/09/2005, at 5:07 PM, Roger Neth Jr wrote:

Hello List,

I don't know how to have ppp pppoe stay on one tun as it is switching
between tun0 and tun1 on reboots.
andrew# page rc.conf.local



 config de1 up

 ppp -ddial pppoe

you want to use the -unit argument to ppp to bind it to a particular tun device. eg

ppp -ddial -unit0 pppoe

that will cause it to always use tun0.

also, i recommend you use rc.local to start up local programs, not rc.conf.local. or you could do what i do to bring ppp up on boot (hme0 is the device with the adsl modem on it):

$ cat /etc/hostname.hme0
up
$ cat /etc/hostname.tun0
!/usr/sbin/ppp -ddial -unit0 pppoe

Reply via email to