Hello all,
I am having trouble with the last hurdle of my diald/pppd configuration,
and was hoping that one of y'all might have surmounted the same problem.
ppp-on works fine manually, and diald starts up OK, but when I initiate that
first dns with a ping or an ftp command, /var/log/messages gets the comment:
ppp not replacing existing default route to sl0[127.0.0.3]
An ifconfig shows that both diald's sl0 interface and the ppp0 interface are
up, but route -n shows that sl0 has remained the default. This machine is
the third on a small ethernet in my house, and is running the Redhat4.0 dist-
ribution. I have gotten diald to work before, when I did not have an
ethernet and I was running an older kernel. Does anyone have any help for
me here? I've appended some pertinent info. Thanks for your help.
Regards,
_________________________________________________
| Jason Robbins |
| phone: (512) 934-5814 |
| FAX: (512) 934-6225 |
|_________________________________________________|
How I am involking diald:
diald /dev/ttyS0 -m ppp local 127.0.0.4 \
remote 127.0.0.3 defaultroute modem crtscts \
connect "/usr/sbin/ppp-on" dynamic
My /var/log/messages tail:
Nov 21 22:01:10 bruno pppd[377]: Serial connection established.
Nov 21 22:01:11 bruno pppd[377]: Using interface ppp0
Nov 21 22:01:11 bruno pppd[377]: Connect: ppp0 <--> /dev/ttyS0
Nov 21 22:01:13 bruno pppd[377]: local IP address 207.8.41.52
Nov 21 22:01:13 bruno pppd[377]: remote IP address 207.8.41.3
Nov 21 22:01:13 bruno pppd[377]: ppp not replacing existing default
route to sl0[127.0.0.3]
ifconfig's output, right after I try to initiate dialup with a ping or ftp:
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0
TX packets:12 errors:0 dropped:0 overruns:0
eth0 Link encap:10Mbps Ethernet HWaddr 00:00:C0:D4:44:13
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:525 errors:0 dropped:0 overruns:0
TX packets:326 errors:0 dropped:0 overruns:0
Interrupt:5 Base address:0x290 Memory:d0000-d2000
sl0 Link encap:Serial Line IP
inet addr:127.0.0.4 P-t-P:127.0.0.3 Mask:255.0.0.0
UP POINTOPOINT RUNNING MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
TX packets:21 errors:0 dropped:0 overruns:0
ppp0 Link encap:Point-Point Protocol
inet addr:207.8.41.52 P-t-P:207.8.41.3 Mask:255.255.255.0
UP POINTOPOINT RUNNING MTU:1500 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0
TX packets:6 errors:0 dropped:0 overruns:0