Hi. I have openWRT installed on a Mercusys MX90 but have been having trouble getting my SkyQ (TV box) connected via wired ethernet. Every time I try to connect the box I get IP address assignment error and checking the logs it seems to be stuck in a loop.
Sun Feb 11 14:56:40 2024 daemon.info dnsmasq-dhcp[1]: DHCPDISCOVER(br-lan) 192.168.1.110 [MAC address redacted]
Sun Feb 11 14:56:40 2024 daemon.info dnsmasq-dhcp[1]: DHCPOFFER(br-lan) 192.168.1.110 [MAC address redacted]
The MAC address is differnt (1 incrimental digit) to the advertised mac address.
It connects fine to the openwrt router via wireless. What could be causing this issue?
Could you explain this with a mac scrambled?
Also:
Please run the following commands (copy-paste the whole block) and paste the output here, using the "Preformatted text </> " button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have
Sorry I 'm not sure, what do you mean with a mac scrambled? The final digit is +1 (everything else is the same).
If I get you right then if the advertised MAC is 8F:B8:7F:32:AB:B2 the connected device is 8F:B8:7F:32:AB:B3
This entry still shows in the devices list even when connected via wireless (i.e. the ethernet MAC (+1) shows as connected and no other MAC address [there are 3 macs according to the sky firmware all different, one for 2.4ghz, one for 5ghz and one for ethernet).
I tried to go and edit the log output but I don't have that auto format button but it's invisible, how strange, I thought this was a spacing hopefully this is fixed now.
The output is not clear. It seems to be repeated and you used the blockquote instead of preformatted text.
Run the uci export network; uci export dhcp to get the file contents and copy-paste them here.
From a first glance I see no ignore in wan interface, but this might as well be the result of bad copy-paste.
You are definitely missing the ignore option in wan and wan6, but I don't think this is connected to your problem with the box in the lan.
From the OpenWrt dnsmasq perspective, it is offering an IP to the box. The box should send the next packet, which is the DHCP request, but we don't see it. Can you setup a packet capture to verify that packets are not blocked anywhere?
Hi.
You cannot have one IP address with two MAC addresses.
Every MAC address has to have its own unique IP address.
Say SkyQ wifi MAC address is xxxxx.10
SkyQ ethernet MAC address is xxxxx.11
For example, if the SkyQ previous used WiFI to connect.
The DHCP server would associate xxxxx.10 with 192.168.1.110
WHen the SkyQ requests an IP address on the ethernet, the DHCP server should give it a different IP address.
The DHCP server would associate xxxxx.11 with 192.168.1.111
So, there is something wrong with the configuration of the DHCP server making it give the same IP address to two different MAC addresses, and failing as a result.
A quick fix is to power cycle openWRT, then the SkyQ should connect via ethernet correctly.