pppoe0 doesn't get ip address - how to reconnect ?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Misc-Openbsd Listserv <misc@...>
Date: Tuesday, July 15, 2008 - 2:52 am

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.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
pppoe0 doesn't get ip address - how to reconnect ?, Xavier Milliès-Lacroix, (Tue Jul 15, 2:52 am)
Re: pppoe0 doesn't get ip address - how to reconnect ?, Henning Brauer, (Tue Jul 15, 6:57 am)
Re: pppoe0 doesn't get ip address - how to reconnect ?, Vadim Zhukov, (Thu Jul 17, 4:20 am)
Re: pppoe0 doesn't get ip address - how to reconnect ?, Xavier Milliès-Lacroix, (Thu Jul 17, 5:12 am)
Re: pppoe0 doesn't get ip address - how to reconnect ?, Xavier Milliès-Lacroix, (Tue Jul 15, 8:08 am)
Re: pppoe0 doesn't get ip address - how to reconnect ?, Henning Brauer, (Tue Jul 15, 8:17 am)
Re: pppoe0 doesn't get ip address - how to reconnect ?, Xavier Milliès-Lacroix, (Tue Jul 15, 11:49 am)
Re: pppoe0 doesn't get ip address - how to reconnect ?, Markus Hennecke, (Tue Jul 15, 8:03 am)
Re: pppoe0 doesn't get ip address - how to reconnect ?, Murilo da Silva Ijanc, (Tue Jul 15, 6:28 am)