MR3020.cap A capture file of Loopy Byteloose's MR3020 serial communictions. Tue 22 Jul 2014 10:23:02 PM CST THIS DEVICE is NOT CONFIGURED CORRECTLY. ++++++++ This document is merely for study and reference ++++++++++++ ++++++++ It offers NO Solution ++++++++++++++++++++++++++++++++++++++ BusyBox v1.19.4 (2013-03-14 11:28:31 UTC) built-in shell (ash) Enter 'help' for a list of built-in commands. _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M ----------------------------------------------------- ATTITUDE ADJUSTMENT (12.09, r36088) ----------------------------------------------------- * 1/4 oz Vodka Pour all ingredients into mixing * 1/4 oz Gin tin with ice, strain into glass. * 1/4 oz Amaretto * 1/4 oz Triple sec * 1/4 oz Peach schnapps * 1/4 oz Sour mix * 1 splash Cranberry juice ----------------------------------------------------- root@DogHouse:/# reboot root@DogHouse:/# [ 67.540000] device wlan0 left promiscuous mode [ 67.540000] br-lan: port 2(wlan0) entered disabled state [ 69.530000] Removing MTD device #3 (rootfs_data) with use count 1 [ 69.550000] Res˙ U-Boot 1.1.4 (Aug 17 2012 - 15:21:03) AP121 (ar9330) U-boot DRAM: 32 MB led turning on for 1s... id read 0x100000ff flash size 4194304, sector count = 64 Flash: 4 MB Using default environment In: serial Out: serial Err: serial Net: ag7240_enet_initialize... No valid address in Flash. Using fixed address No valid address in Flash. Using fixed address : cfg1 0x5 cfg2 0x7114 eth0: 00:03:7f:09:0b:ad ag7240_phy_setup eth0 up : cfg1 0xf cfg2 0x7214 eth1: 00:03:7f:09:0b:ad athrs26_reg_init_lan ATHRS26: resetting s26 ATHRS26: s26 reset done ag7240_phy_setup eth1 up eth0, eth1 Autobooting in 1 seconds ## Booting image at 9f020000 ... Uncompressing Kernel Image ... OK Starting kernel ... [ 0.000000] Linux version 3.3.8 (blogic@Debian-60-squeeze-64-minimal) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sat Mar 23 16:49:30 UTC 2013 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU revision is: 00019374 (MIPS 24Kc) [ 0.000000] SoC: Atheros AR9330 rev 1 [ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 02000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone PFN ranges: [ 0.000000] Normal 0x00000000 -> 0x00002000 [ 0.000000] Movable zone start PFN for each node [ 0.000000] Early memory PFN ranges [ 0.000000] 0: 0x00000000 -> 0x00002000 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128 [ 0.000000] Kernel command line: board=TL-MR3020 console=ttyATH0,115200 rootfstype=squashfs,jffs2 noinitrd [ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes) [ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes [ 0.000000] Writing ErrCtl register=00000000 [ 0.000000] Readback ErrCtl register=00000000 [ 0.000000] Memory: 29000k/32768k available (2211k kernel code, 3768k reserved, 418k data, 212k init, 0k highmem) [ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:51 [ 0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104) [ 0.080000] pid_max: default: 32768 minimum: 301 [ 0.080000] Mount-cache hash table entries: 512 [ 0.090000] NET: Registered protocol family 16 [ 0.090000] gpiochip_add: registered GPIOs 0 to 29 on device: ath79 [ 0.100000] MIPS: machine is TP-LINK TL-MR3020 [ 0.350000] bio: create slab at 0 [ 0.360000] Switching to clocksource MIPS [ 0.360000] NET: Registered protocol family 2 [ 0.370000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.370000] TCP established hash table entries: 1024 (order: 1, 8192 bytes) [ 0.370000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.380000] TCP: Hash tables configured (established 1024 bind 1024) [ 0.390000] TCP reno registered [ 0.390000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.400000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.400000] NET: Registered protocol family 1 [ 0.430000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.430000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.440000] msgmni has been set to 56 [ 0.440000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) [ 0.450000] io scheduler noop registered [ 0.450000] io scheduler deadline registered (default) [ 0.460000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.470000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART [ 0.480000] console [ttyATH0] enabled, bootconsole disabled [ 0.480000] console [ttyATH0] enabled, bootconsole disabled [ 0.490000] m25p80 spi0.0: found s25sl032a, expected m25p80 [ 0.500000] m25p80 spi0.0: s25sl032a (4096 Kbytes) [ 0.500000] 5 tp-link partitions found on MTD device spi0.0 [ 0.510000] Creating 5 MTD partitions on "spi0.0": [ 0.510000] 0x000000000000-0x000000020000 : "u-boot" [ 0.520000] 0x000000020000-0x000000109c70 : "kernel" [ 0.520000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 0.540000] 0x000000109c70-0x0000003f0000 : "rootfs" [ 0.540000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 0.550000] mtd: partition "rootfs" set to be root filesystem [ 0.560000] mtd: partition "rootfs_data" created automatically, ofs=2E0000, len=110000 [ 0.570000] 0x0000002e0000-0x0000003f0000 : "rootfs_data" [ 0.570000] 0x0000003f0000-0x000000400000 : "art" [ 0.580000] 0x000000020000-0x0000003f0000 : "firmware" [ 0.600000] ag71xx_mdio: probed [ 0.610000] eth0: Atheros AG71xx at 0xb9000000, irq 4 [ 1.160000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY] [ 1.170000] TCP cubic registered [ 1.170000] NET: Registered protocol family 17 [ 1.180000] Bridge firewalling registered [ 1.180000] 8021q: 802.1Q VLAN Support v1.8 [ 1.190000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2. [ 1.200000] Freeing unused kernel memory: 212k freed - preinit - Press the [f] key and hit [enter] to enter failsafe mode [ 6.160000] eth0: link up (100Mbps/Full duplex) - regular preinit - [ 6.580000] JFFS2 notice: (443) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 21 of xref (0 dead, 11 orphan) found. switching to jffs2 - init - [ 6.790000] eth0: link down Please press Enter to activate this console. [ 8.510000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993 [ 8.520000] Backport based on wireless-testing.git master-2012-09-07 [ 8.530000] compat.git: wireless-testing.git [ 8.560000] cfg80211: Calling CRDA to update world regulatory domain [ 8.560000] cfg80211: World regulatory domain updated: [ 8.570000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 8.580000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 8.590000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 8.590000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 8.600000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 8.610000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 8.950000] usbcore: registered new interface driver usbfs [ 8.950000] usbcore: registered new interface driver hub [ 8.960000] usbcore: registered new device driver usb [ 9.530000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2 [ 9.530000] cfg80211: Calling CRDA for country: US [ 9.540000] cfg80211: Regulatory domain changed to country: US [ 9.540000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 9.550000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm) [ 9.560000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm) [ 9.570000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 9.570000] cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 9.580000] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 9.590000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm) [ 9.650000] PPP generic driver version 2.4.2 [ 9.900000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 10.120000] NET: Registered protocol family 24 [ 10.140000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 10.150000] ehci-platform ehci-platform: Generic Platform EHCI Controller [ 10.150000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1 [ 10.190000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000 [ 10.210000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00 [ 10.210000] hub 1-0:1.0: USB hub found [ 10.210000] hub 1-0:1.0: 1 port detected [ 10.240000] nf_conntrack version 0.5.0 (456 buckets, 1824 max) [ 10.470000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 14.120000] device eth0 entered promiscuous mode [ 14.410000] eth0: link up (100Mbps/Full duplex) [ 14.410000] br-lan: port 1(eth0) entered forwarding state [ 14.420000] br-lan: port 1(eth0) entered forwarding state [ 16.420000] br-lan: port 1(eth0) entered forwarding state [ 19.470000] device wlan0 entered promiscuous mode [ 19.570000] br-lan: port 2(wlan0) entered forwarding state [ 19.580000] br-lan: port 2(wlan0) entered forwarding state [ 21.580000] br-lan: port 2(wlan0) entered forwarding state BusyBox v1.19.4 (2013-03-14 11:28:31 UTC) built-in shell (ash) Enter 'help' for a list of built-in commands. _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M ----------------------------------------------------- ATTITUDE ADJUSTMENT (12.09, r36088) ----------------------------------------------------- * 1/4 oz Vodka Pour all ingredients into mixing * 1/4 oz Gin tin with ice, strain into glass. * 1/4 oz Amaretto * 1/4 oz Triple sec * 1/4 oz Peach schnapps * 1/4 oz Sour mix * 1 splash Cranberry juice ----------------------------------------------------- root@DogHouse:/# ls -l drwxr-xr-x 2 root root 666 Mar 23 2013 bin drwxr-xr-x 5 root root 1080 Jul 22 13:55 dev drwxr-xr-x 1 root root 0 Sep 8 2011 etc drwxr-xr-x 15 root root 654 Mar 23 2013 lib drwxr-xr-x 2 root root 3 Mar 23 2013 mnt drwxr-xr-x 4 root root 0 Jan 1 1970 overlay dr-xr-xr-x 48 root root 0 Jan 1 1970 proc drwxr-xr-x 16 root root 223 Mar 23 2013 rom drwxr-xr-x 2 root root 3 Mar 23 2013 root drwxr-xr-x 2 root root 621 Mar 23 2013 sbin drwxr-xr-x 11 root root 0 Jan 1 1970 sys drwxrwxrwt 10 root root 280 Jul 22 13:55 tmp drwxr-xr-x 6 root root 74 Mar 23 2013 usr lrwxrwxrwx 1 root root 4 Mar 23 2013 var -> /tmp drwxr-xr-x 4 root root 67 Mar 23 2013 www root@DogHouse:/# cd /etc root@DogHouse:/etc# ls TZ hotplug2-common.rules preinit banner hotplug2-init.rules profile config hotplug2.rules protocols crontabs init.d rc.common defconfig inittab rc.d diag.sh modules-boot.d rc.local dnsmasq.conf modules.d resolv.conf dropbear mtab services ethers nixio shadow firewall.user openwrt_release shadow- fstab openwrt_version shells functions.sh opkg.conf sysctl.conf group passwd sysupgrade.conf hosts passwd- uci-defaults hotplug.d ppp root@DogHouse:/etc# cd config root@DogHouse:/etc/config# ls -l -rw-r--r-- 1 root root 885 Mar 23 2013 dhcp -rw-r--r-- 1 root root 86 Jul 20 14:38 dropbear -rw-r--r-- 1 root root 2002 Jul 20 14:47 firewall -rw-r--r-- 1 root root 645 Sep 8 2011 luci -rw-r--r-- 1 root root 279 Jul 20 20:55 network -rw-r--r-- 1 root root 705 Jul 20 14:23 system -rw-r--r-- 1 root root 0 Sep 8 2011 ubootenv -rw-r--r-- 1 root root 680 Feb 20 2011 ucitrack -rw-r--r-- 1 root root 2407 Mar 23 2013 uhttpd -rw-r--r-- 1 root root 443 Jul 20 14:40 wireless root@DogHouse:/etc/config# cat /etc/config/wireless config wifi-device 'radio0' option type 'mac80211' option channel '11' option macaddr 'a0:f3:c1:c9:2e:82' option hwmode '11ng' option htmode 'HT20' list ht_capab 'SHORT-GI-20' list ht_capab 'SHORT-GI-40' list ht_capab 'RX-STBC1' list ht_capab 'DSSS_CCK-40' option txpower '27' option country 'US' config wifi-iface option device 'radio0' option mode 'ap' option encryption 'none' option ssid 'DogHouse' option network 'lan' root@DogHouse:/etc/config# ls -l -rw-r--r-- 1 root root 885 Mar 23 2013 dhcp -rw-r--r-- 1 root root 86 Jul 20 14:38 dropbear -rw-r--r-- 1 root root 2002 Jul 20 14:47 firewall -rw-r--r-- 1 root root 645 Sep 8 2011 luci -rw-r--r-- 1 root root 279 Jul 20 20:55 network -rw-r--r-- 1 root root 705 Jul 20 14:23 system -rw-r--r-- 1 root root 0 Sep 8 2011 ubootenv -rw-r--r-- 1 root root 680 Feb 20 2011 ucitrack -rw-r--r-- 1 root root 2407 Mar 23 2013 uhttpd -rw-r--r-- 1 root root 443 Jul 20 14:40 wireless root@DogHouse:/etc/config# cat /etc/config/network config interface 'loopback' option ifname 'lo' option proto 'static' option ipaddr '127.0.0.1' option netmask '255.0.0.0' config interface 'lan' option ifname 'eth0' option type 'bridge' option _orig_ifname 'eth0 wlan0' option _orig_bridge 'true' option proto 'dhcp' root@DogHouse:/etc/config# ls -l -rw-r--r-- 1 root root 885 Mar 23 2013 dhcp -rw-r--r-- 1 root root 86 Jul 20 14:38 dropbear -rw-r--r-- 1 root root 2002 Jul 20 14:47 firewall -rw-r--r-- 1 root root 645 Sep 8 2011 luci -rw-r--r-- 1 root root 279 Jul 20 20:55 network -rw-r--r-- 1 root root 705 Jul 20 14:23 system -rw-r--r-- 1 root root 0 Sep 8 2011 ubootenv -rw-r--r-- 1 root root 680 Feb 20 2011 ucitrack -rw-r--r-- 1 root root 2407 Mar 23 2013 uhttpd -rw-r--r-- 1 root root 443 Jul 20 14:40 wireless root@DogHouse:/etc/config# cat /etc/config/dhcp config dnsmasq option domainneeded 1 option boguspriv 1 option filterwin2k 0 # enable for dial on demand option localise_queries 1 option rebind_protection 1 # disable if upstream must serve RFC1918 addresses option rebind_localhost 1 # enable for RBL checking and similar services #list rebind_domain example.lan # whitelist RFC1918 responses for domains option local '/lan/' option domain 'lan' option expandhosts 1 option nonegcache 0 option authoritative 1 option readethers 1 option leasefile '/tmp/dhcp.leases' option resolvfile '/tmp/resolv.conf.auto' #list server '/mycompany.local/1.2.3.4' #option nonwildcard 1 #list interface br-lan #list notinterface lo #list bogusnxdomain '64.94.110.11' config dhcp lan option interface lan option start 100 option limit 150 option leasetime 12h config dhcp wan option interface wan option ignore 1 root@DogHouse:/etc/config# ls -l -rw-r--r-- 1 root root 885 Mar 23 2013 dhcp -rw-r--r-- 1 root root 86 Jul 20 14:38 dropbear -rw-r--r-- 1 root root 2002 Jul 20 14:47 firewall -rw-r--r-- 1 root root 645 Sep 8 2011 luci -rw-r--r-- 1 root root 279 Jul 20 20:55 network -rw-r--r-- 1 root root 705 Jul 20 14:23 system -rw-r--r-- 1 root root 0 Sep 8 2011 ubootenv -rw-r--r-- 1 root root 680 Feb 20 2011 ucitrack -rw-r--r-- 1 root root 2407 Mar 23 2013 uhttpd -rw-r--r-- 1 root root 443 Jul 20 14:40 wireless root@DogHouse:/etc/config# cat /etc/config/dropbear config dropbear option PasswordAuth 'on' option Port '22' option Interface 'lan' root@DogHouse:/etc/config# ls -l -rw-r--r-- 1 root root 885 Mar 23 2013 dhcp -rw-r--r-- 1 root root 86 Jul 20 14:38 dropbear -rw-r--r-- 1 root root 2002 Jul 20 14:47 firewall -rw-r--r-- 1 root root 645 Sep 8 2011 luci -rw-r--r-- 1 root root 279 Jul 20 20:55 network -rw-r--r-- 1 root root 705 Jul 20 14:23 system -rw-r--r-- 1 root root 0 Sep 8 2011 ubootenv -rw-r--r-- 1 root root 680 Feb 20 2011 ucitrack -rw-r--r-- 1 root root 2407 Mar 23 2013 uhttpd -rw-r--r-- 1 root root 443 Jul 20 14:40 wireless root@DogHouse:/etc/config# cat /etc/config/firewall config defaults option syn_flood '1' option input 'ACCEPT' option output 'ACCEPT' option forward 'REJECT' config zone option name 'lan' option input 'ACCEPT' option output 'ACCEPT' option forward 'REJECT' option network ' ' config zone option name 'wan' option network 'wan' option input 'REJECT' option output 'ACCEPT' option forward 'REJECT' option masq '1' option mtu_fix '1' config forwarding option src 'lan' option dest 'wan' config rule option name 'Allow-DHCP-Renew' option src 'wan' option proto 'udp' option dest_port '68' option target 'ACCEPT' option family 'ipv4' config rule option name 'Allow-Ping' option src 'wan' option proto 'icmp' option icmp_type 'echo-request' option family 'ipv4' option target 'ACCEPT' config rule option name 'Allow-DHCPv6' option src 'wan' option proto 'udp' option src_ip 'fe80::/10' option src_port '547' option dest_ip 'fe80::/10' option dest_port '546' option family 'ipv6' option target 'ACCEPT' config rule option name 'Allow-ICMPv6-Input' option src 'wan' option proto 'icmp' list icmp_type 'echo-request' list icmp_type 'echo-reply' list icmp_type 'destination-unreachable' list icmp_type 'packet-too-big' list icmp_type 'time-exceeded' list icmp_type 'bad-header' list icmp_type 'unknown-header-type' list icmp_type 'router-solicitation' list icmp_type 'neighbour-solicitation' list icmp_type 'router-advertisement' list icmp_type 'neighbour-advertisement' option limit '1000/sec' option family 'ipv6' option target 'ACCEPT' config rule option name 'Allow-ICMPv6-Forward' option src 'wan' option dest '*' option proto 'icmp' list icmp_type 'echo-request' list icmp_type 'echo-reply' list icmp_type 'destination-unreachable' list icmp_type 'packet-too-big' list icmp_type 'time-exceeded' list icmp_type 'bad-header' list icmp_type 'unknown-header-type' option limit '1000/sec' option family 'ipv6' option target 'ACCEPT' config include option path '/etc/firewall.user' root@DogHouse:/etc/config# ls -l -rw-r--r-- 1 root root 885 Mar 23 2013 dhcp -rw-r--r-- 1 root root 86 Jul 20 14:38 dropbear -rw-r--r-- 1 root root 2002 Jul 20 14:47 firewall -rw-r--r-- 1 root root 645 Sep 8 2011 luci -rw-r--r-- 1 root root 279 Jul 20 20:55 network -rw-r--r-- 1 root root 705 Jul 20 14:23 system -rw-r--r-- 1 root root 0 Sep 8 2011 ubootenv -rw-r--r-- 1 root root 680 Feb 20 2011 ucitrack -rw-r--r-- 1 root root 2407 Mar 23 2013 uhttpd -rw-r--r-- 1 root root 443 Jul 20 14:40 wireless root@DogHouse:/etc/config# cat /etc/config/luci config core 'main' option lang 'auto' option mediaurlbase '/luci-static/openwrt.org' option resourcebase '/luci-static/resources' config extern 'flash_keep' option uci '/etc/config/' option dropbear '/etc/dropbear/' option openvpn '/etc/openvpn/' option passwd '/etc/passwd' option opkg '/etc/opkg.conf' option firewall '/etc/firewall.user' option uploads '/lib/uci/upload/' config internal 'languages' option en 'English' config internal 'sauth' option sessionpath '/tmp/luci-sessions' option sessiontime '3600' config internal 'ccache' option enable '1' config internal 'themes' option OpenWrt '/luci-static/openwrt.org' root@DogHouse:/etc/config# ls -l -rw-r--r-- 1 root root 885 Mar 23 2013 dhcp -rw-r--r-- 1 root root 86 Jul 20 14:38 dropbear -rw-r--r-- 1 root root 2002 Jul 20 14:47 firewall -rw-r--r-- 1 root root 645 Sep 8 2011 luci -rw-r--r-- 1 root root 279 Jul 20 20:55 network -rw-r--r-- 1 root root 705 Jul 20 14:23 system -rw-r--r-- 1 root root 0 Sep 8 2011 ubootenv -rw-r--r-- 1 root root 680 Feb 20 2011 ucitrack -rw-r--r-- 1 root root 2407 Mar 23 2013 uhttpd -rw-r--r-- 1 root root 443 Jul 20 14:40 wireless root@DogHouse:/etc/config# cat /etc/config/system config system option zonename 'UTC' option timezone 'GMT0' option conloglevel '8' option cronloglevel '8' option hostname 'DogHouse' config timeserver 'ntp' list server '0.openwrt.pool.ntp.org' list server '1.openwrt.pool.ntp.org' list server '2.openwrt.pool.ntp.org' list server '3.openwrt.pool.ntp.org' config led 'led_usb' option name 'USB' option sysfs 'tp-link:green:3g' option trigger 'usbdev' option dev '1-1' option interval '50' config led 'led_wlan' option name 'WLAN' option sysfs 'tp-link:green:wlan' option trigger 'phy0tpt' config led 'led_lan' option name 'LAN' option sysfs 'tp-link:green:lan' option trigger 'netdev' option dev 'eth0' option mode 'link tx rx' root@DogHouse:/etc/config# ls -l -rw-r--r-- 1 root root 885 Mar 23 2013 dhcp -rw-r--r-- 1 root root 86 Jul 20 14:38 dropbear -rw-r--r-- 1 root root 2002 Jul 20 14:47 firewall -rw-r--r-- 1 root root 645 Sep 8 2011 luci -rw-r--r-- 1 root root 279 Jul 20 20:55 network -rw-r--r-- 1 root root 705 Jul 20 14:23 system -rw-r--r-- 1 root root 0 Sep 8 2011 ubootenv -rw-r--r-- 1 root root 680 Feb 20 2011 ucitrack -rw-r--r-- 1 root root 2407 Mar 23 2013 uhttpd -rw-r--r-- 1 root root 443 Jul 20 14:40 wireless root@DogHouse:/etc/config# cat /etc/config/ubootenv [NOTHING IN ubootenv] root@DogHouse:/etc/config# cat /etc/config/ucitrack config network option init network list affects dhcp list affects radvd config wireless list affects network config firewall option init firewall list affects luci-splash list affects qos list affects miniupnpd config olsr option init olsrd config dhcp option init dnsmasq config dropbear option init dropbear config httpd option init httpd config fstab option init fstab config qos option init qos config system option init led list affects luci_statistics config luci_splash option init luci_splash config upnpd option init miniupnpd config ntpclient option init ntpclient config samba option init samba config tinyproxy option init tinyproxy root@DogHouse:/etc/config# ls -l -rw-r--r-- 1 root root 885 Mar 23 2013 dhcp -rw-r--r-- 1 root root 86 Jul 20 14:38 dropbear -rw-r--r-- 1 root root 2002 Jul 20 14:47 firewall -rw-r--r-- 1 root root 645 Sep 8 2011 luci -rw-r--r-- 1 root root 279 Jul 20 20:55 network -rw-r--r-- 1 root root 705 Jul 20 14:23 system -rw-r--r-- 1 root root 0 Sep 8 2011 ubootenv -rw-r--r-- 1 root root 680 Feb 20 2011 ucitrack -rw-r--r-- 1 root root 2407 Mar 23 2013 uhttpd -rw-r--r-- 1 root root 443 Jul 20 14:40 wireless root@DogHouse:/etc/config# cat /etc/config/uhttpd # Server configuration config uhttpd main # HTTP listen addresses, multiple allowed list listen_http 0.0.0.0:80 # list listen_http [::]:80 # HTTPS listen addresses, multiple allowed list listen_https 0.0.0.0:443 # list listen_https [::]:443 # Server document root option home /www # Reject requests from RFC1918 IP addresses # directed to the servers public IP(s). # This is a DNS rebinding countermeasure. option rfc1918_filter 1 # Maximum number of concurrent requests. # If this number is exceeded, further requests are # queued until the number of running requests drops # below the limit again. option max_requests 3 # Certificate and private key for HTTPS. # If no listen_https addresses are given, # the key options are ignored. option cert /etc/uhttpd.crt option key /etc/uhttpd.key # CGI url prefix, will be searched in docroot. # Default is /cgi-bin option cgi_prefix /cgi-bin # List of extension->interpreter mappings. # Files with an associated interpreter can # be called outside of the CGI prefix and do # not need to be executable. # list interpreter ".php=/usr/bin/php-cgi" # list interpreter ".cgi=/usr/bin/perl" # Lua url prefix and handler script. # Lua support is disabled if no prefix given. # option lua_prefix /luci # option lua_handler /usr/lib/lua/luci/sgi/uhttpd.lua # CGI/Lua timeout, if the called script does not # write data within the given amount of seconds, # the server will terminate the request with # 504 Gateway Timeout response. option script_timeout 60 # Network timeout, if the current connection is # blocked for the specified amount of seconds, # the server will terminate the associated # request process. option network_timeout 30 # TCP Keep-Alive, send periodic keep-alive probes # over established connections to detect dead peers. # The value is given in seconds to specify the # interval between subsequent probes. # Setting this to 0 will disable TCP keep-alive. option tcp_keepalive 1 # Basic auth realm, defaults to local hostname # option realm OpenWrt # Configuration file in busybox httpd format # option config /etc/httpd.conf # Certificate defaults for px5g key generator config cert px5g # Validity time option days 730 # RSA key size option bits 1024 # Location option country DE option state Berlin option location Berlin # Common name option commonname OpenWrt root@DogHouse:/etc/config# cd / root@DogHouse:/# ls bin etc mnt proc root sys usr www dev lib overlay rom sbin tmp var root@DogHouse:/# cd bin root@DogHouse:/bin# ls -l lrwxrwxrwx 1 root root 7 Mar 23 2013 ash -> busybox -rwxr-xr-x 1 root root 428304 Mar 23 2013 busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 cat -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 chgrp -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 chmod -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 chown -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 cp -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 date -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 dd -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 df -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 dmesg -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 echo -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 egrep -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 false -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 fgrep -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 fsync -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 grep -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 gunzip -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 gzip -> busybox -rwxr-xr-x 1 root root 1382 Mar 8 2013 ipcalc.sh lrwxrwxrwx 1 root root 7 Mar 23 2013 kill -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 ln -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 lock -> busybox -rwxr-xr-x 1 root root 424 Mar 8 2013 login.sh lrwxrwxrwx 1 root root 7 Mar 23 2013 ls -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 mkdir -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 mknod -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 mktemp -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 mount -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 mv -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 netmsg -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 netstat -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 nice -> busybox -rwxr-xr-x 1 root root 126229 Mar 23 2013 opkg lrwxrwxrwx 1 root root 7 Mar 23 2013 pidof -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 ping -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 ping6 -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 ps -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 pwd -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 rm -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 rmdir -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 sed -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 sh -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 sleep -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 sync -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 tar -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 touch -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 true -> busybox -rwxr-xr-x 1 root root 6485 Mar 23 2013 ubus lrwxrwxrwx 1 root root 7 Mar 23 2013 umount -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 uname -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 vi -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 zcat -> busybox root@DogHouse:/bin# root@DogHouse:/bin# busybox BusyBox v1.19.4 (2013-03-14 11:28:31 UTC) multi-call binary. Copyright (C) 1998-2011 Erik Andersen, Rob Landley, Denys Vlasenko and others. Licensed under GPLv2. See source distribution for full notice. Usage: busybox [function] [arguments]... or: busybox --list[-full] or: function [arguments]... BusyBox is a multi-call binary that combines many common Unix utilities into a single executable. Most people will create a link to busybox for each function they wish to use and BusyBox will act like whatever it was invoked as. Currently defined functions: [, [[, arping, ash, awk, basename, brctl, bunzip2, bzcat, cat, chgrp, chmod, chown, chroot, clear, cmp, cp, crond, crontab, cut, date, dd, df, dirname, dmesg, du, echo, egrep, env, expr, false, fgrep, find, free, fsync, grep, gunzip, gzip, halt, head, hexdump, hostid, hwclock, id, ifconfig, init, insmod, kill, killall, klogd, less, ln, lock, logger, logread, ls, lsmod, md5sum, mkdir, mkfifo, mknod, mktemp, mount, mv, nc, netmsg, netstat, nice, nslookup, ntpd, passwd, pgrep, pidof, ping, ping6, pivot_root, poweroff, printf, ps, pwd, reboot, reset, rm, rmdir, rmmod, route, sed, seq, sh, sleep, sort, start-stop-daemon, strings, switch_root, sync, sysctl, syslogd, tail, tar, tee, telnet, telnetd, test, time, top, touch, tr, traceroute, true, udhcpc, umount, uname, uniq, uptime, vconfig, vi, watchdog, wc, wget, which, xargs, yes, zcat root@DogHouse:/bin# root@DogHouse:/bin# cd . root@DogHouse:/bin# ls -l lrwxrwxrwx 1 root root 7 Mar 23 2013 ash -> busybox -rwxr-xr-x 1 root root 428304 Mar 23 2013 busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 cat -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 chgrp -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 chmod -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 chown -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 cp -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 date -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 dd -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 df -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 dmesg -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 echo -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 egrep -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 false -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 fgrep -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 fsync -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 grep -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 gunzip -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 gzip -> busybox -rwxr-xr-x 1 root root 1382 Mar 8 2013 ipcalc.sh lrwxrwxrwx 1 root root 7 Mar 23 2013 kill -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 ln -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 lock -> busybox -rwxr-xr-x 1 root root 424 Mar 8 2013 login.sh lrwxrwxrwx 1 root root 7 Mar 23 2013 ls -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 mkdir -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 mknod -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 mktemp -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 mount -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 mv -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 netmsg -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 netstat -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 nice -> busybox -rwxr-xr-x 1 root root 126229 Mar 23 2013 opkg lrwxrwxrwx 1 root root 7 Mar 23 2013 pidof -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 ping -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 ping6 -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 ps -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 pwd -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 rm -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 rmdir -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 sed -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 sh -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 sleep -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 sync -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 tar -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 touch -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 true -> busybox -rwxr-xr-x 1 root root 6485 Mar 23 2013 ubus lrwxrwxrwx 1 root root 7 Mar 23 2013 umount -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 uname -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 vi -> busybox lrwxrwxrwx 1 root root 7 Mar 23 2013 zcat -> busybox root@DogHouse:/bin# cd .. root@DogHouse:/# ls bin etc mnt proc root sys usr www dev lib overlay rom sbin tmp var root@DogHouse:/# cd /dev root@DogHouse:/dev# ls -l drwxr-xr-x 3 root root 60 Jul 22 13:55 bus crw-r--r-- 1 root root 5, 1 Jan 1 1970 console crw-rw-rw- 1 root root 1, 7 Jan 1 1970 full crw-r--r-- 1 root root 1, 11 Jan 1 1970 kmsg srw-rw-rw- 1 root root 0 Jul 22 13:55 log crw-r--r-- 1 root root 1, 1 Jan 1 1970 mem crw-r--r-- 1 root root 90, 0 Jan 1 1970 mtd0 crw-r--r-- 1 root root 90, 1 Jan 1 1970 mtd0ro crw-r--r-- 1 root root 90, 2 Jan 1 1970 mtd1 crw-r--r-- 1 root root 90, 3 Jan 1 1970 mtd1ro crw-r--r-- 1 root root 90, 4 Jan 1 1970 mtd2 crw-r--r-- 1 root root 90, 5 Jan 1 1970 mtd2ro crw-r--r-- 1 root root 90, 6 Jan 1 1970 mtd3 crw-r--r-- 1 root root 90, 7 Jan 1 1970 mtd3ro crw-r--r-- 1 root root 90, 8 Jan 1 1970 mtd4 crw-r--r-- 1 root root 90, 9 Jan 1 1970 mtd4ro crw-r--r-- 1 root root 90, 10 Jan 1 1970 mtd5 crw-r--r-- 1 root root 90, 11 Jan 1 1970 mtd5ro brw-r--r-- 1 root root 31, 0 Jan 1 1970 mtdblock0 brw-r--r-- 1 root root 31, 1 Jan 1 1970 mtdblock1 brw-r--r-- 1 root root 31, 2 Jan 1 1970 mtdblock2 brw-r--r-- 1 root root 31, 3 Jan 1 1970 mtdblock3 brw-r--r-- 1 root root 31, 4 Jan 1 1970 mtdblock4 brw-r--r-- 1 root root 31, 5 Jan 1 1970 mtdblock5 crw-rw-rw- 1 root root 1, 3 Jan 1 1970 null crw-r--r-- 1 root root 1, 4 Jan 1 1970 port crw------- 1 root root 108, 0 Jul 22 13:55 ppp crw-rw-rw- 1 root root 5, 2 Jan 1 1970 ptmx drwxr-xr-x 2 root root 0 Jan 1 1970 pts crw-r--r-- 1 root root 1, 8 Jan 1 1970 random drwxr-xr-x 2 root root 40 Jan 1 1970 shm crw-rw-rw- 1 root root 5, 0 Jan 1 1970 tty crw-rw-rw- 1 root root 253, 0 Jul 22 14:03 ttyATH0 crw-rw-rw- 1 root root 4, 64 Jan 1 1970 ttyS0 crw-rw-rw- 1 root root 4, 65 Jan 1 1970 ttyS1 crw-rw-rw- 1 root root 4, 74 Jan 1 1970 ttyS10 crw-rw-rw- 1 root root 4, 75 Jan 1 1970 ttyS11 crw-rw-rw- 1 root root 4, 76 Jan 1 1970 ttyS12 crw-rw-rw- 1 root root 4, 77 Jan 1 1970 ttyS13 crw-rw-rw- 1 root root 4, 78 Jan 1 1970 ttyS14 crw-rw-rw- 1 root root 4, 79 Jan 1 1970 ttyS15 crw-rw-rw- 1 root root 4, 66 Jan 1 1970 ttyS2 crw-rw-rw- 1 root root 4, 67 Jan 1 1970 ttyS3 crw-rw-rw- 1 root root 4, 68 Jan 1 1970 ttyS4 crw-rw-rw- 1 root root 4, 69 Jan 1 1970 ttyS5 crw-rw-rw- 1 root root 4, 70 Jan 1 1970 ttyS6 crw-rw-rw- 1 root root 4, 71 Jan 1 1970 ttyS7 crw-rw-rw- 1 root root 4, 72 Jan 1 1970 ttyS8 crw-rw-rw- 1 root root 4, 73 Jan 1 1970 ttyS9 crw-r--r-- 1 root root 1, 9 Jan 1 1970 urandom crw-r--r-- 1 root root 10, 130 Jul 22 13:55 watchdog crw-rw-rw- 1 root root 1, 5 Jan 1 1970 zero root@DogHouse:/dev# cd .. root@DogHouse:/# ls bin etc mnt proc root sys usr www dev lib overlay rom sbin tmp var root@DogHouse:/# cd sbin root@DogHouse:/sbin# ls devstatus ifup netifd syslogd firstboot init pivot_root sysupgrade fw insmod poweroff ubusd halt klogd reboot uci hotplug-call led.sh rmmod udevtrigger hotplug2 logread route udhcpc hwclock lsmod start-stop-daemon vconfig ifconfig luci-reload swconfig watchdog ifdown mount_root switch_root wget2nand ifstatus mtd sysctl wifi root@DogHouse:/sbin# ls -l -rwxr-xr-x 1 root root 200 Mar 8 2013 devstatus -rwxr-xr-x 1 root root 629 Mar 8 2013 firstboot -rwxr-xr-x 1 root root 686 Mar 23 2013 fw lrwxrwxrwx 1 root root 14 Mar 23 2013 halt -> ../bin/busybox -rwxr-xr-x 1 root root 317 Mar 8 2013 hotplug-call -rwxr-xr-x 1 root root 26053 Mar 23 2013 hotplug2 lrwxrwxrwx 1 root root 14 Mar 23 2013 hwclock -> ../bin/busybox lrwxrwxrwx 1 root root 14 Mar 23 2013 ifconfig -> ../bin/busybox lrwxrwxrwx 1 root root 4 Mar 23 2013 ifdown -> ifup -rwxr-xr-x 1 root root 273 Mar 8 2013 ifstatus -rwxr-xr-x 1 root root 1320 Mar 8 2013 ifup lrwxrwxrwx 1 root root 14 Mar 23 2013 init -> ../bin/busybox lrwxrwxrwx 1 root root 14 Mar 23 2013 insmod -> ../bin/busybox lrwxrwxrwx 1 root root 14 Mar 23 2013 klogd -> ../bin/busybox -rwxr-xr-x 1 root root 500 Mar 8 2013 led.sh lrwxrwxrwx 1 root root 14 Mar 23 2013 logread -> ../bin/busybox lrwxrwxrwx 1 root root 14 Mar 23 2013 lsmod -> ../bin/busybox -rwxr-xr-x 1 root root 924 Dec 25 2012 luci-reload -rwxr-xr-x 1 root root 517 Mar 8 2013 mount_root -rwxr-xr-x 1 root root 20789 Mar 23 2013 mtd -rwxr-xr-x 1 root root 75573 Mar 23 2013 netifd lrwxrwxrwx 1 root root 14 Mar 23 2013 pivot_root -> ../bin/busybox lrwxrwxrwx 1 root root 14 Mar 23 2013 poweroff -> ../bin/busybox lrwxrwxrwx 1 root root 14 Mar 23 2013 reboot -> ../bin/busybox lrwxrwxrwx 1 root root 14 Mar 23 2013 rmmod -> ../bin/busybox lrwxrwxrwx 1 root root 14 Mar 23 2013 route -> ../bin/busybox lrwxrwxrwx 1 root root 14 Mar 23 2013 start-stop-daemon -> ../bin/busybox -rwxr-xr-x 1 root root 13285 Mar 23 2013 swconfig lrwxrwxrwx 1 root root 14 Mar 23 2013 switch_root -> ../bin/busybox lrwxrwxrwx 1 root root 14 Mar 23 2013 sysctl -> ../bin/busybox lrwxrwxrwx 1 root root 14 Mar 23 2013 syslogd -> ../bin/busybox -rwxr-xr-x 1 root root 4780 Mar 8 2013 sysupgrade -rwxr-xr-x 1 root root 14453 Mar 23 2013 ubusd -rwxr-xr-x 1 root root 10869 Mar 23 2013 uci -rwxr-xr-x 1 root root 5189 Mar 23 2013 udevtrigger lrwxrwxrwx 1 root root 14 Mar 23 2013 udhcpc -> ../bin/busybox lrwxrwxrwx 1 root root 14 Mar 23 2013 vconfig -> ../bin/busybox lrwxrwxrwx 1 root root 14 Mar 23 2013 watchdog -> ../bin/busybox -rwxr-xr-x 1 root root 2291 Mar 8 2013 wget2nand -rwxr-xr-x 1 root root 3944 Mar 8 2013 wifi root@DogHouse:/sbin# devstatus Usage: /sbin/devstatus root@DogHouse:/sbin# cd .. root@DogHouse:/# ls -l drwxr-xr-x 2 root root 666 Mar 23 2013 bin drwxr-xr-x 5 root root 1080 Jul 22 13:55 dev drwxr-xr-x 1 root root 0 Sep 8 2011 etc drwxr-xr-x 15 root root 654 Mar 23 2013 lib drwxr-xr-x 2 root root 3 Mar 23 2013 mnt drwxr-xr-x 4 root root 0 Jan 1 1970 overlay dr-xr-xr-x 47 root root 0 Jan 1 1970 proc drwxr-xr-x 16 root root 223 Mar 23 2013 rom drwxr-xr-x 2 root root 3 Mar 23 2013 root drwxr-xr-x 2 root root 621 Mar 23 2013 sbin drwxr-xr-x 11 root root 0 Jan 1 1970 sys drwxrwxrwt 10 root root 280 Jul 22 13:55 tmp drwxr-xr-x 6 root root 74 Mar 23 2013 usr lrwxrwxrwx 1 root root 4 Mar 23 2013 var -> /tmp drwxr-xr-x 4 root root 67 Mar 23 2013 www root@DogHouse:/# cd usr root@DogHouse:/usr# ls bin lib sbin share root@DogHouse:/usr# cd bin root@DogHouse:/usr/bin# ls [ cut hexdump mkfifo ssh uniq [[ dbclient hostid nc strings uptime arping dirname id nslookup tail wc awk dropbearkey jshn passwd tee wget basename du killall pgrep telnet which bunzip2 env less printf test xargs bzcat expr logger reset time yes clear find lua scp top cmp free luci-bwc seq tr crontab head md5sum sort traceroute root@DogHouse:/usr/bin# cd ls -l lrwxrwxrwx 1 root root 17 Mar 23 2013 [ -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 [[ -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 arping -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 awk -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 basename -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 bunzip2 -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 bzcat -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 clear -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 cmp -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 crontab -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 cut -> ../../bin/busybox lrwxrwxrwx 1 root root 16 Mar 23 2013 dbclient -> ../sbin/dropbear lrwxrwxrwx 1 root root 17 Mar 23 2013 dirname -> ../../bin/busybox lrwxrwxrwx 1 root root 16 Mar 23 2013 dropbearkey -> ../sbin/dropbear lrwxrwxrwx 1 root root 17 Mar 23 2013 du -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 env -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 expr -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 find -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 free -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 head -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 hexdump -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 hostid -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 id -> ../../bin/busybox -rwxr-xr-x 1 root root 6853 Mar 23 2013 jshn lrwxrwxrwx 1 root root 17 Mar 23 2013 killall -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 less -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 logger -> ../../bin/busybox -rwxr-xr-x 1 root root 9444 Mar 23 2013 lua -rwxr-xr-x 1 root root 12580 Mar 23 2013 luci-bwc lrwxrwxrwx 1 root root 17 Mar 23 2013 md5sum -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 mkfifo -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 nc -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 nslookup -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 passwd -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 pgrep -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 printf -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 reset -> ../../bin/busybox lrwxrwxrwx 1 root root 16 Mar 23 2013 scp -> ../sbin/dropbear lrwxrwxrwx 1 root root 17 Mar 23 2013 seq -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 sort -> ../../bin/busybox lrwxrwxrwx 1 root root 16 Mar 23 2013 ssh -> ../sbin/dropbear lrwxrwxrwx 1 root root 17 Mar 23 2013 strings -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 tail -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 tee -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 telnet -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 test -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 time -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 top -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 tr -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 traceroute -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 uniq -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 uptime -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 wc -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 wget -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 which -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 xargs -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 yes -> ../../bin/busybox root@DogHouse:/usr/bin# cd .. root@DogHouse:/usr# ls bin lib sbin share root@DogHouse:/usr# cd sbin root@DogHouse:/usr/sbin# ls -l lrwxrwxrwx 1 root root 17 Mar 23 2013 brctl -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 chroot -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 crond -> ../../bin/busybox -rwxr-xr-x 1 root root 158757 Mar 23 2013 dnsmasq -rwxr-xr-x 1 root root 157173 Mar 23 2013 dropbear -rwxr-xr-x 1 root root 14501 Mar 23 2013 fw_printenv lrwxrwxrwx 1 root root 11 Mar 23 2013 fw_setenv -> fw_printenv lrwxrwxrwx 1 root root 4 Mar 23 2013 hostapd -> wpad -rwxr-xr-x 1 root root 88981 Mar 23 2013 iptables lrwxrwxrwx 1 root root 8 Mar 23 2013 iptables-restore -> iptables lrwxrwxrwx 1 root root 8 Mar 23 2013 iptables-save -> iptables -rwxr-xr-x 1 root root 87045 Mar 23 2013 iw lrwxrwxrwx 1 root root 17 Mar 23 2013 ntpd -> ../../bin/busybox -rwxr-xr-x 1 root root 220197 Mar 23 2013 pppd lrwxrwxrwx 1 root root 17 Mar 23 2013 telnetd -> ../../bin/busybox -rwxr-xr-x 1 root root 35989 Mar 23 2013 uhttpd lrwxrwxrwx 1 root root 4 Mar 23 2013 wpa_supplicant -> wpad -rwxr-xr-x 1 root root 411189 Mar 23 2013 wpad root@DogHouse:/usr/sbin# dropbear --help Unknown argument --help Dropbear sshd v2011.54 Usage: dropbear [options] Options are: -b bannerfile Display the contents of bannerfile before user login (default: none) -d dsskeyfile Use dsskeyfile for the DSS host key (default: /etc/dropbear/dropbear_dss_host_key) -r rsakeyfile Use rsakeyfile for the RSA host key (default: /etc/dropbear/dropbear_rsa_host_key) -F Don't fork into background -E Log to stderr rather than syslog -w Disallow root logins -s Disable password logins -g Disable password logins for root -j Disable local port forwarding -k Disable remote port forwarding -a Allow connections to forwarded ports from any host -p [address:]port Listen on specified tcp port (and optionally address), up to 10 can be specified (default port is 22 if none specified) -P PidFile Create pid file PidFile (default /var/run/dropbear.pid) -W (default 24576, larger may be faster, max 1MB) -K (0 is never, default 0, in seconds) -I (0 is never, default 0, in seconds) root@DogHouse:/usr/sbin# ls -l lrwxrwxrwx 1 root root 17 Mar 23 2013 brctl -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 chroot -> ../../bin/busybox lrwxrwxrwx 1 root root 17 Mar 23 2013 crond -> ../../bin/busybox -rwxr-xr-x 1 root root 158757 Mar 23 2013 dnsmasq -rwxr-xr-x 1 root root 157173 Mar 23 2013 dropbear -rwxr-xr-x 1 root root 14501 Mar 23 2013 fw_printenv lrwxrwxrwx 1 root root 11 Mar 23 2013 fw_setenv -> fw_printenv lrwxrwxrwx 1 root root 4 Mar 23 2013 hostapd -> wpad -rwxr-xr-x 1 root root 88981 Mar 23 2013 iptables lrwxrwxrwx 1 root root 8 Mar 23 2013 iptables-restore -> iptables lrwxrwxrwx 1 root root 8 Mar 23 2013 iptables-save -> iptables -rwxr-xr-x 1 root root 87045 Mar 23 2013 iw lrwxrwxrwx 1 root root 17 Mar 23 2013 ntpd -> ../../bin/busybox -rwxr-xr-x 1 root root 220197 Mar 23 2013 pppd lrwxrwxrwx 1 root root 17 Mar 23 2013 telnetd -> ../../bin/busybox -rwxr-xr-x 1 root root 35989 Mar 23 2013 uhttpd lrwxrwxrwx 1 root root 4 Mar 23 2013 wpa_supplicant -> wpad -rwxr-xr-x 1 root root 411189 Mar 23 2013 wpad