Hi Xavier, Look at this file: ppp.linkdown.sample it will be in /etc/ppp/
2008/7/15 Xavier Millihs-Lacroix <[EMAIL PROTECTED]>: > Sometimes when I boot a soekris box (net5501) - OpenBSD 4.3, I didn't get > each times an ip address for the pppoe0 link. > This is a problem as I can connect to this box only remotely. > I didn't find on the documentation how to reconnect automatically if the > link goes down. > > Any ideas ? > > Xavier. > > > Here is my configuration : > > /etc/sysctl.conf file : > > net.inet.ip.forwarding=1 > net.inet6.ip6.forwarding=1 > > /etc/rc.conf.local file : > > named_flags="" # nameserver > > ntpd_flags="" # timeserver > > dhcpd_flags="" # DHCP server > > ftpproxy_flags="" # ftp proxy server > > pf=YES > > pf_rules=/etc/pf.conf > > check_quotas=NO # desactivate quotas > > /etc/resolv.conf file : > > lookup file bind > > nameserver 127.0.0.1 > > */etc/hostname.pppoe0 file file :* > > inet 0.0.0.0 255.255.255.255 0.0.0.1 pppoedev vr0 \ > > authproto pap authname my_USER authkey my_PASSWORD up > > !/sbin/route add default 0.0.0.1 > > */etc/hostname.**vr0 file :* > > up > > * > * > > */etc/hostname.**vr1 file :* > > inet 10.0.0.1 255.255.255.0 NONE > > I don't have /etc/mygate file. > I don't have /var/named/named.boot file > I use pf. > > -- --------------------------------------------------------- Murilo da Silva Ijanc' (MuriloBSD) SILC: silc.br.dotbsd.org Canal: dotbsd E-mail: [EMAIL PROTECTED] End.: http://murilo.dotbsd.org