Linux Debian support - Can't ping

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > July 2006 > Can't ping





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Can't ping
Christian Christmann

2006-07-19, 7:15 pm

Hi,

after an update of my Etch system yesterday, I can't connect to the internet
properly via my DSL connection.

After running pppoeconf and entering my user data and password and
then connect to my provider with "pon dsl-provider", with ifconfig I can
see that my ppp0 has a dynamic IP address. With plog I also see that
I have been assigned two DNS servers. However, I can't ping any
domains or surf in the internet.

Any ideas what's wrong and how to solve this problem?

The connection is OK since it works fine with my Windows box.

Regards,
Chris


s. keeling

2006-07-19, 7:15 pm

Christian Christmann <plfriko@yahoo.de>:
>
> after an update of my Etch system yesterday, I can't connect to the internet
> properly via my DSL connection.
>
> After running pppoeconf and entering my user data and password and


Are you sure you need pppoe? Many adsl suppliers don't support
pppoe. Yours may, I don't know.

> then connect to my provider with "pon dsl-provider", with ifconfig I can
> see that my ppp0 has a dynamic IP address. With plog I also see that
> I have been assigned two DNS servers. However, I can't ping any


Can you ping IP addresses (dotted quad)? What's in /etc/resolv.conf?


--
Any technology distinguishable from magic is insufficiently advanced.
(*) http://www.spots.ab.ca/~keeling Linux Counter #80292
- - http://www.faqs.org/rfcs/rfc1855.html
Spammers! http://www.spots.ab.ca/~keeling/emails.html
Christian Christmann

2006-07-20, 7:12 pm

>> after an update of my Etch system yesterday, I can't connect to the
>
> Are you sure you need pppoe? Many adsl suppliers don't support
> pppoe. Yours may, I don't know.


Yes, I'm sure since I used pppoe before.

>
>
> Can you ping IP addresses (dotted quad)? What's in /etc/resolv.conf?


No, I tried to ping yahoo's IP address but this does not work either. First
I get no response and after some time a timeout is issued. Some more
information:

My /etc/resolv.conf:
nameserver 127.0.0.1

route -n:
84.60.0.1 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 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0


And ifconfig ppp0:

ppp0 Link encap:Point-to-Point Protocol
inet addr:84.60.30.236 P-t-P:84.60.0.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:102 (102.0 b) TX bytes:54 (54.0 b)
Kernel IP routing table Destination Gateway Genmask
Flags Metric Ref Use Iface


Any ideas what's wrong?

Thank you.


Bill Marcum

2006-07-20, 7:12 pm

On Thu, 20 Jul 2006 22:31:16 +0200, Christian Christmann
<plfriko@yahoo.de> wrote:
>
> Yes, I'm sure since I used pppoe before.
>
>
> No, I tried to ping yahoo's IP address but this does not work either. First
> I get no response and after some time a timeout is issued. Some more
> information:
>
> My /etc/resolv.conf:
> nameserver 127.0.0.1
>
> route -n:
> 84.60.0.1 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 eth0
> 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
> 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0
>
>
> And ifconfig ppp0:
>
> ppp0 Link encap:Point-to-Point Protocol
> inet addr:84.60.30.236 P-t-P:84.60.0.1 Mask:255.255.255.255
> UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
> RX packets:4 errors:0 dropped:0 overruns:0 frame:0
> TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:3
> RX bytes:102 (102.0 b) TX bytes:54 (54.0 b)
> Kernel IP routing table Destination Gateway Genmask
> Flags Metric Ref Use Iface
>
>
> Any ideas what's wrong?
>

I'm not familiar with pppoe, only dialup ppp, but shouldn't the ppp
interface be your default gateway?


--
I'm having a BIG BANG THEORY!!
Christian Christmann

2006-07-20, 7:12 pm

>>
> I'm not familiar with pppoe, only dialup ppp, but shouldn't the ppp
> interface be your default gateway?


How can I set ppp to be my default gateway?

>
>
> --
> I'm having a BIG BANG THEORY!!



s. keeling

2006-07-21, 1:13 am

Christian Christmann <plfriko@yahoo.de>:
> [???]
>
> Yes, I'm sure since I used pppoe before.


Kay.

>
> No, I tried to ping yahoo's IP address but this does not work either. First
> I get no response and after some time a timeout is issued. Some more
> information:
>
> My /etc/resolv.conf:
> nameserver 127.0.0.1


Are you running a nameserver/named? dhcp should have supplied your
ISP's nameservers. If you're not running named, this is the problem.
Add your ISP's nameservers to resolv.conf, then ping (ie.) somewhere.com


--
Any technology distinguishable from magic is insufficiently advanced.
(*) http://www.spots.ab.ca/~keeling Linux Counter #80292
- - http://www.faqs.org/rfcs/rfc1855.html
Spammers! http://www.spots.ab.ca/~keeling/emails.html
Moe Trin

2006-07-21, 7:12 pm

On Thu, 20 Jul 2006, in the Usenet newsgroup alt.os.linux.debian, in article
<44bfe81a$0$24900$9b4e6d93@newsread4.arcor-online.net>, Christian Christmann
wrote:

>My /etc/resolv.conf:
>nameserver 127.0.0.1


The resolver code should look to see if you are running a name server
without this ('man 5 resolver'). If you are not running a name server,
this should have the addresses of your ISP's name server. That _MIGHT_ be

ns1.arcor-ip.de 14458 IN A 145.253.2.19
ns2.arcor-ip.de 14458 IN A 145.253.2.80

>route -n:
>84.60.0.1 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 eth0
>169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
>0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0


Well, that sure isn't going to work. You've told the system that the way
to the world is out the eth0 interface, so it's going to ignore ppp0
except when (for some unknown reason) you want to talk to 84.60.0.1.

>Any ideas what's wrong?


/etc/network/interfaces

Comment out the 'gateway 192.168.1.1' line. pppd will NOT replace an
existing default.

Old guy
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com