Getting a fonera 2.0 and an arduino board at the same day left me with the choice, which toy to play first. As i already have a lot of devices running OpenWrt, just flashing a OpenWrt kamikaze on it was not so interesting.
While sitting together with Steph, we got the idea of connecting an LCD to it and to use the arduino for it.
Getting ssh access was easy, but the firmware was said to be totally outdated, it did not even finds its packet repository. Got new firmware, tried to flash it via the webinterface, it failed. I don't believe in webinterfaces anyway, so i did it with mtd, which worked and took an endless amount of time, this serial flash really sucks when it comes to speed as the firmwareimage is bigger than 4MB.
As the fonera firmware does not contain a kernelmodule to support the FTDI USB serial chip on the arduino, i compiled the source, copied the kernelmodule over, loaded it and after connecting the arduino to the usb hub, i got an ttyUSB0.
Meanwhile, Steph put the hardware together, so a very simple oneliner did the job of displaying the number of associated clients per network:
echo "Fon: "`grep macaddr /proc/net/madwifi/ath0/associated_sta|wc -l `" Priv: "`grep macaddr /proc/net/madwifi/ath1/associated_sta|wc -l `>/dev/ttyUSB0
Sure, using a communication protocoll to the arduino for displaying several things is the way to go, and an arduino board ist totally oversized for this task, but it was fun anyway to hack it together quickly .
Could also be used to display neighbour metrics and protocoll information in a freifunk mesh, or whatever.