LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   eth0 & ppp0 seem to be OK, but adsl isn't working. help plz (https://www.linuxquestions.org/questions/linux-networking-3/eth0-and-ppp0-seem-to-be-ok-but-adsl-isnt-working-help-plz-197822/)

mecister 06-25-2004 10:37 PM

eth0 & ppp0 seem to be OK, but adsl isn't working. help plz
 
Well, I just installed Debian, and I think my pppoe configuration was ok, because I seem to be connected , but still can't browse or anything.


This is my ifconfig :

eth0 Link encap:Ethernet HWaddr 00:07:95:EC:99:9E
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:64 errors:0 dropped:0 overruns:0 frame:0
TX packets:57 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:4394 (4.2 KiB) TX bytes:3329 (3.2 KiB)
Interrupt:10 Base address:0xde00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:87 errors:0 dropped:0 overruns:0 frame:0
TX packets:87 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5779 (5.6 KiB) TX bytes:5779 (5.6 KiB)

ppp0 Link encap:Point-to-Point Protocol
inet addr:200.90.206.68 P-t-P:192.168.10.14 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:40 errors:0 dropped:0 overruns:0 frame:0
TX packets:33 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:10
RX bytes:1408 (1.3 KiB) TX bytes:875 (875.0 b)

This is my route :

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.10.14 * 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

And this is what I get when I run the plog command, here it shows some kind of problem i guess:

Jun 25 21:25:03 marmaduque pppd[18937]: not replacing existing default route to
eth0 [192.168.1.1]
Jun 25 21:25:03 marmaduque pppd[18937]: Cannot determine ethernet address for proxy ARP
Jun 25 21:25:03 marmaduque pppd[18937]: local IP address 200.42.188.230
Jun 25 21:25:03 marmaduque pppd[18937]: remote IP address 192.168.10.14
Jun 25 21:25:03 marmaduque pppd[18937]: primary DNS address 200.50.96.90
Jun 25 21:25:03 marmaduque pppd[18937]: secondary DNS address 200.54.144.227

Please help me :( Thanks !

adz 06-26-2004 01:23 AM

Are those DNS addresses correct? What are the contents of your /etc/resolv.conf? How is the ADSL modem connected to its parent computer (USB or ethernet) and is the parent computer the computer you're using? You should not need a pppX interface. You'd need either an ethX or a pppoeX.

ppuru 06-26-2004 02:47 AM

are you able to ping to your gateway.

Try setting bootproto for eth0 to none; stop and start eth0.

Now run adsl-start and check whether you can ping/browse, etc.

mecister 06-27-2004 04:33 PM

Thanks for the feedback guys.

Those DNS from resolv.conf seem to be correct, because they are the same I get when connected through Windows.
The router is connected through ethernet to my computer, which is for personal use, it's not connected to any other computer.

Indeed, I'm able to ping my gateway (I pinged every IP from eth0 and ppp0 just to be sure)

About what ppuru said, "setting bootproto for eth0 to none" ... could you be a little more explicit... I'm of the newbish kind :(

Well , thanks again.

adz 06-27-2004 07:24 PM

One question: Why do you have a ppp interface?

One thing I saw maybe you could change the mtu of you eth0 to 1492 by typing ifconfig eth0 mtu 1492.

mecister 06-27-2004 08:43 PM

I changed mtu to 1492 but still nothing happened... thanks anyway.

Why do I have a ppp interface ? Well , not sure, I configured everything with pppoeconf and then I connect with "pon dsl-provider" (I don't have the adsl commands, don't know why).
The ppp0 shows my IP, so I'm guessing I'm connected.
Looking carefully, I noticed that the that ppp0 shows as mine (200.90.206.68), is quite different from the one i get connected through windows (200.42.188.224). I'm pretty lost now :(

Any idea on what's the meaning of this ? :

Jun 27 21:30:30 marmaduque pppd[662]: Connect: ppp0 <--> /dev/pts/1
Jun 27 21:30:31 marmaduque pppd[662]: Couldn't set pass-filter in kernel: Invalid argument
Jun 27 21:30:31 marmaduque pppd[662]: local IP address 200.90.206.60
Jun 27 21:30:31 marmaduque pppd[662]: remote IP address 192.168.10.14
Jun 27 21:30:31 marmaduque pppd[662]: primary DNS address 200.50.96.90
Jun 27 21:30:31 marmaduque pppd[662]: secondary DNS address 200.54.144.227

ppuru 06-27-2004 09:59 PM

the BOOTPROTO entry goes in ifcfg-eth0. I am not sure of the file's location in Debian ... should be somewhere in /etc.

Freaky Dave 06-28-2004 03:41 AM

try to remove the ppp conection?

mecister 06-28-2004 07:17 PM

Well, after trying almost everything, I downloaded rp-pppoe from roaring penguin , installed it, configured adsl again, did adsl-start, and I noticed this time my IP was correct, but the thing wasnt working, as usual.
This time though, I did ifconfig eth0 down, ifconfig eth0 up, adsl-stop and adsl-start, and voila! I'm connected through linux right now :D
Not sure why I have to do the steps mentioned above in order to have my connection working, but at least works perfect.


All times are GMT -5. The time now is 04:57 PM.