Hello, I've been trying to use a Raspberry Pi 4 as an OpenWRT router for while now with little success.
I apologise for my lack of networking know-how, the below probably isn't enough information to diagnose my issue. But I'll provide any other logs that are required.
My setup:
-
USB-A > RJ-45 dongle connected to my modem (technicolor TC4400VDF).
-
On board RJ-45 & Wi-FI connected to LAN.
I have the right drivers installed for the dongle.
The modem has 2 RJ-45 ports, one is plugged into the official (non OpenWRT compatible) Vodafone router, and one is plugged in to my pi.
I've tried only plugging in the Pi, but still no luck.
The hope is to have two LANs one for me, one for my family.
So far, over two days, the best I've achieved is a working LAN & WLAN and a WAN interface gets assigned a 30s DHCP lease, that does not get resigned without resting the modem.
The ipv4 IP that gets assigned to the wan interface is 192.168.100.10/24
.
During the period when I have a DHCP lease, I still do not have any internet.
I've tried pinging domain names "voidlinux.org" and IPs "1.1.1.1", but no luck.
I've not changed anything in firewall settings, or anything really besides what should be the bare minimum required to get internet.
So it's almost a stock install.
I'm rather confused, in the guides I've followed, it "just worked".
Namely: YT link
I went to this guide after I also had little luck with following the official documentation.
Could this be a problem with my ISP? That is, Vodafone, now annoyingly known as "one.nz". Or am I missing something.
Thanks.
ip addr
output during the 30s lease:
root@OpenWrt:~# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br-lan state UP qlen 1000
link/ether d8:3a:dd:a8:c6:37 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP qlen 1000
link/ether 00:e0:6c:79:80:99 brd ff:ff:ff:ff:ff:ff
inet 192.168.100.10/24 brd 192.168.100.255 scope global eth1
valid_lft forever preferred_lft forever
inet6 fe80::2e0:6cff:fe79:8099/64 scope link
valid_lft forever preferred_lft forever
4: phy0-ap0: <BROADCAST,MULTICAST> mtu 1500 qdisc fq_codel state DOWN qlen 1000
link/ether da:3a:dd:a8:c6:39 brd ff:ff:ff:ff:ff:ff
5: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
link/ether d8:3a:dd:a8:c6:37 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.1/24 brd 192.168.1.255 scope global br-lan
valid_lft forever preferred_lft forever
inet6 fe80::da3a:ddff:fea8:c637/64 scope link
valid_lft forever preferred_lft forever