Add the following line in /etc/dnsmasq.conf dhcp-script=/etc/detect_new_device.sh Setup sendmail to send email to your text number. Reference: https://wiki.openwrt.org/doc/howto/smtp.client
oneflow A flow based on this article Comments from Adam on the original version of this gist can be found here Original approach Feature branches