babluboy / nutty

A Network Utility
GNU General Public License v3.0
155 stars 25 forks source link

Device Name = Not Available #81

Open l4es opened 3 years ago

l4es commented 3 years ago

Dear Babluboy,

I have Ubuntu based testing device connecting to the PC running as DHCP server. Below is the configuration of the testing device :

root@SPARK-Ubuntu:~# cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 SPARK-Ubuntu

root@SPARK-Ubuntu:~# cat /etc/hostname
SPARK-Ubuntu

root@SPARK-Ubuntu:~# ifconfig eth0 eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.111.7 netmask 255.255.255.0 broadcast 192.168.111.255 inet6 fe80::211:22ff:fe33:4455 prefixlen 64 scopeid 0x20 ether 00:11:22:33:44:55 txqueuelen 1000 (Ethernet) RX packets 4115 bytes 248598 (248.5 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 214 bytes 16400 (16.4 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 43

This testing device is connected to a dedicated Ethernet port of the PC which is enp3s0f1 on which the DHCP server listens and attributes IP address to the testing device when requested :

$ sudo systemctl status isc-dhcp-server.service

● isc-dhcp-server.service - ISC DHCP IPv4 server Loaded: loaded (/lib/systemd/system/isc-dhcp-server.service; enabled; vendor preset: enabled) Active: active (running) since Fri 2021-04-16 13:04:46 +07; 1 weeks 2 days ago Docs: man:dhcpd(8) Main PID: 3279 (dhcpd) Tasks: 1 (limit: 4915) CGroup: /system.slice/isc-dhcp-server.service └─3279 dhcpd -user dhcpd -group dhcpd -f -4 -pf /run/dhcp-server/dhcpd.pid -cf /etc/dhcp/d

Thg 4 26 12:28:48 The-Beast dhcpd[3279]: DHCPREQUEST for 192.168.111.7 from 00:11:22:33:44:55 (SPARK-Ubuntu) Thg 4 26 12:28:48 The-Beast dhcpd[3279]: DHCPACK on 192.168.111.7 to 00:11:22:33:44:55 (SPARK-Ubuntu) Thg 4 26 12:38:18 The-Beast dhcpd[3279]: DHCPREQUEST for 192.168.111.7 from 00:11:22:33:44:55 (SPARK-Ubuntu) Thg 4 26 12:38:18 The-Beast dhcpd[3279]: DHCPACK on 192.168.111.7 to 00:11:22:33:44:55 (SPARK-Ubuntu)

However, Nutty does not show correct device name which is expected to be SPARK-Ubuntu, rather it shows Not Available, and the Device Manufacturer is Cimsys that corresponds to the temporary MAC address 00:11:22:33:44:55 we set to the testing device.

I would like to know how to make the device's hostname appear in the Device Name column, please ?

Thanks in advance and best regards, Pascal.

coreybruce commented 8 months ago

Noticed this also for quite a long time, can this be fixed at all @babluboy ?