This is an example of my Buffalo WHR-HP-G54 router (with DD-WRT installed) connected devices showing: Active (transmitting) wireless clients. Clients whose DHCP Lease Time has not expired (configured to 180 minutes in my case). As I use to enter the device via SSH, I would like to develop some script to obtain the second table: DHCP Clients List.

DNSMasq Local Network - DD-WRT Wiki This solution works for me, as i like to have a larger /etc/hosts file and therefore the startup command solution is not ideal. By the DD-WRT overwrites the host file, when you static leases. (edit by ZC): Option "addn-hosts" works well here as well for using an additional, large hosts file What it does: STATIC IP assigning temperamental : DDWRT the DD-WRT web UI can be, well--kludgy, to say the least. try clicking 'save' before clicking 'apply settings' when you're assigning your static leases. level 2 wschlotter DD-WRT Forum :: View topic - DHCP Leases in NVRAM or JFF Jan 02, 2009 Introduction - DD-WRT Wiki

If you have a router running the dd-wrt firmware and have configured Active Directory internally, you’ll need to set a few options to make things work. The goal is to use the router for general DNS queries through the ISP (or public) DNS servers, as well as the static leases function from DNSMasq while routing AD DNS requests through the

Feature request: Individual removal of static leases - DD-WRT Remove button on each line following each entry would be a nice feature to have. Its definitely tedious if you want to remove one in the middle to have to delete all … dnsmasq - set DNS entry for hostname for the DD-WRT DNS

Configuration, static DHCP settings on DD-WRT router

This solution works for me, as i like to have a larger /etc/hosts file and therefore the startup command solution is not ideal. By the DD-WRT overwrites the host file, when you static leases. (edit by ZC): Option "addn-hosts" works well here as well for using an additional, large hosts file What it does: DD-WRT has been impressing users since its inception in 2005, and is the go-to alternative router firmware due to its longevity of existence and support of the largest array of devices. Consequently, DD-WRT can claim the largest community of users. It's the backbone of what we do here at FlashRouters. For example, there is an Static Leases entry for "PC1". From a different domain host (computer on the same LAN) I can successfully do $ ping PC1.mydomain Yet, a similar Static Leases entry "myrouter" exists for the LAN MAC of the DD-WRT router (yes, I am aware the DD-WRT LAN will not request a LAN-side IP via DHCP. The router has a static IP If you want to distribute IPv4 addresses to known clients only (static leases), use: . uci set dhcp.lan.dynamicdhcp= "0" uci commit dhcp / etc / init.d / dnsmasq restart. With this, dnsmasq will consider static leases defined in “config host” blocks and in /etc/ethers, and refuse to hand out any IPv4 address to unknown clients. Posted: Mon Mar 02, 2009 15:05 Post subject: Re: Table of static DHCP-Leases: Static leases are apparently stored in the nvram variable "static_leases" So with "nvram get static_leases" you can see your current static leases.