# cat /etc/hosts
127.0.0.1 localhost
192.168.1.10 OpenWrt
192.168.1.101 printer
192.168.1.201 inutil
192.168.1.202 jabuti
On the ethers file you can also use IP instead of names, but names are better, so you don't have redundant/conflicting info with the hosts file.
# cat /etc/ethers
01:12:33:dd:c0:0b inutil
01:56:c5:bb:22:0b jabuti
# /etc/init.d/dnsmasq restart
You may need to also edit
/etc/config/dhcp, mainly to make sure you have "config dnsmasq" section
No comments:
Post a Comment