Friday Dec 14, 2007


No need for a HOWTO, because its very simple, but I still feel like a kid in a candy store when you can ssh into something. The commands available however are much more extensive that the SLUG, without the need to install additional packages- see below. This did make me think to enable JFFS2, hang a thumbdrive off the router, and use that as a DMZ for remote file transfer rather than NATing my NAS and the associate risk of it being exposed on the raw interwebs.


$ ssh -l root *******.ath.cx
DD-WRT v24 mini (c) 2007 NewMedia-NET GmbH
Release: 10/10/07 (SVN revision: 8151)
root@*******.ath.cx's password: 
==========================================================
 
 ____  ___    __        ______ _____         ____  _  _ 
 | _ \| _ \   \ \      / /  _ \_   _| __   _|___ \| || | 
 || | || ||____\ \ /\ / /| |_) || |   \ \ / / __) | || |_ 
 ||_| ||_||_____\ V  V / |  _ < | |    \ V / / __/|__   _| 
 |___/|___/      \_/\_/  |_| \_\|_|     \_/ |_____|  |_| 
 
                       DD-WRT v24
                   http://www.dd-wrt.com
 
==========================================================


BusyBox v1.4.2 (2007-10-10 00:47:21 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ # uptime
 17:43:11 up 22 days, 20:52, load average: 0.01, 0.00, 0.00
~ # ls /usr/bin
[           du          id          nohup       tail        uniq
[[          env         install     nslookup    tee         uptime
awk         expr        killall     printf      telnet      uudecode
basename    find        less        reset       test        uuencode
clear       free        logger      rx          time        wget
cmp         ftpget      md5sum      scp         top         which
cut         ftpput      mesg        sort        tr          whoami
dc          head        mkfifo      ssh         traceroute  xargs
dirname     hexdump     nc          strings     tty         yes
~ # ls /usr/sbin
bcrelay           dropbearkey       mtd               svqos
bird              dropbearmulti     nas               svqos2
bpalogin          dumpleases        nas4not           tc
brctl             ebtables          nas4wds           telnetd
chroot            epi_ttcp          ntpclient         udhcpc
cron              httpd             nvram             udhcpd
dbclient          igmprt            pppd              upnp
dhcp_lease_time   inadyn            pptp              wiviz
dhcp_release      ip                pptpctrl          wl
dhcpfwd           iptables          pptpd             wlconf
dnsmasq           iptables-restore  radius-client     wol
dropbear          l2tp-control      radiusallow       wrt-radauth
dropbearconvert   l2tpd             radiusdisallow
~ # top
Mem: 15220K used, 15096K free, 0K shrd, 1684K buff, 5432K cached
Load average: 0.00 0.01 0.00
  PID USER     STATUS   RSS  PPID %CPU %MEM COMMAND
18362 root     R        340 18356  0.9  1.1 top
 2222 root     S        872     1  0.0  2.8 httpd
18354 root     S        596 17669  0.0  1.9 dropbear
    1 root     S        472     0  0.0  1.5 init
18356 root     S        436 18354  0.0  1.4 sh
17572 root     S        408     1  0.0  1.3 wland
17669 root     S        372     1  0.0  1.2 dropbear
17569 root     S        368     1  0.0  1.2 dnsmasq
17900 root     S        360     1  0.0  1.1 upnp
17802 root     S        332     1  0.0  1.0 igmprt
17804 root     S        316     1  0.0  1.0 process_monitor
   11 root     S        304     1  0.0  1.0 watchdog
17539 root     S        304     1  0.0  1.0 resetbutton
17807 root     S        296     1  0.0  0.9 inadyn
17662 root     S        276     1  0.0  0.9 cron
17993 root     S        252     1  0.0  0.8 udhcpc
    3 root     SWN        0     1  0.0  0.0 ksoftirqd_CPU0
    8 root     SW         0     1  0.0  0.0 mtdblockd
    2 root     SW         0     1  0.0  0.0 keventd
    6 root     SW         0     1  0.0  0.0 kupdated
    4 root     SW         0     1  0.0  0.0 kswapd


Comments:

Post a Comment:
  • HTML Syntax: NOT allowed