Installing a pppoe client on NethServer

That’s a great news! @mabeleira @ibinetwork what about?

I would test it as well!

1 Like

@giacomo if you set DB networks set ppp0 xdsl so no file in /etc/sysconfig/network-scripts/ifcfg-ppp0 has created :frowning:

Good News :wink:

Thanks!

I know, you need a patched version of nethserver-base module. The code is on pppoe branch :wink:

1 Like

:checkered_flag: the issue #3218 is now ON_QA!

Who has an ADSL+Ethernet modem to to test it?

@davidep some errors in my server :
Task completed with errors
S70network-start #8 (exit status 256)

Could you paste relevant lines from /var/log/messages?

Jul 15 20:28:01 nethserver pppoe-connect: PPPoE connection lost; attempting re-connection.
Jul 15 20:28:07 nethserver pppd[30102]: pppd 2.4.5 started by root, uid 0
Jul 15 20:28:07 nethserver pppd[30102]: Using interface ppp0
Jul 15 20:28:07 nethserver pppd[30102]: Connect: ppp0 <–> /dev/pts/0
Jul 15 20:28:07 nethserver pppoe[30103]: PPP session is 33616 (0x8350)
Jul 15 20:28:07 nethserver pppoe[30103]: Session 33616 terminated – received PADT from peer
Jul 15 20:28:07 nethserver pppoe[30103]: PADT: Generic-Error: session closed
Jul 15 20:28:07 nethserver pppoe[30103]: Sent PADT
Jul 15 20:28:07 nethserver pppd[30102]: Modem hangup
Jul 15 20:28:07 nethserver pppd[30102]: Connection terminated.
Jul 15 20:28:07 nethserver pppd[30102]: Exit.

1 Like

There’s probably a bug: chap and pap secrets are not created with the correct user and password.
Could you check that /etc/ppp/pap-secrets has
"user" * "password"
If not, put the correct values and retry connecting.
Thanks for testing.

My mistake in

I will fix it tomorrow!

I have, and i can test it on the machine i’m setting up vpn client

1 Like

i’ve updatede nethserver-base and nethserver-firewall-base, but can’t find
the adsl setting on the gui, do i have to install other stuff?

Running Transaction
Installing : rp-pppoe-3.10-11.el6.x86_64
1/3
Updating : nethserver-firewall-base-2.6.4-1.6.g9265e17.ns6.noarch
2/3
Cleanup : nethserver-firewall-base-2.6.3-1.ns6.noarch
3/3
Verifying : nethserver-firewall-base-2.6.4-1.6.g9265e17.ns6.noarch
1/3
Verifying : rp-pppoe-3.10-11.el6.x86_64
2/3
Verifying : nethserver-firewall-base-2.6.3-1.ns6.noarch
3/3

Dependency Installed:
rp-pppoe.x86_64 0:3.10-11.el6

From the attached text it seems the RPM transaction does not include nethserver-base.

I’ve pushed two new packages in nethserver-testing, fixing the pap/chap secret files problem, signaled by @nas and @filippo_carletti :

  • nethserver-base-2.7.4-1.7.gc18fb3b.ns6.noarch.rpm
    nethserver-base-2.7.4-1.8.geaf3fc3.ns6.noarch.rpm
  • nethserver-firewall-base-2.6.4-1.7.g6a0f282.ns6.noarch.rpm

Please, see also the issue on redmine:

I’ll try to test them tonight.

All works !
Thanks @filippo_carletti and @davidep !

@davidep @filippo_carletti @giacomo there is one thing that have not been changed is Proxy feature in Dnsmasq about wpad file . It steel uses dns name of server better use ip :slight_smile:

so still no ppoe client like other distros ? when will it be standard ?

The PPPoE feature have been released long time ago.
Please see: http://docs.nethserver.org/en/v7/base_system.html?highlight=pppoe#logical-interfaces