cancel
Showing results for 
Search instead for 
Did you mean: 

pppoe config in debian linux not working

stryker
Newbie
Posts: 1
Registered: 16-07-2015

pppoe config in debian linux not working

Hi,
I've googled high and low and have not been able to resolve this issue.  I appreciate connecting in this manner is not supported but just wonder if anyone else on here has managed it.
I have a debian machine that I intend to use as my internet router, have used it previously when I had virgin broadband.  I installed pppoeconf and have been dogged by chap authentication failures.  Log is shown below:
FYI on the configuration of the physical eth1 interface and in the dsl-providers file I've played with various MTUs as a result of my google search and none have worked.
Note: I've put stars in the username and passwords to save spreading them all over the place on the forums.  I can totally verify that the credentials are correct, I've checked them so many times for exact characters and case.
Eth1 is plugged directly into the modem.... I can also verify that when I use the supplied plusnet router the connection works fine.

Jul 15 01:20:45 bdrt1 pppd[1400]: Plugin rp-pppoe.so loaded.
Jul 15 01:20:45 bdrt1 pppd[1401]: pppd 2.4.6 started by root, uid 0
Jul 15 01:20:45 bdrt1 pppd[1401]: PPP session is 343
Jul 15 01:20:45 bdrt1 pppd[1401]: Connected to a0:f3:e4:34:06:49 via interface eth1
Jul 15 01:20:45 bdrt1 pppd[1401]: Using interface ppp0
Jul 15 01:20:45 bdrt1 pppd[1401]: Connect: ppp0 <--> eth1
Jul 15 01:20:46 bdrt1 pppd[1401]: CHAP authentication failed
Jul 15 01:20:46 bdrt1 pppd[1401]: CHAP authentication failed
Jul 15 01:20:52 bdrt1 pppd[1401]: Connection terminated.
Jul 15 01:20:52 bdrt1 pppd[1401]: Modem hangup
Jul 15 01:21:11 bdrt1 pppd[1401]: Terminating on signal 15
Jul 15 01:21:11 bdrt1 pppd[1401]: Exit.

My current pppd config is (/etc/ppp/peers/dsl-provider)

#Plusnet Broadband
# Use the pppoe kernel module.
plugin rp-pppoe.so eth1
# Name this connection as ppp0.
unit 0
user *******@plusdsl.net
# No default IP; allocated dynamically by ISP.
noipdefault
# Try to get name servers from ISP.
usepeerdns
# Use this connection as the default route.
defaultroute
# Replace the default route if already present
replacedefaultroute
# There is an 8 byte overhead for PPPoE; however,
# we are using baby jumbo frames of 1508 on eth0
# to account for the extra 8 byte overhead.
mtu 1500
mru 1500
# Exclude password string when logging packet contents.
hide-password
noauth
# Try to reopen the connection if it is terminated.
persist

The secrets file (/etc/ppp/chap-secrets)

# Secrets for authentication using CHAP
# client server secret IP addresses
"*******@plusdsl.net" * "**********"

Any ideas greatly appreciated.
Cheers
2 REPLIES
PeeGee
Aspiring Pro
Posts: 1,081
Thanks: 45
Fixes: 3
Registered: 05-04-2009

Re: pppoe config in debian linux not working

... and the modem is?
Plusnet Fibre (Sep 2014), Essentials (Feb 2013); ADSL (Apr 2009); Customer since Jan 2004 (on 28kb dial-up)
Using a TP-Link TD-W9980 modem-router.
Community Veteran
Posts: 19,099
Thanks: 434
Fixes: 21
Registered: 31-08-2007

Re: pppoe config in debian linux not working

Because Plusnet is on BTw 's network, it normally needs to be PPPoA on ADSL. I have heard of people managing to use PPPoE but I can't recall how they set it up atm. It's not as efficient because the arrangement uses more overheads IIRC. There's a couple of other posters whose knowledge in this area is far better and will hopefully pick this up.