On Wed, Nov 02, 2005 at 12:12:36PM +0000, Dulmandakh Sukhbaatar wrote: > I'm new to OBSD, and configured in-kernel pppoe as my internet gateway. > I found out that with userland pppoe automatic reconnect is posible, but > with in-kernel pppoe everytime pppoe connection lost, I need to reboot > the system. I don't know how to manually reconnect the connection. Any > suggestions? Please help.
To make kernel pppoe reconnect I cycle the interface: ifconfig pppoe0 down ifconfig pppoe0 up Outgoing traffic should then still not work because the default route needs to be set anew. I came up with a small daemon that sets a new default route automatically when the IP changes on the pppoe0 interface and posted it to this list, to this day I use this and it works formidable. Someone replied to my post saying you don't need the daemon since another mode in pppoe (-link1 in ifconfig) does this. Whether it does or not I don't know since I never use it. Anyhow, here is the link for your experimentation: http://marc.theaimsgroup.com/?l=openbsd-misc&m=111973574009710&w=2 Regards, -peter