Hi,
Can anybody gudie how to configure the DHCP server on LAN interface of the OpenWrt. How to restart the DHCP server with out rebooting the device
With Regards,
Reddy
The content of this topic has been archived on 15 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.
Hi,
Can anybody gudie how to configure the DHCP server on LAN interface of the OpenWrt. How to restart the DHCP server with out rebooting the device
With Regards,
Reddy
The DHCP server is configured via UCI in /etc/config/dhcp. /etc/config/dhcp can be modified by using UCI CLI, LuCI WebUI or by simply editing that file with a text editor. To apply the changes restart dnsmasq with '/etc/init.d/dnsmasq restart'.
Possible options for /etc/config/dhcp are:
- http://dev.luci.freifunk-halle.net/docs … p.dhcp.xml
- http://dev.luci.freifunk-halle.net/docs … nsmasq.xml
(Last edited by Yanira on 15 Sep 2008, 10:01)
The latest release does not have dnsmasq.conf file. dhcp settings are saved in /etc/config/dhcp file.
By using uci or modifying the dhcp file, how can I assign static/fixed ip addresses to host in latest release ?
The dnsmasq or dhcp link do not hvae the info .
thanks,
Is /etc/config/luci_hosts what you are looking for?
Example /etc/config/luci_hosts
config 'host'
option 'hostname' 'router'
option 'ipaddr' '192.168.1.1'
(Last edited by Yanira on 15 Nov 2008, 18:27)
The discussion might have continued from here.