I’ve been having this problem since I got the Turris Omnia in around April '17, but I haven’t really bothered to look into it until now.
In short, my problem is that if I connect the Omnia directly to the Internet, it doesn’t get an IP-address, but if I connect it through a different router it works.
My internet connection consists of a RJ45-jack straight from the wall. The DLINK is my old router.
The following setups all works:
- Computer → Omnia → DLINK → Internet
- Computer → DLINK → Internet
- Computer → Internet
The following doesn’t:
4. Computer → Omnia → Internet
All of the devices have different MAC-addresses, and if I switch from setup 2 to setup 3, for example, it takes just a few seconds for the Computer to get an IP-address from my ISP. So it doesn’t seem to be a problem with different MAC-addresses.
If I use setup 4, the WAN interface (eth1) on the Omnia doesn’t get an IP-address. Here is the output of the command (on the Omnia)
# udhcpc -i eth1
udhcpc: started, v1.25.1
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover**
If I run the same command in setup 1, the result is
udhcpc: started, v1.25.1
udhcpc: sending discover
udhcpc: sending select for 192.168.0.194
udhcpc: lease of 192.168.0.194 obtained, lease time 86400
udhcpc: ifconfig eth1 192.168.0.194 netmask 255.255.255.0 broadcast 192.168.0.255
udhcpc: setting default routers: 192.168.0.1
The fact that setup 1, 2 and 3 works indicates that the problem is not with the ISP, but with the Omnia.
I’ve tried to switch the Omnias MAC-address with the one of the DLINK router, and with the computer, but I get the same result. I’ve also tried to install dhcpcd, but that had the same problem.
Does anyone have any idea on how to fix this?