#include <hallo.h> Christopher S. Swingley wrote on Fri Jul 27, 2001 um 07:40:12PM:
> I have a laptop with an ethernet card connection to a local network > and a modem for connecting to the Internet. Earlier versions of pppd > always reset the default gateway to the dial-in server when I connected > (and reset it back to eth0 after I hang up). A recent upgrade seems > to have broken this: > > Jul 27 19:19:14 machine pppd[15272]: not replacing existing default > route to eth0 [192.168.97.1] Well, hypotheticaly it is your fault, and a possible solution may be a line in /usr/bin/pon that deletes default route before dialing, and another line in poff that does ifdown eth0;ifup eth0. Since I was bothered by the same problem, I wrote a small hack for pppd which kills the previous default route before pppd sets a new one. This is should become default in Debian, IMHO. If the user chooses the defaultroute option, he/she WANTS the route to be replaced, and it confuses when pppd does not do this only after logging in, not warning you before. To Michael: would you like to accept the patch, or should I discuss it with upstream? Gruss/Regards, Eduard. -- As of next week, passwords will be entered in Morse code. Frank Knappe in debian-user-de
pgpW4JwEFGpup.pgp
Description: PGP signature