On Wed, Jun 09, 1999 at 05:45:09AM -0700, Benjamin Diedrich wrote:
> Erik Corry wrote:
> > You don't have a default route. Add one in /etc/ppp/ip-down or
> > /etc/ppp/ip-up (can't quite tell where it is disappearing) with
> >
> > /etc/route add default ppp0
> >
> > or with some diald option.
> >
> > The kernel has an irrritating habit of deleting and adding routes
> > all over the place instead of letting user space manage it.
>
> Thanks. I can get it to work by running "/sbin/route add default ppp0"
> from a shell after the connection comes up every time. Unfortunately,
> something jumps in right after the "ip-up" and "addroute" scripts are
Perhaps you should post your ip-up and ip-up.local scripts so
we can see what is happening. There are a lot of ifconfig
changes that will delete the default route, the kernel is very
irritating like that.
> Jun 9 05:09:12 debian diald[28884]: ip-up: IP UP
> Jun 9 05:09:12 debian diald[28884]: ip-up: SIOCADDRT: File exists
> Jun 9 05:09:15 debian pppd[28914]: local IP address 199.2.132.112
> Jun 9 05:09:15 debian pppd[28914]: remote IP address 199.2.132.3
It looks like diald is running ip/up before pppd has finished
setting up IP addresses. That might be a bug in diald/pppd
cooperation.
I wonder if something as nasty as a 'sleep 5' before the route
command in ip/up might be a solution. Or even better
/sbin/route add default ppp0
sleep 5
/sbin/route add default ppp0
ugly ugly...
--
Erik Corry [EMAIL PROTECTED] Ceterum censeo, Microsoftem esse delendam!
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]