I'm currently having trouble accessing the Internet via wifi on my Fritz.box 7430.
As the router does not have a WAN port, I reconfigured one of the LAN ports.
I'm connected to the internet via regular ethernet, my ISP gives me a static IP address.
On my android phone, selecting the OpenWrt ssid gets me stuck at obtaining IP address. If I manually set one (e.g. 192.168.1.112) I do get a connection, but no internet access.
Could someone give me a pointer to what I am doing wrong? I'm really new to all of this networking stuff, so I probably got some of the terminology wrong.
I guess this has something to do with a wrong DHCP setup? Or maybe a firewall issue? I didn't change any of the defaults there though.
Thanks for the reply! I tried setting the DNS manually to 220.127.116.11 on the router and on the phone, but still get no connection.
If this would be an DNS issue, wouldn't this mean that the devices connected via LAN also should not have internet access (but they do)?
Thanks, that's exactly what I did!
While the documentation is good and extensive, it cannot cover every possible use case.
So if you can tell what's going wrong here, a pointer to the possible cause would be much appreciated.
I just got it working. For anyone who has a similar problem in the future:
I just did a factory reset and reconfigured everything and it worked out of the box.
These are the contents of the /etc/config/network:
I'm not sure why it wasn't working before, the only differences I can spot are a.) the WAN port was on VLAN 1, now it is on VLAN 2, which I believe was a bit unusual and b.) the LAN device was 'eth0.2' instead of 'br-lan'. If I had to bet this was probably the main culprit.