1
Development and Code Review / Re: How to update client names in tp-link OMADA SDN controler
« on: July 02, 2024, 10:38:06 pm »1) Which host to run it from?
It can run from anywhere as long as you have connectivity to the omada url AND can do a reverse dns lookup.
2) omada binary location?
That depends on your own python installation... when you run the pip install it should tell you the destination. I think by default if you are not root it is something like ~/.local/bin
3) Is it sufficient to provice the MACs with names in OPNsense in the DHCP-server ("Services: ISC DHCPv4: [LAN]")?
AFAIK, to get the reverse dns and local name resolution you need:
3.1) to use ISC DHCP with the option to (Kea DHCP self registration is not working yet)
3.2) to run unbound DNS on opensense and check these 2 options:
Register ISC DHCP4 Leases
Register DHCP Static Mappings
that basically allow you to retrieve the name of dhcp hosts by IP addresses over DNS.