You are not logged in.

#1 2012-11-28 13:55:13

dastagg
Member
From: Chicagoland area
Registered: 2009-07-12
Posts: 6

[SOLVED] Hostname not showing in DHCP lease list

This is a brand new installation using the new systemd base.

Installed openbox as window manager and Network Manager.

What did I miss that the hostname of this computer (opus) is not showing up in the DHCP Leases list?

When I connect to the network using Network Manger(DHCP), hostname is not sent to the DHCP server (DNSmasq). It shows up as a "*":

DHCP leases
Hostname      IP-address                MAC-address            Lease expires
*                     192.168.10.100        XX:XX:XX:XX:XX:XX    Nov 28th, 19:34
*                     192.168.10.59          XX:XX:XX:XX:XX:XX    Nov 28th, 19:23
alarmpi           192.168.10.69          XX:XX:XX:XX:XX:XX    Nov 28th, 16:56
RM696            192.168.10.97          XX:XX:XX:XX:XX:XX    Nov 28th, 18:23

(I blanked out the MAC-addresses.)
The first entry is connecting through wireless. The second is wired.

At the command line:
hostname
opus
hostname -f
localhost.localdomain

/etc/hosts:

#
# /etc/hosts: static lookup table for host names
#

#<ip-address>    <hostname.domain.org>    <hostname>
127.0.0.1    localhost.localdomain    localhost    opus
::1        localhost.localdomain    localhost    opus

# End of file

What file do I need to change and how?

Updated:

1) I created a /etc/dhclient.conf file and added:

send host-name "opus";
request subnet-mask, broadcast-address, time-offset, routers,
domain-search, domain-name, domain-name-servers, host-name;

and rebooted.

This had no effect.

2) Just for kicks, I uninstalled Network Manager and installed Wicd.
This DID send the hostname and it displayed on the DHCP Leases List. But it also had the effect of turning off the WiFi radio.
I did try to turn it back on: Went to the BIOS, made sure it was on (it was). Read some posts about power savings and what to do (tried them, didn't work).

So I uninstalled Wicd, re-installed Network Manager and I am back to where I was.

Last edited by dastagg (2012-11-29 11:15:11)

Offline

#2 2012-11-29 20:36:16

bout10bucks
Member
Registered: 2009-09-11
Posts: 25

Re: [SOLVED] Hostname not showing in DHCP lease list

I am having same issue, but why is it marked 'Solved'?

Offline

#3 2012-11-30 00:41:02

dastagg
Member
From: Chicagoland area
Registered: 2009-07-12
Posts: 6

Re: [SOLVED] Hostname not showing in DHCP lease list

Sorry, forgot to add this:

https://bbs.archlinux.org/viewtopic.php?id=152376

Follow the instructions on the bottom.

Offline

Board footer

Powered by FluxBB