I wrote a simple cgi-bin program that displays a bunch of settings on your Plug just by opening up a page in your browser.
The c source code as well as a compile exe are in the file at :
http://www.scale18.com/temp/test.tar.gzI would not use this if your plug was directly connected to the net as it does expose a whole bunch of stuff (or just use it temporarily and then delete it).
Just copy the 'test' executible to your cgi-bin folder (you need to have apache running) and then view your browser page at the /cgi-bin/test url for your plug.
As well as displaying the system info, it allows you to click around the various folders to view the directories contents.
Here is the output it generates for my plug:
Current date and time is: Wed, 16 Dec 2009 08:34:12 GMT
System Name: Linux
Node Name: sheeva
Release: 2.6.22.18
Version: #1 Thu Mar 19 14:46:22 IST 2009
Machine: armv5tejl
Time Since Boot:23 Hours,23 Minutes,40 Seconds
Total Ram: 515636k
Free Ram: 8032k
Shared Ram: 0k
Buffered Ram: 14324k
Total Swap: 0k
Free Swap: 0k
Total High Memory: 0k
Free High Memory: 0k
Memory Unit size in Bytes: 1
Current # Processes: 104
FileSystem 1k-blocks Used Available Use% Mounted on
rootfs 519168 189960 329208 37% /
tmpfs 257816 0 257816 0% /lib/init/rw
varrun 257816 2312 255504 1% /var/run
varlock 257816 0 257816 0% /var/lock
udev 257816 24 257792 0% /dev
tmpfs 257816 0 257816 0% /dev/shm
tmpfs 257816 21680 236136 8% /var/cache/apt
/dev/mmcblk0p1 15306620 46936 14482140 0% /mnt/sd
/dev/sda1 480719056 27155492 429144364 6% /mnt/share1
CPU Info:
Processor : ARM926EJ-S rev 1 (v5l)
BogoMIPS : 1192.75
Features : swp half thumb fastmult edsp
CPU implementer : 0x56
CPU architecture: 5TE
CPU variant : 0x2
CPU part : 0x131
CPU revision : 1
Cache type : write-back
Cache clean : cp15 c7 ops
Cache lockdown : format C
Cache format : Harvard
I size : 16384
I assoc : 4
I line length : 32
I sets : 128
D size : 16384
D assoc : 4
D line length : 32
D sets : 128
Hardware : Feroceon-KW
Revision : 0000
Serial : 0000000000000000
Devices:
Character devices:
1 mem
2 pty
3 ttyp
4 /dev/vc/0
4 tty
4 ttyS
5 /dev/tty
5 /dev/console
5 /dev/ptmx
7 vcs
10 misc
13 input
14 sound
21 sg
89 i2c
90 mtd
100 telephony
116 alsa
128 ptm
136 pts
180 usb
189 usb_device
254 usb_endpoint
Block devices:
8 sd
9 md
31 mtdblock
65 sd
66 sd
67 sd
68 sd
69 sd
70 sd
71 sd
93 nftl
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd
179 mmc
253 device-mapper
254 mdp
Filesystems:
nodev sysfs
nodev rootfs
nodev bdev
nodev proc
nodev sockfs
nodev usbfs
nodev pipefs
nodev anon_inodefs
nodev futexfs
nodev tmpfs
nodev inotifyfs
nodev devpts
ext3
ext2
nodev ramfs
msdos
vfat
nodev nfs
ntfs
jffs2
nodev rpc_pipefs
Interfaces:
eth0 address family: 17 (AF_PACKET)
eth1 address family: 17 (AF_PACKET)
lo address family: 17 (AF_PACKET)
eth0 address family: 2 (AF_INET) address: <192.168.1.113>
lo address family: 2 (AF_INET) address: <127.0.0.1>
Processes:
1-/sbin/init (init)
2-(kthreadd)
3-(ksoftirqd/0)
4-(events/0)
5-(khelper)
50-(kblockd/0)
53-(khubd)
55-(kmmcd)
69-(crypto)
70-(crypto_ret)
75-(pdflush)
76-(pdflush)
77-(kswapd0)
78-(aio/0)
215-(mtdblockd)
216-(nftld)
243-(scsi_eh_0)
244-(usb-storage)
251-(kcryptd/0)
265-(mmcqd)
400-/sbin/udevd --daemon (udevd)
717-(jffs2_gcd_mtd1)
939-dhclient3 -e IF_METRIC=100 -pf /var/run/dhclient.eth0.pid -lf /var/lib/dhcp3/dhclient.eth0.leases eth0 (dhclient3)
1173-/sbin/getty 38400 tty4 (getty)
1176-/sbin/getty 38400 tty5 (getty)
1179-/sbin/getty 38400 tty2 (getty)
1182-/sbin/getty 38400 tty3 (getty)
1184-/sbin/getty 38400 tty6 (getty)
1185-/sbin/getty 115200 ttyS0 (getty)
1224-/sbin/syslogd -u syslog (syslogd)
1242-/bin/dd bs 1 if /proc/kmsg of /var/run/klogd/kmsg (dd)
1244-/sbin/klogd -P /var/run/klogd/kmsg (klogd)
1262-/usr/sbin/sshd (sshd)
1277-/usr/sbin/nmbd -D (nmbd)
1279-/usr/sbin/smbd -D (smbd)
1298-/usr/sbin/smbd -D (smbd)
1305-/usr/sbin/cron (cron)
1349-/root/discoverd (discoverd)
1392-svnserve -d -r /mnt/sd/svnrepos (svnserve)
1396-/sbin/getty 38400 tty1 (getty)
1509-/usr/sbin/apache2 -k start (apache2)
1510-/usr/sbin/apache2 -k start (apache2)
1513-/usr/sbin/apache2 -k start (apache2)
1515-/usr/sbin/apache2 -k start (apache2)
1803-/usr/sbin/smbd -D (smbd)
2455-/usr/sbin/smbd -D (smbd)
3363-/usr/sbin/smbd -D (smbd)
3373-sshd: root@notty (sshd)
3375-/usr/lib/openssh/sftp-server (sftp-server)
3379-sshd: root@pts/0 (sshd)
3381--bash (bash)
3435-/mnt/sd/cgi-bin/test (test)
Web Enviroment Variables:
GATEWAY_INTERFACE='CGI/1.1'
SERVER_NAME='sheeva'
SERVER_SOFTWARE='Apache/2.2.11 (Ubuntu)'
SERVER_PROTOCOL='HTTP/1.1'
SERVER_PORT='80'
REQUEST_METHOD='GET'
SCRIPT_NAME='/cgi-bin/test'
DOCUMENT_ROOT='/mnt/sd/www'
QUERY_STRING=''
HTTP_HOST='sheeva'
REMOTE_ADDR='192.168.1.115'
HTTP_ACCEPT='text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
HTTP_USER_AGENT='Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5'
HTTP_IF_MODIFIED_SINCE='Wed, 16 Dec 2009 08:18:16 GMT'
HTTP_REFERER='
http://sheeva/'
Home Directory:'/'
dir /bin
dir /dev
dir /etc
dir /lib
dir /mnt
dir /opt
dir /srv
dir /tmp
dir /sys
dir /var
dir /usr
dir /boot
dir /home
dir /proc
dir /sbin
dir /root
dir /media
dir /selinux