You are not logged in.

#1 2013-04-18 18:22:00

nonamed
Member
Registered: 2013-04-18
Posts: 3
Website

Problem with PPPoE

Hi!

I am trying to get my ADSL connection working. It looks like this: there is a WAN cable that comes to modem and there are few ethernet outputs from the modem (it is PPPoE). One output is connected to the WiFi router and it works fine. When I try to connect computer directly to modem, connection does not work on Linux (it was working on Windows but Windows is out now). I have tried straight and crossed-over cables and neither NetworkManager nor rp-pppoe does not want to work. Log says that pppoe discovery packet is sent but there is no response.

Here is log from pppoe-start (I have configured it with pppoe-setup).

Apr 18 20:07:15 nonamed pppd[2849]: pppd 2.4.5 started by user, uid 0
Apr 18 20:07:15 nonamed systemd-sysctl[2852]: Duplicate assignment of kernel/sys
rq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Apr 18 20:07:15 nonamed pppd[2849]: Using interface ppp0
Apr 18 20:07:15 nonamed pppd[2849]: Connect: ppp0 <--> /dev/pts/3
Apr 18 20:07:15 nonamed pppd[2849]: Modem hangup
Apr 18 20:07:15 nonamed pppd[2849]: Connection terminated.
Apr 18 20:07:15 nonamed pppd[2849]: Exit.
Apr 18 20:07:15 nonamed pppoe-connect: PPPoE connection lost; attempting re-connection.

And here is from NetworkManager

Apr 18 20:10:00 nonamed pppd[2923]: Plugin rp-pppoe.so loaded.
Apr 18 20:10:00 nonamed pppd[2923]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Apr 18 20:10:00 nonamed NetworkManager[2872]: Plugin rp-pppoe.so loaded.
Apr 18 20:10:00 nonamed NetworkManager[2872]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Apr 18 20:10:00 nonamed pppd[2923]: Plugin /usr/lib/pppd/2.4.5/nm-pppd-plugin.so loaded.
Apr 18 20:10:00 nonamed NetworkManager[2872]: Plugin /usr/lib/pppd/2.4.5/nm-pppd-plugin.so loaded.
Apr 18 20:10:01 nonamed pppd[2923]: pppd 2.4.5 started by root, uid 0
Apr 18 20:10:20 nonamed NetworkManager[2872]: <info> (enp2s0): IP6 addrconf timed out or failed.
Apr 18 20:10:20 nonamed NetworkManager[2872]: <info> Activation (enp2s0) Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
Apr 18 20:10:20 nonamed NetworkManager[2872]: <info> Activation (enp2s0) Stage 4 of 5 (IPv6 Configure Timeout) started...
Apr 18 20:10:20 nonamed NetworkManager[2872]: <info> Activation (enp2s0) Stage 4 of 5 (IPv6 Configure Timeout) complete.
Apr 18 20:10:30 nonamed NetworkManager[2872]: <warn> pppd timed out or didn't initialize our dbus module
Apr 18 20:10:30 nonamed NetworkManager[2872]: <info> (enp2s0): device state change: ip-config -> failed (reason 'ppp-failed') [70 120 14]
Apr 18 20:10:30 nonamed NetworkManager[2872]: <warn> Activation (enp2s0) failed for connection 'DSL Connection'
Apr 18 20:10:30 nonamed NetworkManager[2872]: <info> (enp2s0): device state change: failed -> disconnected (reason 'none') [120 30 0]
Apr 18 20:10:30 nonamed NetworkManager[2872]: <info> (enp2s0): deactivating device (reason 'none') [0]
# pppoe-discovery -I enp2s0
Timeout waiting for PADO packets

I have no idea what is wrong. Is there any hope to solve it?

Offline

#2 2013-04-18 19:08:16

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: Problem with PPPoE

You say you can connect the wifi router to the modem? Most probably the modem handle the pppoe stuff itself and give an address to the computer by dhcp. To test the situation disable network manager, connect the computer to the modem and do

dhcpcd <name of the interface>

You can find the name of the interface with

ip link show

Offline

#3 2013-04-18 19:24:44

nonamed
Member
Registered: 2013-04-18
Posts: 3
Website

Re: Problem with PPPoE

You say you can connect the wifi router to the modem? Most probably the modem handle the pppoe stuff itself and give an address to the computer by dhcp.

Modem does not handle pppoe stuff itself. WiFi router is configured to use PPPoE with login and password and then makes WLAN I can connect. Dhcpcd can't find any dhcp server on the ethernet.

# dhcpcd enp2s0
dhcpcd[3182]: version 5.6.7 starting
dhcpcd[3182]: enp2s0: carrier acquired
dhcpcd[3182]: enp2s0: carrier lost
dhcpcd[3182]: enp2s0: waiting for carrier
dhcpcd[3182]: enp2s0: carrier acquired
dhcpcd[3182]: enp2s0: sending IPv6 Router Solicitation
dhcpcd[3182]: enp2s0: sendmsg: Cannot assign requested address
dhcpcd[3182]: enp2s0: broadcasting for a lease
dhcpcd[3182]: enp2s0: sending IPv6 Router Solicitation
dhcpcd[3182]: enp2s0: sending IPv6 Router Solicitation
dhcpcd[3182]: enp2s0: sending IPv6 Router Solicitation
dhcpcd[3182]: enp2s0: no IPv6 Routers available
dhcpcd[3182]: timed out

Offline

Board footer

Powered by FluxBB