Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#4213 - Internet Doesn't Work At All. Needs Investigation. #9192

openwrt-bot opened this issue Dec 28, 2021 · 1 comment

FS#4213 - Internet Doesn't Work At All. Needs Investigation. #9192

openwrt-bot opened this issue Dec 28, 2021 · 1 comment


Copy link

@openwrt-bot openwrt-bot commented Dec 28, 2021


I have been experimenting with OpenWRT using a Raspberry Pi, however the PI cannot connect to the internet. After wasting many hours google-ing and trying every suggestion I can find I have reached the conclusion that something is critically wrong with OpenWRT. I have seen that a lot of people are having this problem, so I would like to start a discussion on how to resolve these internet connectivity issues once and for all.

I am in my office, I just have a single ethernet port for my suite. So the office ethernet port is connected to a TP-Link (TL-GS1016S). My MacBook is connected to one port and the Pi running OpenWRT is connected using another port.

My MacBook pro is connected to the same switch as the Pi and the internet is working fine. I have Wi-fi disabled on my Mac. I can ping the Raspberry pi from my MacBook (ping with no issues and vice-versa. Although I cannot access Luci via the IP address.

Download OpenWRT for Pi 4 from here:

Flash to SD Card using etcher

Add IP Address using the following commands. Source:
uci set network.lan.ipaddr=""
uci set network.lan.gateway=""
uci set network.lan.dns=""
uci commit
/etc/init.d/network restart

However i still can not run
ping: bad address ''
PING ( 56 data bytes
does nothing


Solutions I have tried.
Add default gateway as there was no default when I ran $> route. Source:

route add default gw br-lan

Also tried:

route add -net netmask gw

I tried adding 2 dns items to /etc/config/network

list dns ''
list dns ''

Copy link

@jmv2009 jmv2009 commented Apr 30, 2022

This is not really a support forum, but can you ping the gateway? Also, have you tried wireshark? You possibly should assign to br-lan rather than lan? Can you ssh into openwrt on the raspberry pi? Since you are issuing commands, does uhttpd appear to be running (ps)? What does traceroute do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

2 participants