LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-20-2004, 09:30 AM   #1
acampbell
Member
 
Registered: Nov 2003
Location: London
Distribution: Debian
Posts: 118

Rep: Reputation: 16
Can connect to ISP but cannot ping anywhere


I can connect to my ISP (NTL) with ppp but cannot get anywhere then; ping does not produce anything.

Resolv.conf is OK.. Dig shows no connection:
;; Query time: 40 msec
;; SERVER: 194.168.4.100#53(194.168.4.100)
;; WHEN: Fri Aug 20 15:16:29 2004
;; MSG SIZE rcvd: 12

This is Linux Debian, kernel 2.6.8.
 
Old 08-20-2004, 10:38 AM   #2
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
Post the output of
route -n
 
Old 08-20-2004, 01:48 PM   #3
acampbell
Member
 
Registered: Nov 2003
Location: London
Distribution: Debian
Posts: 118

Original Poster
Rep: Reputation: 16
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
135.196.22.175 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
 
Old 08-20-2004, 02:17 PM   #4
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
The route is wrong
change route by
route delete default gw 192.168.0.1
route add default gw 135.196.22.175
 
Old 08-21-2004, 02:10 AM   #5
acampbell
Member
 
Registered: Nov 2003
Location: London
Distribution: Debian
Posts: 118

Original Poster
Rep: Reputation: 16
Thanks; tried that but got "host name lookup failure"
 
Old 08-21-2004, 03:09 AM   #6
acampbell
Member
 
Registered: Nov 2003
Location: London
Distribution: Debian
Posts: 118

Original Poster
Rep: Reputation: 16
Sorry - slight correction to my last post. The message I get when I try to add the new gateway is:
SIOCADDRT: File exists.
 
Old 08-21-2004, 04:51 AM   #7
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
Could you post the content of
/etc/resolv.conf
and the output of
ifconfig
 
Old 08-21-2004, 05:21 AM   #8
acampbell
Member
 
Registered: Nov 2003
Location: London
Distribution: Debian
Posts: 118

Original Poster
Rep: Reputation: 16
Note: I can ping to address but not to name.

# resolv.conf created by pppconfig for provider
nameserver 194.168.4.100
nameserver 194.168.8.100

ifconfig:

eth0 Link encap:Ethernet HWaddr 00:0B:2B:02:32:FB
inet addr:192.168.0.20 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:71571 errors:0 dropped:0 overruns:0 frame:0
TX packets:54887 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:69641704 (66.4 MiB) TX bytes:4188114 (3.9 MiB)
Interrupt:11 Base address:0xe000

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:644 errors:0 dropped:0 overruns:0 frame:0
TX packets:644 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:73635 (71.9 KiB) TX bytes:73635 (71.9 KiB)

ppp0 Link encap:Point-to-Point Protocol
inet addr:217.137.2.5 P-t-P:135.196.22.176 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:11 errors:0 dropped:0 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:120 (120.0 b) TX bytes:151 (151.0 b)
 
Old 08-21-2004, 10:17 AM   #9
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
Is there a symbolic link to the /etc/resolv.conf file then remove that link and create a new /etc/resolv.conf
 
Old 08-21-2004, 12:32 PM   #10
acampbell
Member
 
Registered: Nov 2003
Location: London
Distribution: Debian
Posts: 118

Original Poster
Rep: Reputation: 16
No, there is no link. The resol.v.conf is created automatically by ppp.config, with the correct name servers from ntl.
 
Old 08-21-2004, 02:54 PM   #11
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
Is there a firewall blokking the dns call
You can test it by

telnet 194.168.4.100 53

I could open a session
 
Old 08-21-2004, 03:22 PM   #12
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
If you have a gateway stated in your network configuration then remove it. The network, of which ppp is part is trying the access the internet via the gateway (network card) instead of the ppp connection.
EDIT:I see you are using Debian so in your /etc/network/interfaces put a # in front of the gateway line and then do as root (su) /etc/init.d/networking restart

Last edited by TigerOC; 08-21-2004 at 03:29 PM.
 
Old 08-22-2004, 03:41 AM   #13
acampbell
Member
 
Registered: Nov 2003
Location: London
Distribution: Debian
Posts: 118

Original Poster
Rep: Reputation: 16
No different, I'm afraid. I'm grateful for all the help but I think I'm going to have to
give up on this one. It doesn't look as if anything is going to work. Something broken
at NTL perhaps? (Woulldn't be the first time.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Full dialup and DNS ok as root, user can only ping the ISP, permission? Emmanuel_uk Linux - Newbie 7 04-27-2005 01:37 PM
Cannot ping past my ISP the_rydster Slackware 15 07-17-2004 01:16 PM
how to ping my ISP Maurice Arthur Linux - Networking 1 01-24-2004 01:18 AM
Need program to Ping ISP in Mnk 9.1 esage Mandriva 4 10-29-2003 11:59 AM
cannot ping ISP mail server.... cockblocker Linux - Networking 7 07-09-2003 12:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration