[NTLUG:Discuss] PPP Internet connection problems - Mandrake 9.1
Bobby Sanders
ssanders at vzinet.com
Sat Mar 20 18:53:45 CST 2004
OH! Now I remember what the problem was. I didn't have the name
servers identified properly, so I connected OK but pinging the net
failed because ppp couldn't find a public name server. I now
configure to have ppp ask the ISP for its name servers and then use
those. This involves passing "useperdns" to pppd. If you have
problems doing this with kppp, drop me a note and I give more details
for doing this using the graphical kppp instead of command line stick.
The previous article URL I sent is still the best thing I have ever
read on ppp. :)
Bobby
--On Sat, 20 Mar 2004 17:21:31 -0600, kdj1 at ticnet.com said:
k> I am unable to connect to the Internet on my machine using
k> Mandrake 9.1. LAN is fine, but internet connection is dialup and
k> cannot ping.
k> Symptoms: KPPP functions normally and reports connection and IP
k> addr. Mozilla cannot find host. Lan pings work, net pings fail.
k> Netstat and ifconfig report same IP addrs as KPPP, so it appears
k> to me that the connection is being made.
k> What might I have misconfigured? I would appreciate any hints or
k> pointers to a solution.
k> Regards,
k> Dan F.
k> KPPP stats, ping results, netstat results, and ifconfig results
k> are below.
k> KPPP executes handshake & connection, KPPP statistics reports:
k> local address 207.53.228.68 remote address 206.176.148.90 bytes
k> in 498 bytes out 87 packets in 12 packets out 4 vjcomp in 0
k> vjcomp out 0 vjunc in 0 vjjnc out 0 vjerr 0 non-vj 4
k> ==================================== Internet pings fail:
k> [user1 at localhost user1]$ ping www.yahoo.com ping: unknown host
k> www.yahoo.com
k> [user1 at localhost user1]$ ping 207.53.228.68 ping: icmp open
k> socket: Operation not permitted
k> [user1 at localhost user1]$ ping 206.176.148.90 ping: icmp open
k> socket: Operation not permitted
k> Pinging ISP DNS results in same 'icmp open socket' error msg.
k> Lan pings work:
k> [root at localhost user1]# ping 10.0.0.2 PING 10.0.0.2 (10.0.0.2)
k> 56(84) bytes of data. 64 bytes from 10.0.0.2: icmp_seq=1 ttl=128
k> time=12.2 ms 64 bytes from 10.0.0.2: icmp_seq=2 ttl=128 time=18.0
k> ms 64 bytes from 10.0.0.2: icmp_seq=3 ttl=128 time=0.588 ms 64
k> bytes from 10.0.0.2: icmp_seq=4 ttl=128 time=0.595 ms
k> ======================================= netstat -rn results:
k> [user1 at localhost user1]$ netstat -rn Kernel IP routing table
k> Destination Gateway Genmask Flags MSS Window irtt Iface
k> 206.176.148.90 0.0.0.0 255.255.255.255 UH 0 0 0
k> ppp0
k> 10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0
k> eth0
k> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
k> 0.0.0.0 206.176.148.90 0.0.0.0 UG 0 0 0
k> ppp0
k> ========================================== ifconfig results:
k> [root at localhost user1]# ifconfig eth0 Link encap:Ethernet HWaddr
k> 00:40:F4:5C:AE:B5
k> inet addr:10.0.0.1 Bcast:10.255.255.255 Mask:255.0.0.0
k> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX
k> packets:62 errors:0 dropped:0 overruns:0 frame:0 TX
k> packets:11 errors:0 dropped:0 overruns:0 carrier:0
k> collisions:0 txqueuelen:100 RX bytes:6395 (6.2 Kb) TX
k> bytes:1386 (1.3 Kb) Interrupt:11 Base address:0x2000
k> lo Link encap:Local Loopback
k> inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING
k> MTU:16436 Metric:1 RX packets:50 errors:0 dropped:0
k> overruns:0 frame:0 TX packets:50 errors:0 dropped:0
k> overruns:0 carrier:0 collisions:0 txqueuelen:0 RX
k> bytes:3652 (3.5 Kb) TX bytes:3652 (3.5 Kb)
k> ppp0 Link encap:Point-to-Point Protocol
k> inet addr:207.53.228.68 P-t-P:206.176.148.90
k> Mask:255.255.255.255
k> UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1524
k> Metric:1 RX packets:6 errors:0 dropped:0 overruns:0
k> frame:0 TX packets:4 errors:0 dropped:0 overruns:0
k> carrier:0 collisions:0 txqueuelen:3 RX bytes:210 (210.0
k> b) TX bytes:87 (87.0 b)
k> =====================================
k> _______________________________________________
k> https://ntlug.org/mailman/listinfo/discuss
More information about the Discuss
mailing list