I have an Arduino with temperature and humidity sensors that I would like to display on the header of the page layout.

I turned on SSH and ran these commands:

insmod usbserial.ko
insmod ftdi_sio.ko

After that, I connected it, and ensured I was running the sketch with serial on the Arduino. It took me a bit to figure out why dmesg wasn't seeing a new device. I looked around online, and found nothing. Then I went to the USB page, and enabled OHCI, rebooted, and it was able to detect it after I inserted the two kernel objects.

It took me a few minutes to display the serial data, but I googled around and found a website (won't let me post link) which one user showed a simple shell script. I looked at it and ran the commands without the script, being

stty -F /dev/ttyUSB0 57600

which gave no output, so I assumed it worked. Then I ran this command:

cat /dev/ttyUSB0

which seems to open a serial terminal, feeding the serial data as expected.

I now want to take this data, and have it displayed on the header of the web interface. I'm sure it can't be much harder, but I am confused as to where even start digging around in the www folder. I've looked at the openlinksys.css style sheet, the status-overview.asp file, and the tomato.js file.

I'm sure I could be easily overlooking this, but I'll try and Google some more.

The built-in webserver is stored in the readonly compressed system but you can can create custom pages in the wwwext folder which is symlinked to the ram disk. You can link it again to flash or usb, and access using routerip/ext/newpage. I don't know how you would stream data in - but asp files have nothing to do with Microsft active scripting!