Add OpenWrt support for Gigastone TR1

I did try the network connection to 192.168.1.1
Also tried building custom CC image for DIR-601 A1 w/ a few reduced package and allow any any on FW from wan. Tried WAN and LAN ip.

The D-LINK DIR 601-B1 seems to get a little farther. According to TOH it is a better match.

TR1> bootm 0x9f050000
## Booting image at 9f050000 ...
   Image Name:   MIPS OpenWrt Linux-3.18.23
   Created:      2016-02-02  11:36:48 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1176662 Bytes =  1.1 MB
   Load Address: 80060000
   Entry Point:  80060000
   Verifying Checksum at 0x9f050040 ...OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 3.18.23 (buildbot@builder1) (gcc version 4.8.3 (Ope                                            nWrt/Linaro GCC 4.8-2014.04 r47269) ) #1 Sun Jan 31 18:39:35 CET 2016
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR9330 rev 1
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 01000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x00ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x00ffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x00ffffff]
[    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] Built 1 zonelists in Zone order, mobility grouping off.  Total pa                                            ges: 4064
[    0.000000] Kernel command line:  board=TEW-712BR console=ttyATH0,115200 mtdp                                            arts=spi0.0:64k(u-boot)ro,64k(art)ro,64k(mac)ro,64k(nvram)ro,192k(language)ro,36                                            48k(firmware) rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 64 (order: -4, 256 bytes)
[    0.000000] Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 12080K/16384K available (2586K kernel code, 128K rwdata,                                             540K rodata, 256K init, 193K bss, 4304K reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.00                                            0MHz
[    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: 1024 (order: 0, 4096 bytes)
[    0.090000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.100000] NET: Registered protocol family 16
[    0.100000] MIPS: machine is TRENDnet TEW-712BR
[    0.590000] Switched to clocksource MIPS
[    0.590000] NET: Registered protocol family 2
[    0.600000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.600000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.610000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.610000] TCP: reno registered
[    0.620000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.620000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.630000] NET: Registered protocol family 1
[    0.630000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.650000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.650000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT                                            Y) (c) 2001-2006 Red Hat, Inc.
[    0.660000] msgmni has been set to 23
[    0.670000] io scheduler noop registered
[    0.670000] io scheduler deadline registered (default)
[    0.680000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.690000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11, base_baud = 15                                            62500) is a AR933X UART
[    0.690000] console [ttyATH0] enabled
[    0.690000] console [ttyATH0] enabled
[    0.700000] bootconsole [early0] disabled
[    0.700000] bootconsole [early0] disabled
[    0.710000] m25p80 spi0.0: found mx25l3205d, expected m25p80
[    0.720000] m25p80 spi0.0: mx25l3205d (4096 Kbytes)
[    0.720000] 6 cmdlinepart partitions found on MTD device spi0.0
[    0.730000] Creating 6 MTD partitions on "spi0.0":
[    0.730000] 0x000000000000-0x000000010000 : "u-boot"
[    0.740000] 0x000000010000-0x000000020000 : "art"
[    0.740000] 0x000000020000-0x000000030000 : "mac"
[    0.750000] 0x000000030000-0x000000040000 : "nvram"
[    0.750000] 0x000000040000-0x000000070000 : "language"
[    0.760000] 0x000000070000-0x000000400000 : "firmware"
[    0.810000] libphy: ag71xx_mdio: probed
[    1.400000] ag71xx-mdio.1: Found an AR7240/AR9330 built-in switch
[    1.430000] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[    2.020000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd0                                            41, driver=Generic PHY]
[    2.030000] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    2.030000] TCP: cubic registered
[    2.030000] NET: Registered protocol family 17
[    2.040000] bridge: automatic filtering via arp/ip/ip6tables has been depreca                                            ted. Update your scripts to load br_netfilter if you need this.
[    2.050000] Bridge firewalling registered
[    2.060000] 8021q: 802.1Q VLAN Support v1.8
[    2.070000] VFS: Cannot open root device "(null)" or unknown-block(0,0): erro                                            r -6
[    2.070000] Please append a correct "root=" boot option; here are the availab                                            le partitions:
[    2.080000] 1f00              64 mtdblock0  (driver?)
[    2.090000] 1f01              64 mtdblock1  (driver?)
[    2.090000] 1f02              64 mtdblock2  (driver?)
[    2.100000] 1f03              64 mtdblock3  (driver?)
[    2.100000] 1f04             192 mtdblock4  (driver?)
[    2.110000] 1f05            3648 mtdblock5  (driver?)
[    2.110000] Kernel panic - not syncing: VFS: Unable to mount root fs on unkno                                            wn-block(0,0)
[    2.110000] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs                                             on unknown-block(0,0)
[   82.480000] random: nonblocking pool is initialized


RE: Upgrading flash, ram

I don't really want to go down that road. The goal is to be able to have an image that can be uploaded to a stock device via the Upgrade function in stock web gui.

I think there are hardware config options that need to be overcome before getting to resource challenges. It may be worth trying the RAM upgrade just to see if that is the problem. In TOH, all the support 4MB flash devices (for 9331) have at least 32MB RAM. This device (if you believe u-boot output) has only 16MB RAM.

Yes, this seems to be a bit of a fools errand. Especially considering VIXMINI comes w/ openwrt and more resources for under $20 and the price of TR1 on Amazon has gone from $7.99 a few weeks ago to $10.99. Not to mention looks like the TR1 is from a few years ago and they are probably just closing out old inventory.

I'm also interested in getting openwrt to work on this turdlette of a router.

I've seen questions on the amazon page about running openwrt on it.

I followed this post and got my serial connection working.

I'm including the console display for the stock boot.

Looks like it runs Linux, I thought maybe it would be Openwrt already.

Doesn't that mean they need to provide device source code due to GPL of Linux?

Stock U-Boot log

U-Boot 1.1.4-ga519b4f0-dirtyOct  9 201317:21:10

AP121 (ar9331) U-boot

DRAM:  16 MB
Flash Manuf Id 0x0, DeviceId0 0x0, DeviceId1 0x0
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:be:ef
eth0 up
: cfg1 0xf cfg2 0x7214
eth1: 00:03:7f:09:be:ef
athrs26_reg_init_lan
ATHRS26: resetting s26
ATHRS26: s26 reset done
eth1 up
eth0, eth1
Hit any key to stop autoboot:  0
## Booting image at 9f300000 ...
   Image Name:   Linux Kernel Image
   Created:      2014-02-26   4:14:51 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    905965 Bytes = 884.7 kB
   Load Address: 80002000
   Entry Point:  801ea0e0
   Verifying Checksum at 0x9f300040 ...OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

Booting AR9330(Hornet)...


Stock Printing

aTR1> printenv
Unknown command 'printenv' - try 'help'
TR1> printenv
bootargs=console=ttyS0,115200 root=31:02 rootfstype=squashfs init=/sbin/init mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),2752k(rootfs),896k(uImage),64k(NVRAM),64k(ART)
bootcmd=bootm 0x9f300000
bootdelay=1
baudrate=115200
ethaddr=0x00:0xaa:0xbb:0xcc:0xdd:0xee
ipaddr=192.168.16.254
serverip=192.168.16.10
stdin=serial
stdout=serial
stderr=serial
ethact=eth0
nc=setenv stdin nc;setenv stdout nc;setenv stderr serial
serial=setenv stdin serial;setenv stdout serial;setenv stderr serial
ncip=192.168.16.10

Environment size: 508/65532 bytes

Memory of Boot location

TR1> md 9f300000
9f300000: 27051956 0f2d2e50 530d6a3b 000dd2ed    '..V.-.PS.j;....
9f300010: 80002000 801ea0e0 85246a37 05050203    .. ......$j7....
9f300020: 4c696e75 78204b65 726e656c 20496d61    Linux Kernel Ima
9f300030: 67650000 00000000 00000000 00000000    ge..............
9f300040: 5d000080 00ecc328 00000000 0000006f    ]......(.......o
9f300050: fdffffa3 b77f63c5 557ebc4d 37529627    ......c.U~.M7R.'
9f300060: 3785770a 767c9cea 334a4beb b99b7a11    7.w.v|..3JK...z.
9f300070: fbceb9aa e98cbd1c 85e76e2e 3dd51e5f    ..........n.=.._
9f300080: 0ff84489 f43f197f 65f3d469 6a2a3b88    ..D..?..e..ij*;.
9f300090: 564f3883 245202e5 8c2f1928 80709f48    VO8.$R.../.(.p.H
9f3000a0: 96707ec2 774814c3 0c501092 21a2b97d    .p~.wH...P..!..}
9f3000b0: 2f4855a5 64f51138 7307da21 8acec601    /HU.d..8s..!....
9f3000c0: fdb6f92d 81dfa83a 8cf9c6e3 24b9b5db    ...-...:....$...
9f3000d0: 4befe6cf 7cdef7a7 0135938c 02a544ca    K...|....5....D.
9f3000e0: dc84de80 33b0ce2a 82343b16 ede24146    ....3..*.4;...AF
9f3000f0: 309f248d 77d21a48 1c849b8e 14dd9f34    0.$.w..H.......4

I'm trying to get CC working because the D-Link DIR-601-B1 seems to almost work and it isn't supported past CC.

A couple of questions remain.

  1. How does the Magic Number work? Is there a way to patch it, i.e. put in a new one? Then I could try some other 9331 based images.
    Most 9331 images report 'Bad Magic Number' in U-Boot console.

  2. How to create mach file?
    Don't need to worry about LEDs and Buttons to start.

How do I go from this (stock printenv):
bootargs=console=ttyS0,115200 root=31:02 rootfstype=squashfs init=/sbin/init mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),2752k(rootfs),896k(uImage),64k(NVRAM),64k(ART)
bootcmd=bootm 0x9f300000

To content in mach file (like "\chaos_calmer-chaos_calmer\target\linux\ar71xx\files\arch\mips\ath79\mach-dir-600-a1.c"):
#define DIR_600_A1_NVRAM_ADDR 0x1f030000

#define DIR_600_A1_NVRAM_SIZE 0x10000

Is there somewhere else hardware information goes?

https://books.google.com/books?id=I-hVqkX6A9cC&pg=PA55&source=gbs_toc_r&cad=3#v=onepage&q&f=false
Mandatory reading Pages 289-300

Excellent resource, thanks.

You can turn on telnet to get root access. Make following text a .bat, follow comments and run. Or convert to sh if needed.

REM Gigastone maintenance bat file to turn telnetd on
REM reset device to factory defaults (password=admin), connect network cable
REM install wget, run this bat file from wget folder
REM ssid will be updated to GIGASTONE_100000
REM telnetd will start but will not be persistent
REM to turn off telnetd, reboot device
echo 192.168.16.254 TRUE / FALSE 1590440637 TR1_ADMIN admin > cookies.txt
wget --load-cookies cookies.txt "http://192.168.16.254/cgi-bin/tr1.cgi?cgi=2&mode=0&ssid=YHRlbG5ldGQgLWwvYmluL3NoYA==&ht=0&channel=0&dhcp=50&static=0&ip=0.0.0.0&subnet=0.0.0.0&gw=0.0.0.0&pppmode=0&pppusr=bnVsbA==&ppppwd=bnVsbA==&pwd="

Here is some output from the device

/ # id
uid=0(root) gid=0(root)
/ # uname -a
Linux (none) 2.6.31--LSDK-9.2.0_U11.14-g6d1f53d-dirty #68 Wed Feb 26 12:14:39 CST 2014 mips unknown
/ # df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 2.1M      2.1M         0 100% /
/ # cat /etc/fstab
/proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0622 0 0
none  /tmp ramfs defaults 0 0
/ # cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00040000 00010000 "u-boot"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 002b0000 00010000 "rootfs"
mtd3: 000e0000 00010000 "uImage"
mtd4: 00010000 00010000 "NVRAM"
mtd5: 00010000 00010000 "ART"
/ # cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / squashfs ro,relatime 0 0
/proc /proc proc rw,relatime 0 0
devpts /dev/pts devpts rw,relatime,mode=622 0 0
none /tmp ramfs rw,relatime 0 0
/ # cat /proc/partitions
major minor  #blocks  name

  31        0        256 mtdblock0
  31        1         64 mtdblock1
  31        2       2752 mtdblock2
  31        3        896 mtdblock3
  31        4         64 mtdblock4
  31        5         64 mtdblock5
/ #

/etc/ath # cfg boardinfo
ap121-2.6.31/2014-02-26-12:15

Device uses squashfs and ramfs, although I don't see unionfs or any way to make persistent edits to file system. Persistent storage for device appears to be via a compiled program cfg. Maybe it writes directly to flash?

Here are some more outputs

The config env vars

/bin # ls -al | grep cfg
lrwxrwxrwx    1 root     root           24 Feb 26  2014 cfg -> /usr/www/cgi-bin/cgiMain
/bin # cfg -e
export AP_IPADDR="192.168.16.254"
export AP_NETMASK="255.255.255.0"
export WAN_MODE=bridged
export WAN_IPADDR="192.168.2.1"
export WAN_NETMASK="255.255.255.0"
export WAN_IF=eth0
export LAN_IF=eth1
export WLAN_ON_BOOT=n
export AP_STARTMODE=standard
export AP_PRIMARY_CH=0
export AP_CHMODE=11NGHT20
export PUREG=0
export PUREN=0
export TXQUEUELEN=1000
export SHORTGI=1
export AMPDUENABLE=1
export AMPDUFRAMES=32
export AMPDULIMIT=50000
export AMPDUMIN=32768
export CWMMODE=1
export RATECTL=auto
export MANRATE=0x8c8c8c8c
export MANRETRIES=0x04040404
export RX_CHAINMASK=1
export TX_CHAINMASK=1
export SWAP_LED=1
export LED_CUSTOM=3
export AP_MODE=ap
export AP_MODE_2=ap
export AP_MODE_3=ap
export AP_MODE_4=ap
export AP_MODE_5=ap
export AP_MODE_6=ap
export AP_MODE_7=ap
export AP_MODE_8=ap
export AP_SECMODE=None
export AP_SECMODE_2=None
export AP_SECMODE_3=None
export AP_SECMODE_4=None
export AP_SECMODE_5=None
export AP_SECMODE_6=None
export AP_SECMODE_7=None
export AP_SECMODE_8=None
export AP_SECFILE=PSK
export AP_SECFILE_2=PSK
export AP_SECFILE_3=PSK
export AP_SECFILE_4=PSK
export AP_SECFILE_5=PSK
export AP_SECFILE_6=PSK
export AP_SECFILE_7=PSK
export AP_SECFILE_8=PSK
export WPS_ENABLE=0
export WPS_ENABLE_2=0
export WPS_ENABLE_3=0
export WPS_ENABLE_4=0
export WPS_ENABLE_5=0
export WPS_ENABLE_6=0
export WPS_ENABLE_7=0
export WPS_ENABLE_8=0
export WEP_IS_HEX1=0
export WEP_IS_HEX2=0
export WEP_IS_HEX3=0
export WEP_IS_HEX4=0
export WEP_IS_HEX5=0
export WEP_IS_HEX6=0
export WEP_IS_HEX7=0
export WEP_IS_HEX8=0
export WPA_IS_HEX=0
export WPA_IS_HEX_2=0
export WPA_IS_HEX_3=0
export WPA_IS_HEX_4=0
export WPA_IS_HEX_5=0
export WPA_IS_HEX_6=0
export WPA_IS_HEX_7=0
export WPA_IS_HEX_8=0
export PPPOE_EN=0
export TR_TYPE="ap-bridge"
export TR_HT40=0
export TR_DHCP=50
export AP_MAC="C0:34:B4:10:D0:0D"
export AP_SSID_2="Atheros_XSpan_2G_AP2"
export AP_ENABLE=1
export AP_ENABLE_2=0
export TR_ADMIN=admin
export AP_PRIMARY_KEY=1
export AP_PRIMARY_KEY_2=1
export ATH_use_eeprom=0
export AP_NO_A_BAND=1
export DEBUGMODE=0x100
export HALDEBUG=0x0
export ATHDEBUG=0x0
export AP_SSID="GIGASTONE_100000"

The firmware upgrade script

# cat /sbin/fwupgrade.sh
#!/bin/sh

flashcp -k -v ${1} /dev/mtd3
flashcp -r -v -b ${1} /dev/mtd2
#flashcp -k -v /old-root/tmp/${FWUP_FILENAME} /dev/mtd3
#flashcp -r -v -b /old-root/tmp/${FWUP_FILENAME} /dev/mtd2
exit 0
/ # /sbin/flashcp --help

Flash Copy - Written by Abraham van der Merwe <abraham@2d3d.co.za>

usage: flashcp [ -v | --verbose ] <filename> <device>
       flashcp -h | --help

   -h | --help      Show this help message
   -v | --verbose   Show progress reports
   -k | --kernel    upgrade kernel
   -r | --rootfs    upgrade rootfs
   -b | --reboot    upgrade rootfs
   <filename>       File which you want to copy to flash
   <device>         Flash device to write to (e.g. /dev/mtd0, /dev/mtd1, etc.)

ls of some of the main dirs

/ # cat /tmp/lsaLR
bin:
drwxrwxr-x    2 root     root          624 Feb 26  2014 .
drwxrwxr-x   14 root     root          210 Feb 26  2014 ..
lrwxrwxrwx    1 root     root            7 Feb 26  2014 ash -> busybox
-rwxr-xr-x    1 root     root       685044 Feb 26  2014 busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 cat -> busybox
lrwxrwxrwx    1 root     root           24 Feb 26  2014 cfg -> /usr/www/cgi-bin/cgiMain
lrwxrwxrwx    1 root     root            7 Feb 26  2014 chgrp -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 chmod -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 cp -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 date -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 dd -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 df -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 dmesg -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 echo -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 egrep -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 ethdebug -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 ethreg -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 factoryreset -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 false -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 fgrep -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 grep -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 iproute -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 kill -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 ln -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 login -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 ls -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 md -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 mkdir -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 mknod -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 mktemp -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 mm -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 more -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 mount -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 mv -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 netstat -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 ping -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 ps -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 pwd -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 rm -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 rmdir -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 sed -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 sh -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 sleep -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 stty -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 su -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 sync -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 tar -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 touch -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 true -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 umount -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 uname -> busybox
lrwxrwxrwx    1 root     root            7 Feb 26  2014 vi -> busybox

etc:
drwxrwxr-x    5 root     root          309 Feb 26  2014 .
drwxrwxr-x   14 root     root          210 Feb 26  2014 ..
drwxrwxr-x    2 root     root          313 Feb 26  2014 ath
-rw-rw-r--    1 root     root          480 Dec 10  2013 cfg_info.sta
-rw-rw-r--    1 root     root           97 Feb 26  2014 fstab
-rw-rw-r--    1 root     root          243 Feb 26  2014 group
-rw-rw-r--    1 root     root           26 Feb 26  2014 host.conf
-rw-rw-r--    1 root     root           89 Feb 26  2014 inittab
-rw-rw-r--    1 root     root           13 Feb 26  2014 issue
-rw-rw-r--    1 root     root          215 Feb 26  2014 nsswitch.conf
-rw-rw-r--    1 root     root          462 Feb 26  2014 passwd
lrwxrwxrwx    1 root     root            8 Feb 26  2014 ppp -> /tmp/ppp
drwxrwxr-x    2 root     root           76 Feb 26  2014 rc.d
lrwxrwxrwx    1 root     root           16 Feb 26  2014 resolv.conf -> /tmp/resolv.conf
-rw-rw-r--    1 root     root          124 Feb 26  2014 securetty
-rw-rw-r--    1 root     root         5927 Feb 26  2014 services
-rw-rw-r--    1 root     root          392 Feb 26  2014 shadow
-rwxrwxr-x    1 root     root         1091 Feb 26  2014 udhcpc.script
-rw-rw-r--    1 root     root         2921 Feb 26  2014 udhcpd.conf
-rwxrwxr-x    1 root     root           65 Feb 26  2014 wpa.conf
drwxrwxr-x    2 root     root            3 Feb 26  2014 wpa2

etc/ath:
drwxrwxr-x    2 root     root          313 Feb 26  2014 .
drwxrwxr-x    5 root     root          309 Feb 26  2014 ..
-rwxr-xr-x    1 root     root         1085 Feb 26  2014 EAP.ap_bss
-rwxr-xr-x    1 root     root          597 Feb 26  2014 PSK.ap_bss
-rwxr-xr-x    1 root     root          329 Feb 26  2014 PSK.sta
-rwxr-xr-x    1 root     root          336 Feb 26  2014 PSK_no_sec.ap_bss
-rwxr-xr-x    1 root     root          503 Feb 26  2014 RADIUS_MAC.ap_bss
-rwxr-xr-x    1 root     root          570 Feb 26  2014 WDS_PSK.ap_bss
-rwxr-xr-x    1 root     root          340 Feb 26  2014 WDS_PSK_no_sec.ap_bss
-rwxr-xr-x    1 root     root         1806 Feb 26  2014 WSC.conf
-rwxr-xr-x    1 root     root         2653 Feb 26  2014 WSC_sta.conf
-rwxr-xr-x    1 root     root         9380 Feb 26  2014 activateVAP
-rwxr-xr-x    1 root     root         5770 Feb 26  2014 apcfg
-rwxr-xr-x    1 root     root          329 Feb 26  2014 apdown
-rwxr-xr-x    1 root     root        22657 Feb 26  2014 apup
-rwxr-xr-x    1 root     root         1529 Feb 26  2014 get_debug_logs
-rwxr-xr-x    1 root     root         6449 Feb 26  2014 killVAP
-rwxr-xr-x    1 root     root        10830 Feb 26  2014 makeVAP

etc/rc.d:
drwxrwxr-x    2 root     root           76 Feb 26  2014 .
drwxrwxr-x    5 root     root          309 Feb 26  2014 ..
-rwxr-xr-x    1 root     root          537 Feb 26  2014 rc.bridge
-rwxr-xr-x    1 root     root          847 Feb 26  2014 rc.network
-rwxr-xr-x    1 root     root         3798 Feb 26  2014 rc.wlan
-rwxr-xr-x    1 root     root         1870 Feb 26  2014 rcS

etc/wpa2:
drwxrwxr-x    2 root     root            3 Feb 26  2014 .
drwxrwxr-x    5 root     root          309 Feb 26  2014 ..

lib:
drwxrwxr-x    3 root     root          800 Feb 26  2014 .
drwxrwxr-x   14 root     root          210 Feb 26  2014 ..
-rwxr-xr-x    1 root     root        20704 Feb 26  2014 ld-uClibc-0.9.30.so
lrwxrwxrwx    1 root     root           19 Feb 26  2014 ld-uClibc.so.0 -> ld-uClibc-0.9.30.so
lrwxrwxrwx    1 root     root           19 Feb 26  2014 libc.so.0 -> libuClibc-0.9.30.so
-rw-r--r--    1 root     root        10148 Feb 26  2014 libcrypt-0.9.30.so
lrwxrwxrwx    1 root     root           18 Feb 26  2014 libcrypt.so.0 -> libcrypt-0.9.30.so
-rw-r--r--    1 root     root         8312 Feb 26  2014 libdl-0.9.30.so
lrwxrwxrwx    1 root     root           15 Feb 26  2014 libdl.so.0 -> libdl-0.9.30.so
lrwxrwxrwx    1 root     root           13 Feb 26  2014 libgcc_s.so -> libgcc_s.so.1
-rw-r--r--    1 root     root       174432 Feb 26  2014 libgcc_s.so.1
lrwxrwxrwx    1 root     root           17 Feb 26  2014 libip4tc.so -> libip4tc.so.0.1.0
lrwxrwxrwx    1 root     root           17 Feb 26  2014 libip4tc.so.0 -> libip4tc.so.0.1.0
-rwxrwxr-x    1 root     root        23192 Feb 26  2014 libip4tc.so.0.1.0
lrwxrwxrwx    1 root     root           16 Feb 26  2014 libiptc.so -> libiptc.so.0.0.0
lrwxrwxrwx    1 root     root           16 Feb 26  2014 libiptc.so.0 -> libiptc.so.0.0.0
-rwxrwxr-x    1 root     root         2120 Feb 26  2014 libiptc.so.0.0.0
-rw-r--r--    1 root     root       100968 Feb 26  2014 libm-0.9.30.so
lrwxrwxrwx    1 root     root           14 Feb 26  2014 libm.so.0 -> libm-0.9.30.so
-rw-r--r--    1 root     root          917 Feb 26  2014 libnsl-0.9.30.so
lrwxrwxrwx    1 root     root           16 Feb 26  2014 libnsl.so.0 -> libnsl-0.9.30.so
-rw-r--r--    1 root     root        71528 Feb 26  2014 libpthread-0.9.30.so
lrwxrwxrwx    1 root     root           20 Feb 26  2014 libpthread.so.0 -> libpthread-0.9.30.so
-rw-r--r--    1 root     root          917 Feb 26  2014 libresolv-0.9.30.so
lrwxrwxrwx    1 root     root           19 Feb 26  2014 libresolv.so.0 -> libresolv-0.9.30.so
-rw-r--r--    1 root     root         3412 Feb 26  2014 librt-0.9.30.so
lrwxrwxrwx    1 root     root           15 Feb 26  2014 librt.so.0 -> librt-0.9.30.so
-rw-r--r--    1 root     root       360136 Feb 26  2014 libuClibc-0.9.30.so
lrwxrwxrwx    1 root     root           16 Feb 26  2014 libupnp.so -> libupnp.so.6.3.2
lrwxrwxrwx    1 root     root           16 Feb 26  2014 libupnp.so.6 -> libupnp.so.6.3.2
-rwxrwxr-x    1 root     root       158136 Feb 26  2014 libupnp.so.6.3.2
-rw-r--r--    1 root     root         3964 Feb 26  2014 libutil-0.9.30.so
lrwxrwxrwx    1 root     root           17 Feb 26  2014 libutil.so.0 -> libutil-0.9.30.so
lrwxrwxrwx    1 root     root           20 Feb 26  2014 libxtables.so -> libxtables.so.10.0.0
lrwxrwxrwx    1 root     root           20 Feb 26  2014 libxtables.so.10 -> libxtables.so.10.0.0
-rwxrwxr-x    1 root     root        45976 Feb 26  2014 libxtables.so.10.0.0
drwxrwxr-x    3 root     root           29 Feb 26  2014 modules
-rwxr-xr-x    1 root     root        19436 Feb 26  2014 rp-pppoe.so

lib/modules:
drwxrwxr-x    3 root     root           29 Feb 26  2014 .
drwxrwxr-x    3 root     root          800 Feb 26  2014 ..
drwxrwxr-x    4 root     root           54 Feb 26  2014 2.6.31

lib/modules/2.6.31:
drwxrwxr-x    4 root     root           54 Feb 26  2014 .
drwxrwxr-x    3 root     root           29 Feb 26  2014 ..
drwxrwxr-x    2 root     root          142 Feb 26  2014 net
-rw-rw-r--    1 root     root         6281 Feb 26  2014 netled.ko
drwxrwxr-x    2 root     root           56 Feb 26  2014 usb

lib/modules/2.6.31/net:
drwxrwxr-x    2 root     root          142 Feb 26  2014 .
drwxrwxr-x    4 root     root           54 Feb 26  2014 ..
-rw-rw-r--    1 root     root        14644 Feb 26  2014 adf.ko
-rw-rw-r--    1 root     root        10116 Feb 26  2014 asf.ko
-rw-rw-r--    1 root     root       276660 Feb 26  2014 ath_dev.ko
-rw-rw-r--    1 root     root       447408 Feb 26  2014 ath_hal.ko
-rw-rw-r--    1 root     root        24756 Feb 26  2014 ath_rate_atheros.ko
-rw-rw-r--    1 root     root        67000 Feb 26  2014 athrs_gmac.ko
-rw-rw-r--    1 root     root       761684 Feb 26  2014 umac.ko

lib/modules/2.6.31/usb:
drwxrwxr-x    2 root     root           56 Feb 26  2014 .
drwxrwxr-x    4 root     root           54 Feb 26  2014 ..
-rw-rw-r--    1 root     root        63432 Feb 26  2014 ehci-hcd.ko
-rw-rw-r--    1 root     root        92700 Feb 26  2014 usb-storage.ko

root:
drwxrwxr-x    2 root     root           72 Feb 26  2014 .
drwxrwxr-x   14 root     root          210 Feb 26  2014 ..
-rw-rw-r--    1 root     root            0 Feb 26  2014 .dummy
-rw-rw-r--    1 root     root           16 Feb 26  2014 .gitver
-rw-rw-r--    1 root     root           54 Feb 26  2014 .profile
-rw-rw-r--    1 root     root            6 Feb 26  2014 .ver

sbin:
drwxrwxr-x    2 root     root          739 Feb 26  2014 .
drwxrwxr-x   14 root     root          210 Feb 26  2014 ..
-rw-rw-r--    1 root     root            0 Feb 26  2014 .dummy
-rwxrwxr-x    1 root     root        14068 Feb 26  2014 80211stats
lrwxrwxrwx    1 root     root           14 Feb 26  2014 brctl -> ../bin/busybox
-rwxrwxr-x    1 root     root        10368 Feb 26  2014 dhcp-helper
-rwxrwxr-x    1 root     root       191340 Feb 26  2014 dnsmasq
-rwxrwxr-x    1 root     root        18128 Feb 26  2014 dumpregs
-rwxrwxr-x    1 root     root         8012 Feb 26  2014 flashcp
-rwxrwxr-x    1 root     root        20904 Feb 26  2014 ftsd
-rwxrwxr-x    1 root     root         5372 Feb 26  2014 ftsd_eth
-rwxrwxr-x    1 root     root         4428 Feb 26  2014 ftsd_test
-rwxrwxr-x    1 root     root        11248 Feb 26  2014 fwserver
-rwxrwxr-x    1 root     root          194 Feb 26  2014 fwupgrade.sh
lrwxrwxrwx    1 root     root           14 Feb 26  2014 getty -> ../bin/busybox
-rwxrwxr-x    1 root     root       405916 Feb 26  2014 hostapd
-rwxrwxr-x    1 root     root        25192 Feb 26  2014 hostapd_cli
lrwxrwxrwx    1 root     root           14 Feb 26  2014 ifconfig -> ../bin/busybox
lrwxrwxrwx    1 root     root           14 Feb 26  2014 init -> ../bin/busybox
lrwxrwxrwx    1 root     root           14 Feb 26  2014 insmod -> ../bin/busybox
lrwxrwxrwx    1 root     root           13 Feb 26  2014 iptables -> xtables-multi
lrwxrwxrwx    1 root     root           13 Feb 26  2014 iptables-restore -> xtables-multi
lrwxrwxrwx    1 root     root           13 Feb 26  2014 iptables-save -> xtables-multi
-rwxrwxr-x    1 root     root        52860 Feb 26  2014 iwconfig
-rwxrwxr-x    1 root     root        59356 Feb 26  2014 iwlist
-rwxrwxr-x    1 root     root        40328 Feb 26  2014 iwpriv
lrwxrwxrwx    1 root     root           14 Feb 26  2014 lsmod -> ../bin/busybox
lrwxrwxrwx    1 root     root           14 Feb 26  2014 modprobe -> ../bin/busybox
-rwxrwxr-x    1 root     root        66340 Feb 26  2014 ntpdate
lrwxrwxrwx    1 root     root           14 Feb 26  2014 pivot_root -> ../bin/busybox
-rwxrwxr-x    1 root     root          967 Feb 26  2014 ppp-off
-rwxrwxr-x    1 root     root         1641 Feb 26  2014 ppp-on
lrwxrwxrwx    1 root     root           14 Feb 26  2014 reboot -> ../bin/busybox
-rwxrwxr-x    1 root     root         4360 Feb 26  2014 reg
lrwxrwxrwx    1 root     root           14 Feb 26  2014 rmmod -> ../bin/busybox
lrwxrwxrwx    1 root     root           14 Feb 26  2014 route -> ../bin/busybox
-rwxrwxr-x    1 root     root        41428 Feb 26  2014 sadc
-rwxrwxr-x    1 root     root        66132 Feb 26  2014 sar
-rwxrwxr-x    1 root     root         3199 Feb 26  2014 tr1
lrwxrwxrwx    1 root     root           14 Feb 26  2014 udhcpc -> ../bin/busybox
lrwxrwxrwx    1 root     root           14 Feb 26  2014 vconfig -> ../bin/busybox
-rwxrwxr-x    1 root     root           25 Feb 26  2014 ver
-rwxrwxr-x    1 root     root        55779 Feb 26  2014 wlanconfig
-rwxrwxr-x    1 root     root        54976 Feb 26  2014 wpa_cli
-rwxrwxr-x    1 root     root       387220 Feb 26  2014 wpa_supplicant
-rwxr-xr-x    1 root     root         2533 Feb 26  2014 wpscli_ap
-rwxr-xr-x    1 root     root         2230 Feb 26  2014 wpscli_sta
-rwxrwxr-x    1 root     root       281092 Feb 26  2014 xtables-multi

tmp:
drwxr-xr-x    6 root     root            0 Jan  1 00:10 .
drwxrwxr-x   14 root     root          210 Feb 26  2014 ..
-rw-r--r--    1 root     root         1449 Jan  1 00:02 .apcfg
-rw-r--r--    1 root     root            5 Jan  1 00:00 .seed
-rw-r--r--    1 root     root         1489 Jan  1 00:00 .srults
drwxr-x---    2 root     root            0 Jan  1 00:02 hostapd
-rw-r--r--    1 root     root          341 Jan  1 00:02 hostapd.conf
-rw-r--r--    1 root     root        12303 Jan  1 00:10 lsaLR
drwxrwxr-x    2 root     root            0 Feb 26  2014 ppp
-rw-r--r--    1 root     root           69 Jan  1 00:02 resolv.conf
drwxr-xr-x    2 root     root            0 Jan  1 00:00 run
drwxr-xr-x    2 root     root            0 Jan  1 00:00 www

tmp/hostapd:
drwxr-x---    2 root     root            0 Jan  1 00:02 .
drwxr-xr-x    6 root     root            0 Jan  1 00:10 ..
srwxrwx---    1 root     root            0 Jan  1 00:02 ath0

tmp/ppp:
drwxrwxr-x    2 root     root            0 Feb 26  2014 .
drwxr-xr-x    6 root     root            0 Jan  1 00:10 ..
-rwxrwxr-x    1 root     root          112 Feb 26  2014 chap-secrets.tmp
-rwxrwxr-x    1 root     root          312 Feb 26  2014 pap-secrets.tmp
-rwxrwxr-x    1 root     root         4519 Feb 26  2014 pppoe.conf.tmp

tmp/run:
drwxr-xr-x    2 root     root            0 Jan  1 00:00 .
drwxr-xr-x    6 root     root            0 Jan  1 00:10 ..

tmp/www:
drwxr-xr-x    2 root     root            0 Jan  1 00:00 .
drwxr-xr-x    6 root     root            0 Jan  1 00:10 ..
-rw-r--r--    1 root     root           21 Jan  1 00:10 .tp

usr:
drwxrwxr-x    8 root     root          134 Feb 26  2014 .
drwxrwxr-x   14 root     root          210 Feb 26  2014 ..
-rw-rw-r--    1 root     root            0 Feb 26  2014 .dummy
drwxrwxr-x    2 root     root          303 Feb 26  2014 bin
drwxrwxr-x    2 root     root           84 Feb 26  2014 ppp
drwxrwxr-x    2 root     root          220 Feb 26  2014 sbin
-rwxrwxr-x    1 root     root         3849 Feb 26  2014 styleSheet.css
drwxrwxr-x    6 root     root          154 Feb 26  2014 www
drwxrwxr-x    2 root     root           41 Feb 26  2014 www.single_ABG
drwxrwxr-x    2 root     root           50 Feb 26  2014 www_8080

usr/bin:
drwxrwxr-x    2 root     root          303 Feb 26  2014 .
drwxrwxr-x    8 root     root          134 Feb 26  2014 ..
lrwxrwxrwx    1 root     root           17 Feb 26  2014 [ -> ../../bin/busybox
lrwxrwxrwx    1 root     root           17 Feb 26  2014 arping -> ../../bin/busybox
lrwxrwxrwx    1 root     root           17 Feb 26  2014 basename -> ../../bin/busybox
lrwxrwxrwx    1 root     root           17 Feb 26  2014 cut -> ../../bin/busybox
lrwxrwxrwx    1 root     root           17 Feb 26  2014 dirname -> ../../bin/busybox
lrwxrwxrwx    1 root     root           17 Feb 26  2014 du -> ../../bin/busybox
lrwxrwxrwx    1 root     root           17 Feb 26  2014 env -> ../../bin/busybox
lrwxrwxrwx    1 root     root           17 Feb 26  2014 expr -> ../../bin/busybox
lrwxrwxrwx    1 root     root           17 Feb 26  2014 find -> ../../bin/busybox
lrwxrwxrwx    1 root     root           17 Feb 26  2014 id -> ../../bin/busybox
lrwxrwxrwx    1 root     root           17 Feb 26  2014 killall -> ../../bin/busybox
lrwxrwxrwx    1 root     root           17 Feb 26  2014 md5sum -> ../../bin/busybox
lrwxrwxrwx    1 root     root           17 Feb 26  2014 passwd -> ../../bin/busybox
lrwxrwxrwx    1 root     root           17 Feb 26  2014 printf -> ../../bin/busybox
lrwxrwxrwx    1 root     root           17 Feb 26  2014 strings -> ../../bin/busybox
lrwxrwxrwx    1 root     root           17 Feb 26  2014 tail -> ../../bin/busybox
lrwxrwxrwx    1 root     root           17 Feb 26  2014 telnet -> ../../bin/busybox
lrwxrwxrwx    1 root     root           17 Feb 26  2014 test -> ../../bin/busybox
lrwxrwxrwx    1 root     root           17 Feb 26  2014 tftp -> ../../bin/busybox
lrwxrwxrwx    1 root     root           17 Feb 26  2014 tty -> ../../bin/busybox
lrwxrwxrwx    1 root     root           17 Feb 26  2014 wc -> ../../bin/busybox
lrwxrwxrwx    1 root     root           17 Feb 26  2014 wget -> ../../bin/busybox
lrwxrwxrwx    1 root     root           17 Feb 26  2014 xargs -> ../../bin/busybox

usr/ppp:
drwxrwxr-x    2 root     root           84 Feb 26  2014 .
drwxrwxr-x    8 root     root          134 Feb 26  2014 ..
-rwxrwxr-x    1 root     root          112 Feb 26  2014 chap-secrets.tmp
-rwxrwxr-x    1 root     root          312 Feb 26  2014 pap-secrets.tmp
-rwxrwxr-x    1 root     root         4519 Feb 26  2014 pppoe.conf.tmp

usr/sbin:
drwxrwxr-x    2 root     root          220 Feb 26  2014 .
drwxrwxr-x    8 root     root          134 Feb 26  2014 ..
-rwxr-xr-x    1 root     root        20824 Feb 26  2014 chat
lrwxrwxrwx    1 root     root           17 Feb 26  2014 httpd -> ../../bin/busybox
-rwxr-xr-x    1 root     root       293728 Feb 26  2014 pppd
-rwxr-xr-x    1 root     root        58672 Feb 26  2014 pppdump
-rwxr-xr-x    1 root     root        28212 Feb 26  2014 pppoe
-rwxrwxr-x    1 root     root         9213 Feb 26  2014 pppoe-connect
-rwxrwxr-x    1 root     root         5760 Feb 26  2014 pppoe-start
-rwxrwxr-x    1 root     root         2116 Feb 26  2014 pppoe-status
-rwxrwxr-x    1 root     root         2273 Feb 26  2014 pppoe-stop
-rwxr-xr-x    1 root     root        17752 Feb 26  2014 pppstats
-rwx--x--x    1 root     root         2019 Feb 26  2014 pppstatus
lrwxrwxrwx    1 root     root           17 Feb 26  2014 telnetd -> ../../bin/busybox
lrwxrwxrwx    1 root     root           17 Feb 26  2014 udhcpd -> ../../bin/busybox

usr/www:
drwxrwxr-x    6 root     root          154 Feb 26  2014 .
drwxrwxr-x    8 root     root          134 Feb 26  2014 ..
lrwxrwxrwx    1 root     root           17 Feb 26  2014 .sta_sts -> /tmp/www/.sta_sts
lrwxrwxrwx    1 root     root           12 Feb 26  2014 .tp -> /tmp/www/.tp
-rwxrwxr-x    1 root     root         2738 Feb 26  2014 AthLogo.jpg
drwx------    4 root     root           36 Dec 25  2013 bootstrap
drwxrwxr-x    2 root     root          247 Feb 26  2014 cgi-bin
drwx------    2 root     root          408 Dec 25  2013 img
-rw-rw-r--    1 root     root       168493 Dec 25  2013 index.html
drwx------    3 root     root          221 Dec 25  2013 js
-rwxrwxr-x    1 root     root         3849 Feb 26  2014 styleSheet.css

usr/www/bootstrap:
drwx------    4 root     root           36 Dec 25  2013 .
drwxrwxr-x    6 root     root          154 Feb 26  2014 ..
drwx------    2 root     root           76 Dec 25  2013 css
drwx------    2 root     root           39 Dec 25  2013 js

usr/www/bootstrap/css:
drwx------    2 root     root           76 Dec 25  2013 .
drwx------    4 root     root           36 Dec 25  2013 ..
-rw-rw-r--    1 root     root        16619 Dec 25  2013 bootstrap-responsive.min.css
-rw-rw-r--    1 root     root       122818 Dec 25  2013 bootstrap.min.css

usr/www/bootstrap/js:
drwx------    2 root     root           39 Dec 25  2013 .
drwx------    4 root     root           36 Dec 25  2013 ..
-rw-rw-r--    1 root     root        28538 Dec 25  2013 bootstrap.min.js

usr/www/cgi-bin:
drwxrwxr-x    2 root     root          247 Feb 26  2014 .
drwxrwxr-x    6 root     root          154 Feb 26  2014 ..
-rw-rw-r--    1 root     root            0 Feb 26  2014 .dummy
lrwxrwxrwx    1 root     root            7 Feb 26  2014 APBasicConfig -> cgiMain
lrwxrwxrwx    1 root     root            7 Feb 26  2014 APChannels -> cgiMain
lrwxrwxrwx    1 root     root            7 Feb 26  2014 APRadioConfig -> cgiMain
lrwxrwxrwx    1 root     root            7 Feb 26  2014 APStatistics -> cgiMain
lrwxrwxrwx    1 root     root            7 Feb 26  2014 APStatus -> cgiMain
lrwxrwxrwx    1 root     root            7 Feb 26  2014 VAPcfg -> cgiMain
lrwxrwxrwx    1 root     root           14 Feb 26  2014 ap_set.cgi -> networking.cgi
-rwxrwxr-x    1 root     root       112828 Feb 26  2014 cgiMain
-rwx--x--x    1 root     root         1513 Nov  4  2013 cgi_upgrade
-rwxrwxr-x    1 root     root         9120 Feb 26  2014 networking.cgi
lrwxrwxrwx    1 root     root           14 Feb 26  2014 sta_set.cgi -> networking.cgi
-rwxrwxr-x    1 root     root        18948 Feb 26  2014 tr1.cgi

usr/www/img:
drwx------    2 root     root          408 Dec 25  2013 .
drwxrwxr-x    6 root     root          154 Feb 26  2014 ..
-rw-rw-r--    1 root     root         1008 Dec 25  2013 ap-bridge.png
-rw-rw-r--    1 root     root         1623 Dec 25  2013 ap-router.png
-rw-rw-r--    1 root     root         1004 Dec 25  2013 arrow.png
-rw-rw-r--    1 root     root          294 Dec 25  2013 download.png
-rw-rw-r--    1 root     root        16721 Dec 25  2013 gigastone_white.png
-rw-rw-r--    1 root     root         3618 Dec 25  2013 refresh.png
-rw-rw-r--    1 root     root          639 Dec 25  2013 strength_0.png
-rw-rw-r--    1 root     root          666 Dec 25  2013 strength_1.png
-rw-rw-r--    1 root     root          674 Dec 25  2013 strength_2.png
-rw-rw-r--    1 root     root          578 Dec 25  2013 strength_3.png
-rw-rw-r--    1 root     root          698 Dec 25  2013 strength_locked_0.png
-rw-rw-r--    1 root     root          741 Dec 25  2013 strength_locked_1.png
-rw-rw-r--    1 root     root          801 Dec 25  2013 strength_locked_2.png
-rw-rw-r--    1 root     root          783 Dec 25  2013 strength_locked_3.png
-rw-rw-r--    1 root     root          255 Dec 25  2013 upload.png
-rw-rw-r--    1 root     root         1025 Dec 25  2013 wds-bridge.png
-rw-rw-r--    1 root     root         1425 Dec 25  2013 wds-repeater.png

usr/www/js:
drwx------    3 root     root          221 Dec 25  2013 .
drwxrwxr-x    6 root     root          154 Feb 26  2014 ..
-rw-rw-r--    1 root     root        13818 Dec 25  2013 additional-methods.min.js
-rw-rw-r--    1 root     root        93081 Dec 25  2013 jquery-1.10.1.min.js
-rw-rw-r--    1 root     root         2142 Dec 25  2013 jquery.cookie.js
-rw-rw-r--    1 root     root        14723 Dec 25  2013 jquery.form.min.js
-rw-rw-r--    1 root     root         1662 Dec 25  2013 jquery.localisation.min.js
-rw-rw-r--    1 root     root        21068 Dec 25  2013 jquery.validate.min.js
drwx------    2 root     root          175 Dec 25  2013 lang
-rw-rw-r--    1 root     root         4432 Dec 25  2013 spin.min.js

usr/www/js/lang:
drwx------    2 root     root          175 Dec 25  2013 .
drwx------    3 root     root          221 Dec 25  2013 ..
-rw-rw-r--    1 root     root         6892 Dec 25  2013 greeting-en-US.js
-rw-rw-r--    1 root     root         6892 Dec 25  2013 greeting-en.js
-rw-rw-r--    1 root     root         7664 Dec 25  2013 greeting-ja.js
-rw-rw-r--    1 root     root         6996 Dec 25  2013 greeting-zh-CN.js
-rw-rw-r--    1 root     root         7042 Dec 25  2013 greeting-zh-TW.js
-rw-rw-r--    1 root     root         7042 Dec 25  2013 greeting-zh.js
-rw-rw-r--    1 root     root         6893 Dec 25  2013 greeting.js

usr/www.single_ABG:
drwxrwxr-x    2 root     root           41 Feb 26  2014 .
drwxrwxr-x    8 root     root          134 Feb 26  2014 ..
-rwxrwxr-x    1 root     root         3949 Feb 26  2014 APRadioConfig.html

usr/www_8080:
drwxrwxr-x    2 root     root           50 Feb 26  2014 .
drwxrwxr-x    8 root     root          134 Feb 26  2014 ..
-rw-rw-r--    1 root     root         3682 Feb 26  2014 index.html
-rw-rw-r--    1 root     root         1189 Feb 26  2014 style.css

var:
drwxrwxr-x    2 root     root           26 Feb 26  2014 .
drwxrwxr-x   14 root     root          210 Feb 26  2014 ..
lrwxrwxrwx    1 root     root            8 Feb 26  2014 run -> /tmp/run
/ #

Wow! Impressive that you were able to turn on telnet and get root to a stock device. Although bummer it is all read only.

This doesn't seem to move us forward to get openwrt on it though.

Not sure if the jousting with this windmill will continue.

Hi everyone,

I passed some time reading and understanding this post, because I have one TR1 too.
I tried to get it working with the firmware of the TL-MR3020 HW v.4 but it failed to run the .bin
So I tried the HW v.1 and it accepted the .bin, but after reboot the device was bricked.
I wish I'd choosen to read your post before trying it, so almost the device would be still running.
I read you gain access via Serial, but as I understand you haven't found a way to run openwrt on it.
Is anybody still working on this or you leaved this option cause it's no possibile?

TR1 not viable to run OpenWrt.

If you want something that size could try gl-inet microuter n300. Discontinued product

Could try other of their travel routers