Hello,
Since years i have a pppoe connection started with systemd.
I use a file in /etc/ppp/peers called proximus with this content
# load plugin for PPPoE
plugin rp-pppoe.so
#
# Ethernet interface to use
eno3
#
# set user
#user bk287867@SKYNET
user bk287867@PROXIMUS
#
# set lower mtu/mru for PPPoE
mtu 1492
mru 1492
#
# automatically set the PPP connection as your default route (for IPv4 only)
defaultroute
replacedefaultroute
#
# obtain DNS entries
usepeerdns
#
# never die
idle 0
maxfail 0
persist
passive
# PCE 20220526.sn
# switch off all compressions (this is a must)
nopcomp
# this is recommended
novjccomp
noccp
# PCE 20220526.en
#
# renames the PPP connection from an automatically generated name (dzf= ppp0)
#ifname pppoe-proximus
#
#enable IPv6 support
# +ipv6
#
#use your IPv4 address as the local identifier for IPv6CP
#ipv6cp-use-ipaddr
noipv6
Today I did a zypper dup and rebooted the system but I receive now a lot of errors and i have no internet connection
Dec 22 22:17:45 hpprol2 systemd[1]: Created slice Slice /system/ppp.
Dec 22 22:17:57 hpprol2 systemd[1]: Starting PPP link to proximus...
Dec 22 22:17:58 hpprol2 pppd[1440]: /usr/sbin/pppd: /usr/lib64/pppd/2.5.0/rp-pppoe.so: cannot open shared object file: No such file or directory
Dec 22 22:17:58 hpprol2 pppd[1440]: /usr/sbin/pppd: Couldn't load plugin rp-pppoe.so
Dec 22 22:17:58 hpprol2 pppd[1440]: /usr/lib64/pppd/2.5.0/rp-pppoe.so: cannot open shared object file: No such file or directory
Dec 22 22:17:58 hpprol2 pppd[1440]: Couldn't load plugin rp-pppoe.so
Dec 22 22:17:58 hpprol2 systemd[1]: ppp@proximus.service: Control process exited, code=exited, status=2/INVALIDARGUMENT
Dec 22 22:17:58 hpprol2 systemd[1]: ppp@proximus.service: Failed with result 'exit-code'.
Dec 22 22:17:58 hpprol2 systemd[1]: Failed to start PPP link to proximus.
Dec 22 22:18:08 hpprol2 systemd[1]: ppp@proximus.service: Scheduled restart job, restart counter is at 1.
Dec 22 22:18:08 hpprol2 systemd[1]: Starting PPP link to proximus...
Dec 22 22:18:08 hpprol2 pppd[2106]: /usr/sbin/pppd: /usr/lib64/pppd/2.5.0/rp-pppoe.so: cannot open shared object file: No such file or directory
Dec 22 22:18:08 hpprol2 pppd[2106]: /usr/sbin/pppd: Couldn't load plugin rp-pppoe.so
Dec 22 22:18:08 hpprol2 pppd[2106]: /usr/lib64/pppd/2.5.0/rp-pppoe.so: cannot open shared object file: No such file or directory
Dec 22 22:18:08 hpprol2 pppd[2106]: Couldn't load plugin rp-pppoe.so
Dec 22 22:18:08 hpprol2 systemd[1]: ppp@proximus.service: Control process exited, code=exited, status=2/INVALIDARGUMENT
Dec 22 22:18:08 hpprol2 systemd[1]: ppp@proximus.service: Failed with result 'exit-code'.
Dec 22 22:18:09 hpprol2 systemd[1]: Failed to start PPP link to proximus.
Dec 22 22:18:18 hpprol2 systemd[1]: ppp@proximus.service: Scheduled restart job, restart counter is at 2.
etc....
i Find in /usr/lib64/ppd/2.5.0/ the next files
-rwxr-xr-x 1 root root 14304 déc. 21 23:50 minconn.so
-rwxr-xr-x 1 root root 22496 déc. 22 00:18 nm-pppd-plugin.so
-rwxr-xr-x 1 root root 26600 déc. 22 00:20 nm-pptp-pppd-plugin.so
-rwxr-xr-x 1 root root 14296 déc. 21 23:50 openl2tp.so
-rwxr-xr-x 1 root root 14464 déc. 21 23:50 passprompt.so
-rwxr-xr-x 1 root root 14464 déc. 21 23:50 passwordfd.so
-rwxr-xr-x 1 root root 14792 déc. 21 23:50 pppoatm.so
-rwxr-xr-x 1 root root 40064 déc. 21 23:50 pppoe.so
-rwxr-xr-x 1 root root 19240 déc. 21 23:50 pppol2tp.so
-rwxr-xr-x 1 root root 14304 déc. 21 23:50 radattr.so
-rwxr-xr-x 1 root root 65440 déc. 21 23:50 radius.so
-rwxr-xr-x 1 root root 18592 déc. 21 23:50 radrealms.so
-rwxr-xr-x 1 root root 22656 déc. 21 23:50 winbind.so
but no rp_pppoe.so. As I work around I did a link via “ln pppoe.so rp-pppoe.so” and this allowed to start the internet connection but with some erors
hpprol2:/usr/lib64/pppd/2.5.0 # systemctl status ppp@proximus.service
â—Ź ppp@proximus.service - PPP link to proximus
Loaded: loaded (/usr/lib/systemd/system/ppp@.service; enabled; preset: disabled)
Active: activating (start) since Fri 2023-12-22 22:55:55 CET; 54s ago
Docs: man:pppd(8)
Process: 6940 ExecStart=/usr/sbin/pppd call proximus linkname proximus updetach nolog (code=exited, status=0/SUCCESS)
Tasks: 1 (limit: 4915)
CPU: 881ms
CGroup: /system.slice/system-ppp.slice/ppp@proximus.service
└─6953 /usr/sbin/pppd call proximus linkname proximus updetach nolog
déc. 22 22:56:08 hpprol2 pppd[6940]: peer from calling number 20:E0:9C:0A:CD:47 authorized
déc. 22 22:56:09 hpprol2 pppd[6940]: Failed to create /etc/ppp/run/ppp_resolv.conf.ppp0: No such file or directory
déc. 22 22:56:09 hpprol2 pppd[6940]: Script /etc/ppp/ip-pre-up finished (pid 6945), status = 0x0
déc. 22 22:56:09 hpprol2 pppd[6940]: replacing old default route to vlan1 [192.168.1.1]
déc. 22 22:56:09 hpprol2 pppd[6940]: local IP address 87.67.189.171
déc. 22 22:56:09 hpprol2 pppd[6940]: remote IP address 10.24.97.36
déc. 22 22:56:09 hpprol2 pppd[6940]: primary DNS address 195.238.2.21
déc. 22 22:56:09 hpprol2 pppd[6940]: secondary DNS address 195.238.2.22
déc. 22 22:56:09 hpprol2 systemd[1]: ppp@proximus.service: Can't open PID file /run/ppp-proximus.pid (yet?) after start: No such file or directory
déc. 22 22:56:10 hpprol2 pppd[6953]: Script /etc/ppp/ip-up finished (pid 6961), status = 0x0
and in the journal I receive errors : the internet link go down and is restarted each 1minutes (90 secondes?)
Dec 22 23:04:19 hpprol2 systemd[1]: ppp@proximus.service: Failed with result 'timeout'.
Dec 22 23:04:19 hpprol2 systemd[1]: Failed to start PPP link to proximus.
Dec 22 23:04:19 hpprol2 systemd[1]: ppp@proximus.service: Consumed 1.418s CPU time.
Dec 22 23:04:29 hpprol2 systemd[1]: ppp@proximus.service: Scheduled restart job, restart counter is at 113.
Dec 22 23:04:29 hpprol2 systemd[1]: Starting PPP link to proximus...
Dec 22 23:04:29 hpprol2 pppd[8041]: Plugin rp-pppoe.so loaded.
Dec 22 23:04:29 hpprol2 pppd[8041]: Plugin rp-pppoe.so loaded.
Dec 22 23:04:29 hpprol2 pppd[8041]: PPPoE plugin from pppd 2.5.0
Dec 22 23:04:29 hpprol2 pppd[8041]: PPPoE plugin from pppd 2.5.0
Dec 22 23:04:29 hpprol2 pppd[8041]: Warning: couldn't open ppp database /var/run/pppd/pppd2.tdb
Dec 22 23:04:29 hpprol2 pppd[8041]: pppd 2.5.0 started by root, uid 0
Dec 22 23:04:30 hpprol2 pppd[8041]: PPP session is 1
Dec 22 23:04:30 hpprol2 pppd[8041]: Connected to 20:E0:9C:0A:CD:47 via interface eno3
Dec 22 23:04:30 hpprol2 pppd[8041]: Using interface ppp0
Dec 22 23:04:30 hpprol2 systemd-networkd[1346]: ppp0: Saved new link: ifindex=30, iftype=PPP(512), kind=ppp
Dec 22 23:04:30 hpprol2 systemd-networkd[1346]: ppp0: Saved original MTU 1500 (min: 0, max: 4294967295)
Dec 22 23:04:30 hpprol2 pppd[8041]: Connect: ppp0 <--> eno3
Dec 22 23:04:30 hpprol2 systemd-networkd[1346]: ppp0: Saved IPv6 link-local address generation mode: eui64
Dec 22 23:04:30 hpprol2 systemd-networkd[1346]: ppp0: Flags change: +MULTICAST +POINTOPOINT +NOARP
etc...
Any idea a how to solve this
Many thanks in advance
Philippe