[Techtalk] Can't ping DNS

PCasper sylph at cyber-dyne.com
Mon Apr 14 18:04:02 EST 2003


Hiya all.

Anyone who I've talked to in IRC recently knows my general situation.

Over a week ago, my ISP replaced their PPP server with one that's more 
stringent about authenticating.
(I think the situation is really that the old one was sloppy, and was 
replaced for reasons other than being sloppy)

So for over a week, wvdial, which worked beautifully with the sloppy 
server, has not worked. I've been able to connect thru my windows 
partition, but obviously, this requires rebooting, and there's just some 
things I can't do right from windows.

After some poking around, I found a wonderful HOWTO on configuring pppd 
in linux when you don't know exactly what the ISP wants for 
authentication, and I've followed that to create chat scripts that WORK. 
I can now dial, and connect. However, I'm only getting far enough to get 
an IP address assigned.

Situation now is:
I can connect and check mail or web browse from windows. I can connect 
from Linux, but I'm unable to ping anything other than the IP address 
assigned to me... I can't even ping my DNS address. The packets are 
going out, but nothing's coming back.

For the purpose of troubleshooting, I'll past in copies of the log files 
I've created in the process of trying to figure this out. If anyone can 
at least point me in the direction of "what's going wrong and/or what 
needs to happen to fix it", I'd be most appreciative.

Start Logfiles Here
==============================
pppon (script to start pppd):
#!/bin/sh
if [ "$1" = "" ] ; then
echo "Usage: pppon username"
exit 1
fi
/usr/sbin/pppd /dev/modem 115200 user $1 connect "/usr/sbin/chat -f 
home/poppy/chatscript"
==============================
chatscript:
    ABORT "NO CARRIER"
    ABORT "NO DIALTONE"
    ABORT "ERROR"
    ABORT "NO ANSWER"
    ABORT "BUSY"
    ""    AT
    OK    ATDT7626000
    CONNECT '\D\C'
=============================
ifconfig:
dummy0    Link encap:Ethernet  HWaddr 00:00:00:00:00:00 
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:609 errors:0 dropped:0 overruns:0 frame:0
          TX packets:609 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:66558 (64.9 Kb)  TX bytes:66558 (64.9 Kb)

ppp0      Link encap:Point-to-Point Protocol 
          inet addr:192.168.1.1  P-t-P:207.189.172.98  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1524  Metric:1
          RX packets:10 errors:0 dropped:0 overruns:0 frame:0
          TX packets:112 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:481 (481.0 b)  TX bytes:8208 (8.0 Kb)

==============================
route -n:
Kernel IP routing table
Destination          Gateway         Genmask                 Flags   
Metric    Ref    Use Iface
207.189.172.98  0.0.0.0            255.255.255.255    UH      0         
  0        0 ppp0
192.168.1.0        0.0.0.0            255.255.255.0        U         
0          0        0 dummy0
127.0.0.0            0.0.0.0            255.0.0.0                U      
   0          0        0 lo
0.0.0.0                0.0.0.0            0.0.0.0                   U    
     0           0        0 ppp0
0.0.0.0            207.189.172.98  0.0.0.0                   UG      
0           0        0 ppp0

==============================
ping 207.189.172.1 (DNS address):
PING 207.189.172.1 (207.189.172.1) from 192.168.1.1 : 56(84) bytes of data.

--- 207.189.172.1 ping statistics ---
10 packets transmitted, 0 packets received, 100% packet loss

===============================
/var/log/messages:

Apr 14 17:44:39 bluegirl pppd[2505]: pppd 2.4.1 started by root, uid 0
Apr 14 17:45:07 bluegirl pppd[2505]: Serial connection established.
Apr 14 17:45:07 bluegirl pppd[2505]: Using interface ppp0
Apr 14 17:45:07 bluegirl pppd[2505]: Connect: ppp0 <--> /dev/modem
Apr 14 17:45:08 bluegirl pppd[2505]: local  IP address 192.168.1.1
Apr 14 17:45:08 bluegirl pppd[2505]: remote IP address 207.189.172.98
Apr 14 17:47:31 bluegirl pppd[2505]: Terminating on signal 15.
Apr 14 17:47:31 bluegirl pppd[2505]: Connection terminated.
Apr 14 17:47:31 bluegirl pppd[2505]: Connect time 2.4 minutes.
Apr 14 17:47:31 bluegirl pppd[2505]: Sent 1187 bytes, received 61 bytes.
Apr 14 17:47:31 bluegirl pppd[2505]: Hangup (SIGHUP)
Apr 14 17:47:31 bluegirl pppd[2505]: Exit.










More information about the Techtalk mailing list