You are not logged in.
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.1this 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.87and 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.86if you need some more information feel free to request ![]()
package versions:
ppp 2.4.5-2 (base)
rp-pppoe 3.10-6
thanks in advance for your help
Offline
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
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 ppp0seems pretty normal to me....
Offline
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 ppp0also paste the output of:
pacman -Qo `which -p ifconfig`Arch64/DWM || My Dropbox referral link
Offline
output:
/sbin/ifconfig is owned by net-tools 1.60-16shouldn't this be owned by iproute2 since the update?
Last edited by JvA (2011-06-11 12:35:22)
Offline
no, I wanted to see if you have net-tools installed. pppoe-{start,connect} fails[1] to connect to the internet without ifconfig.
Arch64/DWM || My Dropbox referral link
Offline
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
I had the same problem,now I have to use "DHCP" in rc.conf to solve it.
Sorry for my poor English:-)
Offline
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
I had the same problem and changed to "netcfg" now which works fine.
Offline