WRT54G/Tomato 1.21++ Reconnect-Batchfile

UPDATE! I’ve updated the script to work for Tomato 1.25 (and hopefully upwards) – links below updated.

Some of you pirating people are downloading stuff from Rapidshare. Rapidshare, among other providers of free online storage and downloads, employ a policy that lets the user download a certain amount of data and then forces him to wait for a couple of hours before being able to again download something.

People (who are on dynamic ip connections) usually circumvent this by restarting (also ‘resetting’) their router. Some are clever enough to utilize tools for that task that log into your router and reset the connection.

People using Tomato however have been unable to use some of the Software written for that task, because as of Tomato 1.14 (changelog), in which the author fixed a cross site scripting vulnerability, just calling a URL on the Web-Interface won’t do it anymore.

I have written a php-script started by a batchfile that will let you reconnect your Tomato-running router with one click and no other tools than the ones provided.

Continue reading

WRT54GL, Tomato firmware and Filezilla FTP Server

Alrighty folks, first entry.

I have recently switched firmwares on my Linksys WRT54GL from DD-WRT, which has, despite its bloatedness, always served me well, to the Tomato firmware.

The first thing you’ll notice is the entirely different Web-Interface. Everything is based heavily on AJAX, so the load on the firmware’s HTTP server is reduced. Additionally, configuring becomes a lot more “fluent”, as only the values that the Web-Interface presents you with, are being reloaded, instead of the entire page.

Continue reading