2
votes
1answer
4k views

I can ping IP address but can not ping hostname

My address: user@pc1:~$ ifconfig eth0 |grep "inet " inet addr:192.168.2.10 Bcast:192.168.2.255 Mask:255.255.255.0 I can ping this address user@pc1:~$ ping -c 1 192.168.2.11 PING ...
1
vote
1answer
381 views

can't /etc/hosts be set up automatically?

what I need is: automatically add mac-addresses to some file and manually add the hostnames assigned to them, and a script will then scan my home LAN for those mac-addresses and populate the ...