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
run and wreck it when I place the route command in them. ip-down doesn't
run at the right time to fix the problem. I realize addroute runs at all
sorts of time, but I thought I'd give it a shot. The pppd messages that
identify the local and remote ip addresses gets repeated after ip-up and
addroute run. I made ip-up and addroute run echo "IP UP" and echo
"ADDROUTE" so I can see when they run. Here is my log file. I'm not sure
what the SIOC errors are. I get them with pppd alone and it runs fine:

Jun  9 05:08:44 debian diald[28884]: Trigger: udp      
192.168.0.1/1067       199.2.132.2/53   
Jun  9 05:08:44 debian diald[28884]: Calling site 194.109.2.10 
Jun  9 05:09:05 debian diald[28884]: Connected to site 194.109.2.10 
Jun  9 05:09:05 debian diald[28884]: Running pppd (pid = 28914).
Jun  9 05:09:05 debian diald[28914]: Running pppd: /usr/sbin/pppd
-defaultroute -detach modem crtscts mtu 1500 mru 1500 netmask
255.255.255.0 noauth nopersist user diedrich 
Jun  9 05:09:05 debian pppd[28914]: pppd 2.3.5 started by root, uid 0
Jun  9 05:09:05 debian pppd[28914]: Using interface ppp0
Jun  9 05:09:05 debian pppd[28914]: Connect: ppp0 <--> /dev/ttyS2
Jun  9 05:09:11 debian pppd[28914]: Remote message: Login Succeeded
Jun  9 05:09:11 debian pppd[28914]: local  IP address 199.2.132.112
Jun  9 05:09:11 debian pppd[28914]: remote IP address 199.2.132.3
Jun  9 05:09:12 debian diald[28884]: New addresses: local 199.2.132.112,
remote 199.2.132.3, broadcast 0.0.0.0
Jun  9 05:09:12 debian diald[28884]: start ppp0: SIOCSIFMETRIC:
Operation not supported 
Jun  9 05:09:12 debian diald[28884]: start ppp0: ADDROUTE 
Jun  9 05:09:12 debian diald[28884]: start ppp0: SIOCADDRT: File exists 
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


-- 
_\\||//_____/|\ *    *    * Benjamin Diedrich 
-- {} -----/ | \  |\*   *   [EMAIL PROTECTED]
*//||\\ * /__|__\_|_\  *  * http://www.ugcs.caltech.edu/~diedrich/
//~||~\\~~\_________/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to