Clone wiki

com-controller / HowToUse

Connect a switch between DTR and other four pins(DCD, DSR, CTS, RI) the config file is a ini file like this

port = /dev/ttyS0  ; Freebsd use /dev/cuau0
dcd_up = ifconfig ath0 up
dcd_down = ifconfig ath0 down

This file use DCD pin to control wireless on off. You can even connect a smoke detector to your router.It can send email to you.