You are not logged in.

#1 2011-06-10 08:57:35

JvA
Member
Registered: 2011-06-10
Posts: 7

ppp0 connected but network remains unreachable

hi,

i'm using the adsl deamon to set up my pppoe connection at boottime for months now, but since i've updated the kernel to 2.6.38.8-1 yesterday and also updated the initscrips (including rc.conf merge) every time my machine starts up, the pppoe connection is established, i've got an ip but if i try to ping something i get "network unreachable". if i restart the adsl deamon everything works normal.
i don't know if it's kernel or initscript related.
anyway my rc.conf network section looks like:

interface=wlan0
address=192.168.1.1
netmask=255.255.255.0
gateway=192.168.1.1

this is to set up wlan0 connction because this machine routes the incomming pppoe conntection over wlan0 using hostapd.
the logoutput is the following:

first try:

Jun 10 10:15:46 localhost pppd[970]: pppd 2.4.5 started by root, uid 0
Jun 10 10:15:46 localhost pppd[970]: Using interface ppp0
Jun 10 10:15:46 localhost pppd[970]: Connect: ppp0 <--> /dev/pts/1
Jun 10 10:15:46 localhost pppoe[971]: PADS: Service-Name: ''
Jun 10 10:15:46 localhost pppoe[971]: PPP session is 407 (0x197)
Jun 10 10:15:47 localhost pppd[970]: PAP authentication succeeded
Jun 10 10:15:47 localhost kernel: [   13.576988] PPP BSD Compression module registered
Jun 10 10:15:47 localhost pppd[970]: not replacing existing default route via 192.168.1.1
Jun 10 10:15:47 localhost pppd[970]: Cannot determine ethernet address for proxy ARP
Jun 10 10:15:47 localhost pppd[970]: local  IP address 217.186.186.197
Jun 10 10:15:47 localhost pppd[970]: remote IP address 213.20.57.165
Jun 10 10:15:47 localhost pppd[970]: primary   DNS address 62.109.123.6
Jun 10 10:15:47 localhost pppd[970]: secondary DNS address 213.191.92.87

and after restarting the adsl deamon:

Jun 10 10:17:38 localhost pppoe-stop: Killing pppd
Jun 10 10:17:38 localhost pppd[970]: Terminating on signal 15
Jun 10 10:17:38 localhost pppd[970]: Connect time 1.9 minutes.
Jun 10 10:17:38 localhost pppd[970]: Sent 0 bytes, received 0 bytes.
Jun 10 10:17:38 localhost pppoe-stop: Killing pppoe-connect
Jun 10 10:17:38 localhost pppoe[971]: read (asyncReadFromPPP): Session 407: Input/output error
Jun 10 10:17:38 localhost pppoe[971]: Sent PADT
Jun 10 10:17:39 localhost pppd[1407]: pppd 2.4.5 started by root, uid 0
Jun 10 10:17:39 localhost pppd[1407]: Using interface ppp0
Jun 10 10:17:39 localhost pppd[1407]: Connect: ppp0 <--> /dev/pts/0
Jun 10 10:17:44 localhost pppoe[1408]: PADS: Service-Name: ''
Jun 10 10:17:44 localhost pppoe[1408]: PPP session is 3490 (0xda2)
Jun 10 10:17:44 localhost dnsmasq[1023]: failed to access /etc/resolv.conf: No such file or directory
Jun 10 10:17:44 localhost pppd[1407]: PAP authentication succeeded
Jun 10 10:17:44 localhost dnsmasq[1023]: reading /etc/resolv.conf
Jun 10 10:17:44 localhost pppd[1407]: Cannot determine ethernet address for proxy ARP
Jun 10 10:17:44 localhost pppd[1407]: local  IP address 77.179.109.145
Jun 10 10:17:44 localhost pppd[1407]: remote IP address 213.20.57.165
Jun 10 10:17:44 localhost pppd[1407]: primary   DNS address 62.109.123.7
Jun 10 10:17:44 localhost pppd[1407]: secondary DNS address 213.191.92.86

if you need some more information feel free to request wink

package versions:
ppp 2.4.5-2 (base)
rp-pppoe 3.10-6

thanks in advance for your help

Offline

#2 2011-06-10 15:30:51

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,652

Re: ppp0 connected but network remains unreachable

You probably need to add a default gateway to your routing table.

Please post the output of route and/or check out the man page of the route command.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2011-06-11 01:31:44

JvA
Member
Registered: 2011-06-10
Posts: 7

Re: ppp0 connected but network remains unreachable

this is the output i get if i run route:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
rdsl-cmnz-de01. *               255.255.255.255 UH    0      0        0 ppp0
192.168.1.0     *               255.255.255.0   U     0      0        0 wlan0
default         *               0.0.0.0         U     0      0        0 ppp0

seems pretty normal to me....

Offline

#4 2011-06-11 08:47:37

JokerBoy
Member
From: România
Registered: 2009-09-24
Posts: 641

Re: ppp0 connected but network remains unreachable

not for me.

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         *               0.0.0.0         U     0      0        0 ppp0
10.0.0.1        *               255.255.255.255 UH    0      0        0 ppp0

also paste the output of:

pacman -Qo `which -p ifconfig`

Offline

#5 2011-06-11 12:28:29

JvA
Member
Registered: 2011-06-10
Posts: 7

Re: ppp0 connected but network remains unreachable

output:

/sbin/ifconfig is owned by net-tools 1.60-16

shouldn't this be owned by iproute2 since the update?

Last edited by JvA (2011-06-11 12:35:22)

Offline

#6 2011-06-11 12:43:04

JokerBoy
Member
From: România
Registered: 2009-09-24
Posts: 641

Re: ppp0 connected but network remains unreachable

no, I wanted to see if you have net-tools installed. pppoe-{start,connect} fails[1] to connect to the internet without ifconfig.

[1] https://bugs.archlinux.org/task/24639

Offline

#7 2011-06-11 12:57:59

JvA
Member
Registered: 2011-06-10
Posts: 7

Re: ppp0 connected but network remains unreachable

the problem is not that pppoe fails to connect. i get an ip, no errors occure but i cannot ping any host. it seems to me that this is a routing problem....but thanks for the help anyways....

Offline

#8 2011-06-12 14:46:21

sparkplug
Member
Registered: 2011-06-12
Posts: 1

Re: ppp0 connected but network remains unreachable

I had the same problem,now I have to use "DHCP" in rc.conf to solve it.
Sorry for my poor English:-)

Offline

#9 2011-06-12 23:47:03

JvA
Member
Registered: 2011-06-10
Posts: 7

Re: ppp0 connected but network remains unreachable

but this will not work for me, because i have to assign a static ip for wlan0 because that machine is my internet access point and the dhcp host.

Offline

#10 2011-06-13 01:00:30

LessWire
Member
From: Bavaria
Registered: 2010-06-14
Posts: 46

Re: ppp0 connected but network remains unreachable

I had the same problem and changed to "netcfg" now which works fine.

Offline

Board footer

Powered by FluxBB