3

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.

Example:
the firewall is edited in /etc/iptables

Questions:

  • Where is the wireless key kept?
  • Where is the static DHCP kept? ("static dhcp" maps MAC addresses to IP addresses)
Russ Warren
  • 1,304
  • 10
  • 21
devin
  • 1,226
  • 3
  • 20
  • 27
  • 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 07 '09 at 02: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 07 '09 at 02: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 07 '09 at 03:00

1 Answers1

4

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.

Mike Pountney
  • 2,443
  • 2
  • 20
  • 15