Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use the tomato firmware for my router and I'm sick of the web interface. Does anyone know what files correspond to different configurations? The router I use is the Linksys WRT54GL.

the firewall is edited in /etc/iptables


  • Where is the wireless key kept?
  • Where is the static DHCP kept? ("static dhcp" maps MAC addresses to IP addresses)
share|improve this question
Is it just me, or does the lack of a tag or description in here of what kind of router this is make you not want to work on an answer? >smile< Sure, sure-- I could google "tomato firmware"... I've already hit the rep limit today. Somebody else, have at. – Evan Anderson Jul 7 '09 at 2:38
Maybe "tomato firmware" answers this but what router? From the message I'm guessing it is one based on Linux, but which one? – John Gardeniers Jul 7 '09 at 2:45
hrm... well how could I see the most recently edited files on the system? I could make a change via the web interface and then look at the most recently edited files, or the files matching the timestamp – devin Jul 7 '09 at 3:00
up vote 3 down vote accepted

The Tomato firmware seems to be aimed mostly at use via the GUI, from a quick read over their FAQ. It is possible to do perform configuration tasks from the command line, but the documentation is somewhat sparse. It looks like command line access is there more for diagnostic purposes. Maybe it's time to give the more bare-bones OpenWRT a go? (I recently moved from OpenWRT to Tomato for my home networks, just to stop myself from tinkering)

That said, the 'nvram show' and 'nvram set var="blah"' commands are going to get you a long way with command line configuration - nvram is certainly where most configuration is kept. /etc/dnsmasq.conf seems to hold the static DHCP entries on my system.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.