You are not logged in.

#1 2012-05-25 17:36:56

unni
Member
Registered: 2012-03-28
Posts: 10

RP-PPPOE problem

I use dsl for internet and had installed rp-pppoe package . I ran the pppoe-setup and got the config set up . The connection is successful and i can see my IP when i check the pppoe-status . But whenever i open up links , i cant open any web page . "Ping" is also not responding . Now Im having a temporary windows dual boot to access the internet . Is there is any solution for this ?

Offline

#2 2012-05-25 17:49:20

unni
Member
Registered: 2012-03-28
Posts: 10

Re: RP-PPPOE problem

I think ive got a solution here https://bbs.archlinux.org/viewtopic.php?id=138397

Offline

#3 2012-05-26 06:07:27

unni
Member
Registered: 2012-03-28
Posts: 10

Re: RP-PPPOE problem

The solution i mentioned above dont seem to work for me .
Whenever i do pppoe-start , resolv.conf is automatically changed . So it seems there is no meaning in editing resolv.conf
Can anyone help me ?

Last edited by unni (2012-05-26 06:09:05)

Offline

#4 2012-05-26 07:06:33

debdj
Member
Registered: 2012-01-19
Posts: 163

Re: RP-PPPOE problem

I dont use ppp but,
you can probably use a script like

#!/bin/bash

pppoe-start; sleep 20
echo -e "nameserver <DNS1>\nnameserver <DNS2>" > /etc/resolv.conf

Although this shouldn't be the solution. The problem with this approach will be that u'll have to run the script as root.

EDIT: that should've been resolv.conf not resolve.conf

Last edited by debdj (2012-05-26 09:09:40)

Offline

#5 2012-05-26 08:02:45

unni
Member
Registered: 2012-03-28
Posts: 10

Re: RP-PPPOE problem

Thanks debdj for this reply but im getting no where . I get a valid IP when use pppoe-status and now what .
I tried " route add default gq gw-ip" but it gives me an error like host name unreachable ....

What to do ?

Offline

#6 2012-05-26 09:22:54

debdj
Member
Registered: 2012-01-19
Posts: 163

Re: RP-PPPOE problem

post the outputs of

ip -s route
ifcongif

Also, I edited my last post for a correction. Please see that.

Back when I had a dialup connection most of the time the problem used to be with empty /etc/resolv.conf. I used pppoeconf to setup the connection.
It (pppoeconf) seems absent in arch though.

Offline

#7 2012-05-26 13:06:47

unni
Member
Registered: 2012-03-28
Posts: 10

Re: RP-PPPOE problem

This is the output of "ip -s route" before doing pppoe-start

default via 192.168.1.1 dev eth0  metric 202 
192.168.1.0/24 dev eth0  proto kernel  scope link  src 192.168.1.2  metric 202 

output of "ip -s route"after doing pppoe-start

default via 192.168.1.1 dev eth0  metric 202 
117.196.128.1 dev ppp0  proto kernel  scope link  src 117.196.139.45 
192.168.1.0/24 dev eth0  proto kernel  scope link  src 192.168.1.2  metric 202 

output of "ifconfig" before doing pppoe-start

eth0      Link encap:Ethernet  HWaddr 54:04:A6:60:9E:52  
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::5604:a6ff:fe60:9e52/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:103 errors:0 dropped:102 overruns:0 frame:0
          TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:8987 (8.7 Kb)  TX bytes:2371 (2.3 Kb)
          Interrupt:43 Base address:0x2000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

output of ifconfig after doing pppoe-start

eth0      Link encap:Ethernet  HWaddr 54:04:A6:60:9E:52  
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::5604:a6ff:fe60:9e52/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:168 errors:0 dropped:102 overruns:0 frame:0
          TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:13171 (12.8 Kb)  TX bytes:4177 (4.0 Kb)
          Interrupt:43 Base address:0x2000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:117.196.139.45  P-t-P:117.196.128.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1460  Metric:1
          RX packets:45 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:1750 (1.7 Kb)  TX bytes:61 (61.0 b)

Thanks for your constant help debdj

Last edited by unni (2012-05-26 13:07:53)

Offline

#8 2012-05-26 13:29:41

debdj
Member
Registered: 2012-01-19
Posts: 163

Re: RP-PPPOE problem

unni wrote:

default via 192.168.1.1 dev eth0  metric 202
117.196.128.1 dev ppp0  proto kernel  scope link  src 117.196.139.45
192.168.1.0/24 dev eth0  proto kernel  scope link  src 192.168.1.2  metric 202

Are you using two separate connections at the same time?
In that case, you'll have to setup separate routing tables with 'route'.
In case you just want to use the ppp0 interface, do

 sudo ifconfig eth0 down

Also make sure that correct DNS addresses are in resolv.conf after you shut down eth0.

If you want to disable eth0 at boot time you'll have to find out the module(driver) being used for the LAN card on eth0 and blacklist it.
For that, run

dmesg|grep eth

which in my case produces

[    5.363645] 8139too 0000:01:06.0: eth0: RealTek RTL8139 at 0xffffc9001057ec00, 00:1e:a6:09:b9:de, IRQ 19

After you find out the module name, check This Wiki for instructions on disabling it.

But all this, if you decide to do so.

Let me know if this solved the problem.

Offline

#9 2012-05-26 13:38:04

unni
Member
Registered: 2012-03-28
Posts: 10

Re: RP-PPPOE problem

Im not using 2 connections at at time.
"ifconfig eth0 down " did not help . Any other way ?

Last edited by unni (2012-05-26 13:59:01)

Offline

#10 2012-05-26 14:22:34

debdj
Member
Registered: 2012-01-19
Posts: 163

Re: RP-PPPOE problem

Well, then I really dont know.
Somebody experienced might be able to help you.

Have you consulted the arch wiki? 
https://wiki.archlinux.org/index.php/PP … _with_pppd

Last edited by debdj (2012-05-26 14:22:54)

Offline

#11 2012-05-26 14:53:39

unni
Member
Registered: 2012-03-28
Posts: 10

Re: RP-PPPOE problem

Oh yes , i had consulted with this wiki ! Thanks for your support and ill try to do the configuration without rp-pppoe ( as mentioned in the wiki ) once again .

Offline

#12 2012-05-27 12:59:35

unni
Member
Registered: 2012-03-28
Posts: 10

Re: RP-PPPOE problem

Can any one help me ? Im lost !

Offline

#13 2012-05-27 17:45:44

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: RP-PPPOE problem

What seems to be the problem? PPPoE is pretty straightforward. From what I remember and what I dug up, pppoe-setup will ask for the username the ISP provided you with, eth0 (enter key), no (enter key again), and here's the thing: you have to type "server" (without the quotes). After that it will ask you for a firewall (I always used to chose "1"), the ISP password and a final "y" at the end.

To test it, run "ping -c 3 www.google.com" and if it returns 3 lines you're golden.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#14 2012-05-28 02:42:09

unni
Member
Registered: 2012-03-28
Posts: 10

Re: RP-PPPOE problem

But that didnt help me ! I have repeated all these steps countless times to ensure that i went wrong no where . Anyway im gonna try the may iso and see how it rolls . I am hoping for a magic !

Offline

#15 2012-05-28 07:10:56

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: RP-PPPOE problem

Doubt it. I'm pretty sure that the rp-pppoe package is the same as in the "2011.08.19" release.

Did you try the pppd method, like debdj said? Read up until "Starting pppd with Arch".


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#16 2012-05-28 09:20:09

unni
Member
Registered: 2012-03-28
Posts: 10

Re: RP-PPPOE problem

Yeah ... i tried pppd method , just in vain . Im so exhausted running behind this issue . "rp-pppoe" is not showing any problem but still what can i do ? My holidays are coming to a close and so im gonna do it a one last time with the new "archlinux-2012.05.04_16-10-02-testing-core-x86_64" . Thanks for the reply DSpider .

Offline

#17 2012-05-28 11:47:18

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: RP-PPPOE problem

https://wiki.archlinux.org/index.php/Be … tc.2Fhosts

Errors in this entry may cause poor network performance and/or certain programs to open very slowly, or not work at all. This is a very common error for beginners.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#18 2012-07-18 12:40:22

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: RP-PPPOE problem

I think I wasn't clear enough. I apologize.

$ pppoe-setup

Will ask you for the username the ISP provided you with. Press the enter key for "eth0", enter key again for "no", and type "server" (without the quotes) and press enter. After that it will ask you for a firewall (press "1" and enter), the ISP password and a final "y" at the end.

$ pppoe-start
$ ping -c 3 www.google.com

"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

Board footer

Powered by FluxBB