Raspberry pi zero unable to access many websites

Well the wget command I gave above is the same as browser.

Can you clarify where your tp-link router with openwrt is?

That shouldn't be necessary... just fix your DHCP server settings on the lan. Then reboot your computer or force it to renew the DHCP lease.

Thanks all. Will try above recommendations from you and @psherman and come back

This is what I get at client side now

C:\Users\hossa>nslookup downloads.openwrt.org
Server:  OpenWrt.lan
Address:  10.0.0.1

Non-authoritative answer:
Name:    mirror-02.infra.openwrt.org
Addresses:  2a01:4f8:251:321::2
          168.119.138.211
Aliases:  downloads.openwrt.org


C:\Users\hossa>nslookup downloads.openwrt.org 8.8.8.8
Server:  dns.google
Address:  8.8.8.8

Non-authoritative answer:
Name:    mirror-02.infra.openwrt.org
Addresses:  2a01:4f8:251:321::2
          168.119.138.211
Aliases:  downloads.openwrt.org

yes, wget seems to be not working on openwrt for those problematic sites. So basically http/ https connections are not working on some sites. @faser

root@OpenWrt:~# wget https://google.com
Downloading 'https://google.com'
Connecting to 2404:6800:4007:80a::200e:443
Redirected to / on www.google.com
Writing to 'index.html'

Download completed (16172 bytes)
root@OpenWrt:~# wget https://downloads.openwrt.org
Downloading 'https://downloads.openwrt.org'
Connecting to 2a01:4f8:251:321::2:443

Just checking here -- what is the address of the OpenWrt router (Pi zero)? In your previously posted config, it was 192.168.0.1. Did you change it?

If you bypass the OpenWrt router entirely, what happens with the client computer's ability to download from those websites?

Yes. Glad that you noticed. I changed the LAN address.

ok... good. But what about if you bypass the pi and use the main router?

I do not have issue if I replace Pi router with the TPLink router which also has Openwrt

You’ve explicitly tested this? Just to verify that everything upstream is indeed working properly.

yes. I have been using the TPLink with Openwrt for last six months.

An interesting fact to share. I have a Raspberry Pi 3b+. I just configured this Rpi3 and everything working fine!

Just do not understand what is wrong with RpiZero. It requires an USB can card. Could this be an issue?

Thanks all. I am giving up trying on RPiZero. I have copied the configuration from my RPi3 B+ which works fine to RPiZero but no result.

Which means there is something wrong with the USB LAN card for RPiZero or the driver of the card, or the firmware package for the RPiZero.

Greatly appreciate all your patience @psherman @faser @Pico

I don’t think the usb lan adapter has anything to do with the problem - it operates at L1 and the problem is l3 or l4 or higher.

You might try resetting to defaults and only changing the minimum configuration necessary to run in your environment.

Hi All,
Good news.

I have managed to solve the issue. It was because of MTU while the previous MTU worked for my TPLink router and Rapsberry Pi 3b but did not work for my RPi Zero.

I calculated the MTU using

ping google.com -f -l XXXX

where XXXX is the test MTU number, until I received a message that did not say

Packet needs to be fragmented but DF set

For my connection, 1470 works fine.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.