The soekris box seems now working. I have to wait several days... I just add in the file : /etc/rc.shutdown ifconfig pppoe0 down
Thanks a lot all for your help. I 'll have a look also for PPOE_TERM_UNKNOWN_SESSIONS Regards. Xavier. 2008/7/17 Vadim Zhukov <[EMAIL PROTECTED]>: > 15 July 2008 c. 14:57:58 Henning Brauer wrote: > > * Xavier Millihs-Lacroix <[EMAIL PROTECTED]> [2008-07-15 > 09:02]: > > > 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. > > > > pppoe automagically reconnects. > > > > many ISPs have some logic to deny you from opening two ppp sessions, > > so by the time your box reboots the old sessions has not yet timed > > out. You can't do all that much but waiting for the old session to > > expire, pppoe will retry all the time. > > Search for PPPOE_TERM_UNKNOWN_SESSIONS kernel option. I have such > provider, and this option helps a lot. > > BTW: Is there any point to translate this knob to interface linkN flag? > > -- > Best wishes, > Vadim Zhukov