Joined: 28 Feb 2010
|Posted: Tue Mar 26, 2019 19:34 Post subject: Simple select MAC adress for static IP
I would like to have some static IP leases.
To do that i have to write down the mac adress and then write it into the static leases table.
Is there no simpe way to do this, via selecting via dropdown menu?
Joined: 04 Aug 2018
Location: Appalachian mountains, USA
|Posted: Wed Mar 27, 2019 23:29 Post subject:
|Don't know a nice menu way, but instead of typing the MAC addresses into the little boxes in the gui, you can add lines like this (assuming you are using DNSMasq) in the DNSMasq Additional Configuration box:
replacing MAC address XX:XX:XX:XX:XX:XX, NameToUse, and IP address 192.168.1.YYY as appropriate. I have a 24 hour lease specified at the end, but I believe I have seen people put "infinite" in that spot.
You still have to research the MAC addresses (I use the GUI info under the Status tab along with the system log) and type stuff out, but at least you can use a proper text editor.
Be careful not to put Windows-style CRLF line endings into the GUI box. I forget which, notepad or wordpad, is the one that can be convinced to stick to linux-style LF line endings, but it's an easy google.
Six of the Linksys WRT1900ACSv2 on r38159 (solid), r39144 (very solid), r40009 (solid), and r40784 (trying out). On various:
VLANs, client-mode travel router, two DNSCrypt servers (incl Quad9), multiple VAPs, USB/NAS, QoS, OpenVPN client/PBR (random NordVPN server).