Re: [Newbie] ppp: Connection established, but can't ping. How can I get out into Internet?
Scotty Fitzgerald wrote:
> I had a similar problem, When I set up the machine I
> had a Ethernet card that was autodetected, and the
> the autodetection set up the ethernet card as the default
> gateway to the internet. While your ethernet is the default
> gateway the dialup won't establish itself as a gateway. Try to
> remove the gateway status of your ethernet card, and things should work.
>
> It took me a few googles on Linux networking and I found this, but if
> you can't find a good webpage post a reply, and I will actually start up
> my old windows partition and see if I can find the webpage that clued me
> in.
>
> Good luck,
> ---
> Scotty
>
> F. GEIGER wrote:
>
>> Dear all,
>>
>> I'm on Debian GNU/Linux 3.0 (Woody) and stuck in the middle:
>>
>> I exec "pon VOL" and get a connection, but no pings do return (100%
>> loss).
>>
>> As a connection has been estblished, I guess the several config files are
>> okay. Therefore I've pasted the output of "netstat -nr", "route", and
>> "ifconf ppp0", shown while the connection is established.
>>
>> As I come from an OS, where one can configure an Internet connection with
>> a few clicks and get into the Internet with two more clicks (did I
>> already say, I'm a newbie? :-)), it's beyond me to fully recognize all
>> the content of those lines. My Linux box' address is 192.168.200.101.
>> This leads me to find the lines
>>
>> 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0
>> sl0
>>
>> and
>>
>> default * 0.0.0.0 U 1 0 0
>> sl0
>>
>> kind of strange. But, please, see for yourselves:
>>
>> netstat -nr
>> Kernel IP routing table
>> Destination Gateway Genmask Flags MSS Window irtt
>> Iface
>> 194.183.133.58 0.0.0.0 255.255.255.255 UH 0 0 0
>> ppp0
>> 192.168.0.2 0.0.0.0 255.255.255.255 UH 0 0 0
>> sl0
>> 192.168.200.0 0.0.0.0 255.255.255.0 U 0 0 0
>> eth0
>> 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0
>> sl0
>>
>>
>> route
>> Kernel IP routing table
>> Destination Gateway Genmask Flags Metric Ref Use
>> Iface
>> 194.183.133.58 * 255.255.255.255 UH 0 0 0
>> ppp0
>> 192.168.0.2 * 255.255.255.255 UH 1 0 0
>> sl0
>> 192.168.200.0 * 255.255.255.0 U 0 0 0
>> eth0
>> default * 0.0.0.0 U 1 0 0
>> sl0
>>
>>
>> ifconfig ppp0
>> ppp0 Link encap:Point-to-Point Protocol
>> inet addr:194.208.126.37 P-t-P:194.183.133.58
>> Mask:255.255.255.255
>> UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
>> RX packets:14 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:10
>> RX bytes:425 (425.0 b) TX bytes:355 (355.0 b)
>>
>> So, what am I missing? Do I have to add or change a default route or
>> something like that?
>>
>> Kind regards
>> Franz GEIGER, lookin' for kind helping hands.
>>
>>
>
>
The line I deleted was "gateway" from the file "/etc/network/interfaces"
---
Scotty
Reply to: