I have a Ras Pi 3 B running 42.2, with necessary network tools installed, and I connect it to the modem directly. After pppoe-setup successfully and netstat -r shows the PPPoE connection (both Wicked and NetworkManager), ppp0 was shown on the right-bottom but no valid Internet connection is available. How can I solve it?
Could you give us a more complete picture please? When the PPPoE connection is activated, what does ‘pppoe-status’ report?
Also, the IP addressing and routing…
ip add
ip route
and check valid DNS…
grep name /etc/resolv.conf
Copy/paste the commands and output to a text file, save to a memory stick so that you can post via a machine with a working internet connection if necessary.
It might also be useful to examine the systemd log for pppd messages when first connecting. Open a terminal window and run
sudo journalctl -f |grep pppd
then initiate the PPPoE connection and observe/capture the output.
I kept using NetworkManager, but now switch back to Wicked and wonder if I could solve this problem. After carefully setting up, and run pope-start, ppp0 is up but not effective. What’s wrong?
pppoe-status: Link is up and running on interface ppp0
ppp0 Link encap:Point-to-Point Protocol
inet addr:172.29.200.239 P-t-P:172.29.0.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:54 (54.0 b) TX bytes:61 (61.0 b)
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
10.69.0.0 * 255.255.0.0 U 0 0 0 wlan0
172.29.0.1 * 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
; <<>> DiG 9.9.9-P1 <<>>
;; global options: +cmd
;; connection timed out; no servers could be reached
ping: unknown host bing.com
From what you posted,
Your network connection might be working, but no DNS server is configured.
TSU
There are valid DNS written in /etc/resolv.conf file. Besides, no difference whether I fill DNS in YaST - Network Setting. Where should I set?
When you think you are connected, can you demonstrate that you can ping a well known internet IP address first?
For example, a Google DNS address…
ping 8.8.8.8
or yahoo.com
ping 98.139.180.149
then see if name resolution is working eg
nslookup yahoo.com
I suggest this problem caused by incorrect default route.
When using Wicked: default via 192.168.1.1 dev eth0 …
When using NetworkManager: default via 172.29.0.1 dev ppp0 proto static metric 100