OpenWrt Forum Archive

Topic: A-LINK WNAP, 4-port 10/100, 1 WAN and 1 USB,802.11n/g/b, supports 3G

The content of this topic has been archived on 20 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello!

Has anyone tried to put Kamikaze in WNAP? Or contacted A-LINK for GPL'd firmware? If I recall correctly, A-LINK has quite positive attitude to GPL.

http://www.a-link.com/us_us/WNAP.html
ftp://ftp.a-link.com/wnap/

WNAP is very common and cheap n-router in Europe, and is useful especially with 3G modems (at the moment supports A-Link 3GU, Huawei E220, Huawei E160, Huawei E169, Huawei E172, Huawei E180, Huawei E270, Option Icon 225, Option Icon 401)

The cool one (and quite inexpensive) is 3GU, which supports HSUPA (bravo!) in addition to regular HSDPA, and operates at 900MHz for extended range, too. (Of course 1800MHz, also).

Hi,

I am also interesting too. At least it is cheap which has an USB port.

Hi,

any idea if this could be used as repeater with D-LINK 635?

Datasheet looks impressive!

BR,

I'm also interested in this. The log shows:

Feb 17 11:55:49  klogd started: BusyBox v1.8.2 (2011-06-30 11:01:35 CST)
Feb 17 11:55:49  Linux version 2.6.19 (root@localhost.localdomain) (gcc version 3.4.6-1.3.6) #5 Wed Jul 27 17:34:09 CST 201Feb 17 11:55:49  CPU revision is: 0000ff00
Feb 17 11:55:49  Determined physical RAM map:
Feb 17 11:55:49   memory: 02000000 @ 00000000 (usable)
Feb 17 11:55:49  User-defined physical RAM map:
Feb 17 11:55:49   memory: 02000000 @ 00000000 (usable)
Feb 17 11:55:49  On node 0 totalpages: 8192
Feb 17 11:55:49    DMA zone: 64 pages used for memmap
Feb 17 11:55:49    DMA zone: 0 pages reserved
Feb 17 11:55:49    DMA zone: 8128 pages, LIFO batch:0
Feb 17 11:55:49    Normal zone: 0 pages used for memmap
Feb 17 11:55:49  Built 1 zonelists.  Total pages: 8128
Feb 17 11:55:49  Kernel command line: root=/dev/mtdblock1 console=ttyS0,38400 single mem=32M
Feb 17 11:55:49  Primary instruction cache 16kB, linesize 16 bytes.
Feb 17 11:55:49  Primary data cache 8kB, linesize 16 bytes.
Feb 17 11:55:49  Synthesized TLB refill handler (17 instructions).
Feb 17 11:55:49  Synthesized TLB load handler fastpath (31 instructions).
Feb 17 11:55:49  Synthesized TLB store handler fastpath (31 instructions).
Feb 17 11:55:49  Synthesized TLB modify handler fastpath (25 instructions).
Feb 17 11:55:49  PID hash table entries: 128 (order: 7, 512 bytes)
Feb 17 11:55:49  Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Feb 17 11:55:49  Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Feb 17 11:55:49  Memory: 24752k/32768k available (3278k kernel code, 8016k reserved, 485k data, 140k init, 0k highmem)
Feb 17 11:55:49  Calibrating delay loop... 329.31 BogoMIPS (lpj=1646592)
Feb 17 11:55:49  Mount-cache hash table entries: 512
Feb 17 11:55:49  Checking for 'wait' instruction...  available.
Feb 17 11:55:49  NET: Registered protocol family 16
Feb 17 11:55:49  SCSI subsystem initialized
Feb 17 11:55:49  usbcore: registered new interface driver usbfs
Feb 17 11:55:49  usbcore: registered new interface driver hub
Feb 17 11:55:49  usbcore: registered new device driver usb
Feb 17 11:55:49  NET: Registered protocol family 2
Feb 17 11:55:49  IP route cache hash table entries: 256 (order: -2, 1024 bytes)
Feb 17 11:55:49  TCP established hash table entries: 1024 (order: 0, 4096 bytes)
Feb 17 11:55:49  TCP bind hash table entries: 512 (order: -1, 2048 bytes)
Feb 17 11:55:49  TCP: Hash tables configured (established 1024 bind 512)
Feb 17 11:55:49  TCP reno registered
Feb 17 11:55:49  Squashfs 2.2-r2 (released 2005/09/08) (C) 2002-2005 Phillip Lougher
Feb 17 11:55:49  Squashfs 2.2 includes LZMA decompression support
Feb 17 11:55:49  NTFS driver 2.1.27 [Flags: R/O].
Feb 17 11:55:49  fuse init (API version 7.7)
Feb 17 11:55:49  io scheduler noop registered
Feb 17 11:55:49  io scheduler anticipatory registered (default)
Feb 17 11:56:00  initial reset Led
Feb 17 11:56:04  initial reset Led

So it's running Linux and squashfs. The chip is RTL8196BU. Don't really know where to go from here, only port 80 is open so can't ssh/telnet.

Getting started with your A-LINK WNAP (rev a):

Make a working MIPS system on a USB stick. I just compiled busybox, created symlinks and added some users. IIRC, I got the MIPS cross-compiler from here: ftp://ftp.a-link.com/opensource/WNAP/

Write a little shell script that does something useful. My script binds /dev, /proc and /var inside the USB root dir, chroots there and starts a telnetd.

#!/var/tmp/usb/sda1/bin/sh
export PATH=/var/tmp/usb/sda1/bin
cd /var/tmp/usb/sda1
mkdir dev proc oldvar
killall telnetd &>/dev/null
mountpoint -q dev || mount -o bind /dev dev
mountpoint -q proc || mount -o bind /proc proc
mountpoint -q oldvar || mount -o bind /var oldvar
exec chroot . /bin/telnetd

Plug your stick to the WNAP. It should get mounted at /var/tmp/usb/sda1/. Point your browser to /syscmd.asp and start your script.

(Last edited by Metabolix on 5 Aug 2012, 18:08)

The discussion might have continued from here.