SSH/Telnet command-line interface tutorial...

Discussion in 'Tomato Firmware' started by bripab007, Jul 21, 2008.

  1. bripab007

    bripab007 Network Guru Member

    I don't have one...rather, I'm looking for one :)

    Actually, I've been using Tomato for several months now, recently configured the SSH daemon with 1024-bit private/public keys so I can access it remotely and would like to learn more about what commands can be used and how to navigate the file structure.

    I understand it uses Busybox, a variant of Linux, but I'm only vaguely familiar with some of the other services Tomato uses (i.e. Dnsmasq, dropbear, etc.).

    I'd like to at least have the knowledge to be able to look at client/hostname lists with IP addresses/leases, MAC addies of those hosts, the ability to turn-on/off or restart services (I think I've found a fairly comprehensive list of the services in another thread), reboot the router, perhaps do some changing of network configuration (both wired and wireless), etc.

    Can anyone shed some light on these things or point me in a direction to start looking?

  2. HennieM

    HennieM Network Guru Member

    Tomato is Linux, so grab a Linux manual to learn the basics. There was a site called "The Linux Documentation Project", which I dunno if it still exists, that you can try. Otherwise grab an old PC from somewhere, download Ubuntu or some other Linux distribution, and start playing.

    Just so you're clear: Busybox is a package/program that runs in Linux (among others). Busybox is a collection of commonly available Linux/Unix utilities all built into one executable package. Usually the original utility is scaled down some - in order to just provide the essence of the utility - so eventually you end up with a small (in size and in resource requirements) package that can do a lot of things. If you, as you study those Linux manuals ;), come across the "ls" utility for instance, you would use the ls utility built into Busybox when you run ls on Tomato, but it would function basically the same as the ls you find in whatever manual you read.
  3. bripab007

    bripab007 Network Guru Member

    Thanks for the info., HennieM.

    So, I'd be issuing Linux commands, not Tomato-specific ones to, say, bring up a hostname/DHCP lease list or to make changes to the QOS settings?

    Or if I wanted to play with the Wi-Fi driver settings, these would be Linux-OS-based TCP/IP / Wi-Fi commands?

    So, is the QOS service its own package or part of another? I'm aware of Dnsmasq and Dropbear, but what about DDNS? Is that part of Dnsmasq package or separate?

    Thanks for the tips on researching Linux. I did run Ubuntu for a while some time ago, but, because they made things so easy to use with the GUI, I didn't get a whole heckuva lot of practice with the CLI.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice