English Forums > Development and Code Review

Send dhcp client info to server or csv

(1/1)

jlopez83:
I have an OPNSense used as a router, but in the LAN interface, I have an Access Point.
What I like to do is: when some device is connected to the Wi-Fi, when DHCP is assigned the IP address, save the mac address in some database or csv file.

In other words, when you go to check the status of DHCP, you can see the IP and mac address of the devices connected to the network, I am finding the way to auto send or save that info, to have a history of who has connected and when on the network.

My ideal scenario is sent the mac address and time stamp of each connection to MySQL database

Navigation

[0] Message Index

Go to full version