You are not logged in.

#1 2015-05-02 19:04:15

mouseman
Member
From: Outta nowhere
Registered: 2014-04-04
Posts: 291

[Solved] Question mark instead of hostname dhcp lease list

My router running OpenWRT (runs dnsmasq) doesn't always pick up the hostname from one of my Arch pc's. I've recently reinstalled 2 pc's and I always follow the same procedure but sometimes one of them is not showing a hostname in the list. It gets an ip address alright, its just that other pc's can't resolve the missing hostname. Until now I've worked around it but I rather just solve this little mistery.

I've used both dhcpcd@ and NetworkManager, it happens with both, after more testing today it seems that it happens (more/exclusively) with NetworkManager.

I checked journalctl --unit NetworkManager but I see no errors or warnings there, just info.

In the system log on the router where dhcp messages are logged, I see some warnings, nothing relevant I think:

Sat May  2 17:06:22 2015 daemon.warn odhcpd[916]: DHCPV6 SOLICIT IA_NA from 000100011cd684244c0bbead15ea on br-lan: ok fdab:ff96:6241::50a/128 
Sat May  2 17:06:23 2015 daemon.warn odhcpd[916]: DHCPV6 REQUEST IA_NA from 000100011cd684244c0bbead15ea on br-lan: ok fdab:ff96:6241::50a/128 
...
5 kern.debug kernel: [86847.150000] icmp6_send: no reply to icmp error
Sat May  2 17:19:05 2015 kern.debug kernel: [86847.150000] icmp6_send: no reply to icmp error
Sat May  2 17:19:05 2015 kern.debug kernel: [86847.150000] icmp6_send: no reply to icmp error
Sat May  2 17:19:05 2015 kern.debug kernel: [86847.160000] icmp6_send: no reply to icmp error
Sat May  2 17:19:09 2015 kern.debug kernel: [86851.140000] icmp6_send: no reply to icmp error
Sat May  2 17:19:09 2015 kern.debug kernel: [86851.140000] icmp6_send: no reply to icmp error

Other than that, I see my pc sending a DHCP request and getting a reply:

5 daemon.info dnsmasq-dhcp[1336]: DHCPREQUEST(br-lan) 1.2.3.4 ec:a6:4c:fd:fe:ec 
Sat May  2 18:44:58 2015 daemon.info dnsmasq-dhcp[1336]: DHCPACK(br-lan) 1.2.3.4 ec:a6:4c:fd:fe:ec nucky

I don't even know if the problem is with the pc's or the router but since its running Linux with dnsmasq, Im sure some knowledgable soul must have an idea about that too big_smile.

Thanks for the help!

Last edited by mouseman (2015-05-09 07:59:33)

Offline

#2 2015-05-03 07:56:59

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] Question mark instead of hostname dhcp lease list

Moving to Networking...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-05-09 08:00:17

mouseman
Member
From: Outta nowhere
Registered: 2014-04-04
Posts: 291

Re: [Solved] Question mark instead of hostname dhcp lease list

Marked as solved. Turned out to be an issue with OpenWRT. I upgraded to the latest trunk which also came with a later version dnsmasq. No more question marks and unresolvable hostnames tongue.

Offline

Board footer

Powered by FluxBB