Hi !
Ich baue meine Internetverbindung per ppp auf... ich hab festgestellt dass der Aufbau recht lange dauert, aber die scripte in if-up unter ppp ausgeführt werden wenn die Verbindung noch nicht existiert. hier mal ein Log Auszug nach einem Neustart:
2024-05-26T10:50:57.645199+02:00 firewall pppd[1179]: Plugin rp-pppoe.so loaded. 2024-05-26T10:50:57.645334+02:00 firewall ifup[1179]: Plugin rp-pppoe.so loaded. 2024-05-26T10:50:57.657615+02:00 firewall pppd[1198]: pppd 2.4.9 started by root, uid 0 2024-05-26T10:51:02.838431+02:00 firewall ddclient[2154]: FAILED: Unable to obtain information for 'ppp0' -- missing ip or ifconfig command 2024-05-26T10:51:17.903996+02:00 firewall ddclient[2154]: FAILED: Unable to obtain information for 'ppp0' -- missing ip or ifconfig command 2024-05-26T10:51:17.922429+02:00 firewall ddclient[2154]: FAILED: Unable to obtain information for 'ppp0' -- missing ip or ifconfig command 2024-05-26T10:51:17.938855+02:00 firewall ddclient[2154]: FAILED: Unable to obtain information for 'ppp0' -- missing ip or ifconfig command
hier werden z.B. die scripte ausgeführt die unter /etc/ppp/if-up liegen , mein ddclient nutzt das Interface und da fehtl noch die IP
2024-05-26T10:51:32.710181+02:00 firewall pppd[1198]: Timeout waiting for PADO packets 2024-05-26T10:51:32.715455+02:00 firewall pppd[1198]: Unable to complete PPPoE Discovery 2024-05-26T10:52:37.749268+02:00 firewall pppd[1198]: Timeout waiting for PADO packets 2024-05-26T10:52:37.755471+02:00 firewall pppd[1198]: Unable to complete PPPoE Discovery 2024-05-26T10:53:07.925658+02:00 firewall pppd[1198]: PPP session is 51 2024-05-26T10:53:07.930480+02:00 firewall pppd[1198]: Connected to d4:04:ff:28:0e:48 via interface enp1s0
da wird anscheinend das Interface erst angelegt...
2024-05-26T10:53:07.931810+02:00 firewall pppd[1198]: Using interface ppp0 2024-05-26T10:53:07.931950+02:00 firewall pppd[1198]: Connect: ppp0 <--> enp1s0 2024-05-26T10:53:08.112734+02:00 firewall pppd[1198]: Remote message: SRU=38848#SRD=83627# 2024-05-26T10:53:08.112960+02:00 firewall pppd[1198]: PAP authentication succeeded 2024-05-26T10:53:08.113059+02:00 firewall pppd[1198]: peer from calling number D4:04:FF:28:0E:48 authorized 2024-05-26T10:53:08.224563+02:00 firewall named[1300]: listening on IPv4 interface ppp0, XXX.XXX.XXX.5#53 2024-05-26T10:53:08.243401+02:00 firewall systemd-networkd[1077]: ppp0: Link UP 2024-05-26T10:53:08.243649+02:00 firewall systemd-networkd[1077]: ppp0: Gained carrier 2024-05-26T10:53:08.243736+02:00 firewall pppd[1198]: replacing old default route to enp2s0 [192.168.0.1] 2024-05-26T10:53:08.243801+02:00 firewall pppd[1198]: local IP address XXX.XXX.XXX.5 2024-05-26T10:53:08.243858+02:00 firewall pppd[1198]: remote IP address 62.155.243.222 2024-05-26T10:53:08.245354+02:00 firewall pppd[1198]: local LL address fe80::68bd:f374:a0d9:16d0 2024-05-26T10:53:08.245560+02:00 firewall pppd[1198]: remote LL address fe80::d604:ffff:fe28:0e48 2024-05-26T10:53:08.245638+02:00 firewall systemd-networkd[1077]: ppp0: Gained IPv6LL 2024-05-26T10:53:08.245718+02:00 firewall named[1300]: listening on IPv6 interface ppp0, fe80::68bd:f374:a0d9:16d0%8#53
eingerichtet habe ich das Ganze mit pppoeconf.. Der lange Verbindungsaufbau stoert mich ja nicht mal... aber die scripte werden zu früh ausgeführt, sprich auch der interne DNS Update (ohne dd client) findet nicht statt...
Wie kann ich das ändern ... am besten natuerlich waere es wenn die Verbindung schneller ausgebaut werden würde...
Gruss Gerd