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#2748 - Printer no more receiving IP address since 19.07.0 #7601
Comments
rjb: Same situation with 19.07.1: Sun Feb 2 16:41:38 2020 daemon.info dnsmasq-dhcp[2089]: DHCPDISCOVER(br-lan) 34:23:87:xx:xx:xx |
dedeckeh: Are you capable of taking tcpdump traces of the working and the non-working DHCP exchange ? |
rjb: Hi Hans Thanks for your reply. It looks like the printer doesn't understand the OFFER packet, as it won't answer with the REQUEST packet? |
dedeckeh: I'm afraid if we cannot compare with a working DHCP exchange on OpenWrt 18.06 it will be hard to pinpoint the issue as the tcpdump traces don't show anything obvious wrong. |
rjb: ok, will try to test it in about two weeks time. |
rjb: Hi Hans So I installed OpenWRT 18.06.8 from scratch, enabled WiFi and started tcpdump. Next test will be with newly released 19.07.2. |
rjb: Hello again, I upgraded from 18.06.8 to 19.07.2 by keeping the settings and did the same tcpdump again. Any ideas? |
dedeckeh: Having checked the tcpdump traces I fail to understand why the printer does not get an IP with 19.07.02. DHCP wise everything looks fine as the DHCP offers are identical in both cases |
rjb: Hi Hans Do you have any advice how to further track down the issue? |
bjonglez: That might happen if the UDP checksum is wrong and the printer checks it. In both your tcpdump traces, the UDP checksum is shown as wrong, but it's possible it gets "fixed" by the hardware on 18.06 but not on 19.07 |
bjonglez: To be sure, you can try sniffing the packets over the air, or more simply capture the DHCP responses that you receive on another host also connected to 2.4 GHz wifi. |
dedeckeh: The printed UDP checksum failure is not the root cause of the issue; I've seen this before with other DHCP exchanges and for the Android DHCP exchange this is similar. |
rjb: Hi Hans By using the wired connection the printer actually receives the IP address as seen in attached tcpdump (OpenWRT 19.07.2 running). |
dedeckeh: Hi Thank you for the testing; we can with almost certainty assume the issue is not related to dnsmasq which acts as DHCP behavior. |
PsySc0rpi0n: Hello everyone. I have a NetGear NighHawk X4S (R7800) with OpenWrt-19.07. No extra packages or anything out of the ordinary in terms of configurations. This HP does not supports 5Ghz wireless networks an while I was discussing with one other OpenWrt user how to overcome this, he suggested to change something in the Wireless security settings, just for the sake of it. So I changed the cipher mode from 'auto' to TKIP and after this the printer accepted the IP the router was trying to assign to it and I was able to connect it to my router wireless. Printer is now working normally. Seems to be just a workaround as probably this is something that can be fixed and changed back to the default cipher mode. |
rjb: Hi I can confirm this behavior. Only the TKIP setting will work. Auto, CCMP and TKIP+CCMP will fail. I'm pretty sure this had been working in 18.06 in the auto setting that has defaulted to CCMP, too. |
tverlaan: Hi, I have a TP-link Archer C7 with openwrt 19.07.04 and I can confirm the same issue and the same resolution. Setting it to TKIP immediately solved my connection issues with the printer. When using 'auto' the syslog shows DISCOVER/OFFER and then BOOTP messages, and when using TKIP I see the normal DISCOVER/OFFER/REQUEST/REPLY. Example BOOTP message: Is there anything else I can do to help solve the bug? |
albrecht: Same issue here. This shouldn't be related to DHCP as I am not even using OpenWrt's DHCP server, the "router" in question is set up as a dumb AP bridged to the wired network. If I connect the printer to another non-OpenWrt AP on the same network it works fine. |
Similar thing happening with
Initially it works, it is connected with WPS then if I restart printer it won't receive IP but shows up in connected devices |
rjb:
Dear community,
Previously I had OpenWRT 18.06.5 in use and my printer (HP LaserJet Pro 400 M475dw) was connecting fine over 2.4 GHz WiFi and obtained an IP address of defined DHCP static leases.
I went to 19.07.0 by starting from scratch on the same Netgear R7800 hardware. Everything works fine except for the mentioned printer.
It connects to WiFi and is shown in the list of associated stations, but it doesn't receive an IP. The syslog prints following two lines about every minute:
Sat Jan 18 13:12:19 2020 daemon.info dnsmasq-dhcp[20788]: DHCPDISCOVER(wlan1) 34:23:87:xx:xx:xx
Sat Jan 18 13:12:19 2020 daemon.info dnsmasq-dhcp[20788]: DHCPOFFER(wlan1) 192.168.1.128 34:23:87:xx:xx:xx
What I've tried so far:
Additional info:
The text was updated successfully, but these errors were encountered: