PPPoE connected but no internet

Hello,

Fresh install configured pppoe and it's working ( got IP from ISP) and DNS resolution worked completely both in router and lan however there is no internet connectivity in both of them, any tips where to start troubleshooting?

Thanks

Name resolution requires an internet connection, so there has to be some connectivity...
Does "ping 8.8.8.8" work? Does "ping www.google.com" work? And "opkg update"?

that's what I meant by DNS resolution the first two worked and no for third

What is the output of

ip addr; ip ro list table all; ip rule show
traceroute openwrt.org

?

IPv6 works fine.
Try with IPv4 traceroute -4 openwrt.org

root@OpenWrt:~# traceroute -4 openwrt.org
traceroute to openwrt.org (139.59.209.225), 30 hops max, 46 byte packets
 1  10.188.192.35 (10.188.192.35)  8.309 ms  9.467 ms  8.082 ms
 2  10.188.193.161 (10.188.193.161)  9.962 ms  10.188.193.163 (10.188.193.163)                                13.622 ms  10.188.193.161 (10.188.193.161)  13.206 ms
 3  *  *  10.188.199.169 (10.188.199.169)  10.519 ms
 4  10.188.199.76 (10.188.199.76)  89.478 ms  10.188.199.172 (10.188.199.172)  10.393 ms  10.188.6.244 (10.188.6.244)  10.643 ms
 5  ae40.ams3-edge1.digitalocean.com (80.249.211.163)  97.783 ms  10.188.199.76 (10.188.199.76)  101.954 ms  90.248 ms
 6  *  fra1-edge1.digitalocean.com (80.81.193.141)  88.756 ms  138.197.244.68 (138.197.244.68)  97.395 ms
 7  138.197.250.148 (138.197.250.148)  89.031 ms  *  *
 8  138.197.250.136 (138.197.250.136)  95.330 ms  *  *
 9  *  *  *
10  *  wiki-01.infra.openwrt.org (139.59.209.225)  86.321 ms  *
root@OpenWrt:~#

Both work fine on the router. What doesn't work on the router?

no internet in router (opgk update) or lan devices

What is the output of opkg update ?

Errors
Collected errors:
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/targets/rockchip/armv8/packages/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_generic/base/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_generic/luci/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_generic/packages/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_generic/routing/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_generic/telephony/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.
The opkg update command failed with code 6.


Are you sure you have the correct time set on the router?

Wrong time should give a different error.
Are you certain that your ISP doesn't have any weird settings needed?
What is the output of

wget -O - http://icanhazip.com
root@OpenWrt:~# wget -O - http://icanhazip.com
--2023-08-04 17:41:18--  http://icanhazip.com/
Resolving icanhazip.com... 2606:4700::6812:7361, 2606:4700::6812:7261, 104.18.11                            4.97, ...
Connecting to icanhazip.com|2606:4700::6812:7361|:80... connected.
HTTP request sent, awaiting response...

and there is no response

the time in the previous command output is different from time zone set in LUCI, is it related?

With http the time doesn't matter. It would be a problem with https.
It is evident that something is blocking your http(s) packets and you should talk to your ISP.

1 Like

Hi

could you please try

wget -4 -O - http://icanhazip.com

whatever you want counsellor

root@OpenWrt:~# wget -4 -O - http://icanhazip.com
--2023-08-04 20:55:20--  http://icanhazip.com/
Resolving icanhazip.com... 104.18.114.97, 104.18.115.97
Connecting to icanhazip.com|104.18.114.97|:80... connected.
HTTP request sent, awaiting response...

the same result

hmmm

is your firewall at default settings?
did you try to mess with some 80 & 443 port forwarding ?

as i see, icmp & udp is working fine, it is not related to IPv6
both v4 & v6 have same result

as @trendy say, maybe your ISP block http(s) traffic, maybe you need to login somewhere ?
or you messed up your firewall

1 Like

Can you try lowering the MTU on your PPPoE connection? Try 1492, 1480, or even 1400 to see if that helps.

1 Like