Hey,

On Sun, Apr 26, 2009 at 10:11:24AM -0700, Christ Schlacta wrote:
> I don't currently have ANY host entries in /etc/ethers or
> /etc/config/dhcp.  they're all in /etc/config/luci_ethers.  should I
> move those to /etc/config/dhcp or is the semantics of those
> different somehow ?

yes, you should move them to config/dhcp:

/etc/config/luci_ethers is used to auto-generate /etc/ethers, but you
probably dont want to use /etc/ethers at all. From what I understand
from dnsmasq source, it handles multiple entries with single
MAC-address correctly, but other programs might not (ether_ntohost()
from netinet/ether.h on my machine does not for example).

/etc/config/dhcp is more likeley to produce the desired result, as it
affects only dnsmasq and is the right place to define static
dhcp-leases.

As for the semantics it is as follows:

config 'host'
       option 'name' 'HOSTNAME'
       option 'mac' 'XX:XX:XX:XX:XX:XX'
       option 'ip' '111.222.333.444'

config 'host'
       ...

Please report back on whether this has worked out or not.

-- 
Good luck,
Leonid Chaichenets.
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users

Reply via email to