I tried searching on this and came up empty. I am looking for a way to remotely manage multiple tomato routers and perform such functions as pushing settings to multiple devices at once. Is there currently a way to do this? If not, is there a way I can send remote commands that will query a routers settings and statuses and allow me to remotely change settings without using the routers web interface?
Some clients stay associated for weeks, but may have no traffic. They may Inform and ACK every couple of minutes.
You might want to start by familiarizing yourself with the message log, and then with the monstrous wl command. This is after learning the rudiments of the shell.
Rather than asking "is there a way to trigger … when a client connects?" you might ask yourself "how can I tell which clients are connected?"
Hint: wl assoclist
If you wanted to, you could have your computer speak "Client Foo (dis)connected [to/from] Host Bar", etc. etc. whenever such an event occurs. It can be done easily, if you know Unix.
But you'd probably grow tired of it soon enough.
For keeping hosts updated, check out rsync. You can get it from http://multics.minidns.net/tomato/
Wow, thanks a lot, this has given me everything I needed. My next question was how to query the connected wireless clients and I think that will hopefully do it.
You could use wl sta_info and format the output like this:
Clients (Cf: wl -h sta_info) QUAL RSSI --Seconds--- ----- Packets since Assoc ----- --Link Rate-- N MAC IP Hostname idle assoc TX TX-Fail RXUni RXMBro TXkb/s RXkb/s 36 -45 6 5690 20433 12 24635 179 54000 1000 :C6 .242 Niki 31 -50 24 341426 609 13 3052 26 54000 48000 :88 .104 k26 19 -62 0 15019 1422401 314 1333921 4834 65000 39000 N :DE .130 Arnaud-HP
There's also arping.