On Sat, Jun 25, 2005 at 11:34:51PM +0200, Peter Philipp wrote: > Please forgive me if I missed something about the kernel pppoe but my initial > tests with the program were positive. However I noticed that when my ISP > disconnects the connection, it reauthenticates with a new IP and the default > route has to be set anew for the outgoing IP's to change. One can write a > few dirty scripts to do this with crontab or you can try out my new program > that I wrote just for this purpose. [snip]
Or you can add the link1 flag to your hostname.pppoe0... my (working) config for kernel pppoe: pppoedev qe1 !/sbin/ifconfig qe1 up !/usr/sbin/spppcontrol \$if myauthproto=chap myauthname=*** myauthkey=*** !/sbin/ifconfig \$if inet 0.0.0.0 0.0.0.1 netmask 0xffffffff !/sbin/route add default 0.0.0.1 link1 up That's all i need... reconnection is done by the kernel and the (magic) default route gets updated as required. AFAIK this link1-thing isn't required on -current. Regards, Simon