GW3.5MX2-SLAN/CBのLinuxでコマンド実行
rootはパスワードなしでログインできますね。BusyBoxでがんばってますね。
いろいろコマンドを実行した結果を貼付けておきます。
いろいろコマンドを実行した結果を貼付けておきます。
nas login: root
BusyBox v1.00-rc3 (2007.10.31-02:20+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
nas> cd /
nas> ls
system volume2 tmp mnt home usr bin
tmpmnt volume1 root lib dev sbin lost+found
sys var proc initrd etc linuxrc
nas> ls bin
zcat umount sleep pwd mount ln gzip echo cp cat busybox
vi touch sh ps mkdir kill gunzip df chown ash
usleep tar sed ping ls ip grep dd chmod adduser
uname sync rm mv login hostname false date chgrp addgroup
nas> ls sbin
hotplug sfdisk e2fsck swapon insmod
mDNSResponderPosix losetup dosfsck swapoff init
AVH-IPv4LL loumount mkdosfs route ifup
brctl lomount upnpdevice rmmod ifdown
rt61apd mdadm klogd reboot ifconfig
smtpblast smartctl killall5 poweroff halt
dhcpd hdparm udhcpc mkswap getty
setsid mke2fs syslogd lsmod fdisk
nas> ls /usr/bin
ntpdate time passwd expr cut bzcat awk
tty test killall du crontab bunzip2 [
nas> ls /usr/sbin
iwconfig iwpriv thttpd telnetd inetd crond
nas> uname -a
Linux nas 2.6.10_dev-versatile926ejs #34 Wed Oct 31 10:19:33 CST 2007 armv4tl unknown
nas> mount
usbfs on /proc/bus/usb type usbfs (rw)
nas> ifconfig -a
eth0 Link encap:Ethernet HWaddr 7A:B4:F5:00:19:35
inet addr:192.168.100.206 Bcast:192.168.100.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7 errors:0 dropped:60 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1460 (1.4 KiB) TX bytes:1437 (1.4 KiB)
Interrupt:1
eth1 Link encap:Ethernet HWaddr 00:00:00:00:00:00
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:1
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
nas>
nas> cat /proc/cpuinfo
Processor : FA52Xid(wb) rev 1 (v4l)
BogoMIPS : 69.83
Features : swp half thumb
CPU implementer : 0x66
CPU architecture: 4
CPU variant : 0x0
CPU part : 0x526
CPU revision : 1
Cache type : write-back
Cache clean : cp15 c7 ops
Cache lockdown : format B
Cache format : Harvard
I size : 8192
I assoc : 2
I line length : 16
I sets : 256
D size : 4096
D assoc : 2
D line length : 16
D sets : 128
Hardware : Sword sl2312
Revision : 0000
Serial : 0000000000000000
nas> cat /proc/meminfo
MemTotal: 61716 kB
MemFree: 31272 kB
Buffers: 16384 kB
Cached: 7572 kB
SwapCached: 0 kB
Active: 5448 kB
Inactive: 20172 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 61716 kB
LowFree: 31272 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 0 kB
Writeback: 0 kB
Mapped: 2984 kB
Slab: 3472 kB
CommitLimit: 30856 kB
Committed_AS: 5904 kB
PageTables: 208 kB
VmallocTotal: 188416 kB
VmallocUsed: 8620 kB
VmallocChunk: 4104192 kB
nas>
nas> cat /proc/devices
Character devices:
1 mem
2 pty
3 ttyp
4 /dev/vc/0
4 tty
5 /dev/tty
5 /dev/console
5 /dev/ptmx
7 vcs
10 misc
13 input
36 netlink
90 mtd
128 ptm
136 pts
180 usb
204 ttySL
Block devices:
1 ramdisk
7 loop
8 sd
9 md
65 sd
66 sd
67 sd
68 sd
69 sd
70 sd
71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd
254 mdp
nas>
nas> cat /proc/modules
rt2561ap 239280 0 - Live 0xbf01b000
uhci_hcd 27280 0 - Live 0xbf013000
ohci_hcd 14760 0 - Live 0xbf00e000
ehci_hcd 24132 0 - Live 0xbf007000
loop 21648 0 - Live 0xbf000000
nas>
nas> cat iomem
00000000-03ffffff : System RAM
00021000-002718d7 : Kernel text
00272000-0032fb93 : Kernel data
22000000-2200004f : serial_sl2312
53000000-53000fff : sl2312-ohci
53000000-53000fff : ohci_hcd
f2400000-f2400038 : irq_handler
nas>
nas> cat mtd
dev: size erasesize name
mtd0: 00020000 00010000 "RedBoot"
mtd1: 00180000 00010000 "Kernel"
mtd2: 00200000 00010000 "Ramdisk"
mtd3: 00420000 00010000 "Application"
mtd4: 00010000 00010000 "VCTL"
mtd5: 00020000 00010000 "CurConf"
mtd6: 00010000 00010000 "FIS directory"
nas>
nas> ps auxww
PID Uid VmSize Stat Command
1 root 544 S init
2 root SW< [ksoftirqd/0]
3 root SW< [desched/0]
4 root SW< [events/0]
5 root SW< [khelper]
10 root SW< [kthread]
21 root SW< [kblockd/0]
34 root SW [khubd]
75 root SW [pdflush]
76 root SW [pdflush]
78 root SW< [aio/0]
77 root SW [kswapd0]
890 root SW [eth0]
912 root 1084 S /usr/sausalito/sbin/cced
946 root 620 S /usr/sbin/inetd
1086 root 588 S /sbin/udhcpc -n -s /etc/dhcpcd.script -i eth0
1135 root 452 S /usr/sausalito/handlers/base/bonjour/linkChg
1161 root 652 S /usr/sbin/crond
1184 root 752 S /sbin/syslogd
1273 root 488 S /usr/sausalito/sbin/storudp
1276 root 528 S /usr/sausalito/handlers/base/power/powermgmt
1293 root 652 S /usr/sbin/crond
1299 root 832 S /usr/sbin/thttpd -C /etc/thttpd.conf
1307 root 804 S -ash
1367 root 636 R ps auxww
nas>
nas> ls /etc
localtime UPnP.xml resolv.conf rc nat4.sh host.conf VERSION
dhcpd.conf sysconfig rc.usb ptable nat2.sh group_desc ImageInfo
HOSTNAME rc.d rc.start protocols nat.sh group pam.d
RT2661.bin shells rc.network profile mtab ftpusers syslog.conf
RT2561S.bin setbridge.sh rc.curconf printcap ld.so.conf fstab
RT2561.bin setautoip.sh rc.conf pppoe.sh inetd.conf exports
rt2561.conf services rc.RD.start passwd hosts.allow dhcpcd.script
thttpd.conf securetty rc.HD.start nsswitch.conf hosts crontab
nas> cat /etc/inetd.conf
telnet stream tcp nowait root /usr/sbin/telnetd telnetd
nas>
nas> cat /etc/passwd
root::0:0:root:/root:/bin/ash
lp:x:4:7:lp:/var/spool/lpd:/bin/sh
nobody:x:65535:65535:nobody:/nonexist:/bin/sh
guest::65534:65535:Guest:/nonexist:/bin/sh
admin:$1$$CoERg7ynjYLsj2j4glJ34.:500:100:admin: 2:
guest-share:$1$$qRPK7m23GJusamGpoGLby/:501:101:User for guest share:A@:/bin/badsh
nas>
nas> halt
The system is going down NOW !!
Sending SIGTERM to all processes.
nas> udhcpc[1086]: Received SIGTERM
stop wait
Sending SIGKILL to all processes.
The system is halted. Press Reset or turn off power
md: stopping all md devices.
md: md0 switched to read-only mode.
System halted.
arch_power_off
コメント(0件)
- TB-URL http://www.tokuda.net/diary/0471/tb/