I'm running Slackware96 Kernel 2.0.0.0 on a Toshiba Satellite Pro T2155CDS
laptop. Everything works (X, Mouse, CD, Sound, Modem, Network...everything)
......except for the following problem I've been struggling with.......
If my route in the /etc/rc.d/rc.inet1 file is set as follows my Local
Network will work, the system boots fine but PPP will not work.
/sbin/ifconfig lo 127.0.0.1
/sbin/route add -net 127.0.0.0
Following is a screen shot of my ifconfig and route commands when both
the modem and network card are plugged in and the route add -net 127.0.0.0
is in the /etc/rc.d/rc.inet1 file:
IFCONFIG:
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:25 errors:0 dropped:0 overruns:0
TX packets:25 errors:0 dropped:0 overruns:0
eth0 Link encap:10Mbps Ethernet HWaddr 00:A0:24:A6:FD:92
inet addr:192.9.200.45 Bcast:192.9.200.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
TX packets:9 errors:0 dropped:0 overruns:0
Interrupt:5 Base address:0x300
ROUTE:
Kernel routing table
Destination Gateway Genmask Flags MSS Window Use Iface
localnet * 255.255.255.0 U 1500 0 3 eth0
loopback * 255.0.0.0 U 3584 0 2 lo
If I change to /sbin/route add -net 127.0.0.1 in the /etc/rc.d/rc.inet1
file, PPP will work, but ONLY if I pop the PCMCIA Network card out and
reboot. It will lock up on reboot if I leave the Network card in also.
AND Following is the Ifconfig and Route commands when I reboot with the
network card unplugged and PPP running and the route add -net 127.0.0.1
is in the /etc/rc.d/rc.inet1 file:
IFCONFIG:
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:0 errors:0 dropped:0 overruns:0
TX packets:0 errors:0 dropped:0 overruns:0
ppp0 Link encap:Point-Point Protocol
inet addr:207.53.2.70 P-t-P:205.152.2.165 Mask:255.255.255.0
UP POINTOPOINT RUNNING MTU:1500 Metric:1
RX packets:13 errors:0 dropped:0 overruns:0
TX packets:14 errors:0 dropped:0 overruns:0
ROUTE:
Kernel routing table
Destination Gateway Genmask Flags MSS Window Use Iface
205.152.2.165 * 255.255.255.255 UH 1500 0 0 ppp0
default 205.152.2.165 * UG 1500 0 2 ppp0
I'm not sure if any of the following will help???
The pppd command I use in /usr/sbin/ppp-on:
/usr/sbin/pppd /dev/modem 115200 -detach lock modem crtscts \
asyncmap 0 $LOCAL_IP: \
noipdefault netmask $NETMASK defaultroute \
lcp-echo-failure 10 lcp-echo-interval 120 lcp-echo-failure 3 \
connect $DIALER_SCRIPT &
The /etc/resolv.conf file:
domain bellsouth.net
nameserver 205.152.0.20
nameserver 205.152.0.5
domain ctsinc.net
nameserver 192.9.200.9
After reading every FAQ, HOW-TO, and README I could find on the CD's,
Web pages, and books I have....I've about tapped my resources. <grin>
Except for newsgroups. And after reading through all the newsgroups
trying to find the answer I've come to realize that this is probably
the best place to go to get the 'Right' answer!
Thanks in advance!
Long Live Linux!