On Tue, Jan 14, 2014 at 08:01:39PM +0100, Martijn Rijkeboer wrote: > Hi, > > I'm trying to setup a PPPoE connection to my ISP (solcon.nl). I've read > pppoe(4) and pppoe(8) and got the following configuration: > > cat /etc/hostname.pppoe0 > inet 0.0.0.0 255.255.255.255 NONE \ > pppoedev em2 authproto pap \ > authname '<username>@solcon.net' authkey '<password>' up > dest 0.0.0.1 > !/sbin/route add default -ifp pppoe0 0.0.0.1 > > > cat /etc/hostname.em2 > up > > > According to my ISP I should specify my IP-address and netmask which makes > the following: > > cat /etc/hostname.pppoe0 > inet 123.123.123.1 255.255.255.128 NONE \ > pppoedev em2 authproto pap \ > authname '<username>@solcon.net' authkey '<password>' up > dest 0.0.0.1 > !/sbin/route add default -ifp pppoe0 0.0.0.1 > > > In both cases I'm getting "pppoe0: pap failure". This seems to indicate > that the authentications is wrong, but according to my ISP they don't see > any traffic from me to their radius server and we double checked the > username and password.
Does it work with a configuration such as this? inet 123.123.123.1 255.255.255.128 NONE \ pppoedev em2 authproto pap \ authname '<username>@solcon.net' authkey '<password>' up dest 0.0.0.1 ! /sbin/route add default 123.123.123.1 I'm using a configuration like that with static IP over pppoe from a german ISP and it works fine. You might see some hints logged to /var/log/messages if you run 'ifconfig pppoe0 debug'.