Dear OpenWrt World!
I recently bought a WAVLINK WL-WN532N2 wifi router ( https://www.wavlink.com/en_us/product/WL-WN532N2.html ).
It's dart cheap, but the specifications are awesome:
Flash: 32MB
RAM: 256MB
Processor: MediaTek MT7628N
Unfortunately, the web interface is a joke. No Parental control, for example.
Fortunately, it already runs on a custom OpenWrt. I tried to connect to TELNET running at port 2323. No luck, though.
I got the following command_log from the device (EDITED):
#############################################
ps
PID USER VSZ STAT COMMAND
1 root 1352 S /sbin/procd
2 root 0 SW [kthreadd]
3 root 0 SW [ksoftirqd/0]
4 root 0 RW [kworker/0:0]
5 root 0 SW< [kworker/0:0H]
6 root 0 SW [kworker/u2:0]
7 root 0 SW [watchdog/0]
8 root 0 SW< [khelper]
9 root 0 SW [kworker/u2:1]
68 root 0 SW< [writeback]
70 root 0 SW< [bioset]
72 root 0 SW< [kblockd]
87 root 0 SW [kworker/0:1]
92 root 0 SW [kswapd0]
93 root 0 SW< [crypto]
218 root 0 SW< [deferwq]
262 root 0 SWN [jffs2_gcd_mtd6]
415 root 884 S /sbin/ubusd
416 root 768 S /sbin/askfirst ttyS1 /bin/ash --login
735 root 1152 S /usr/bin/resetd 38
742 root 1292 S cloud_client
748 root 0 SW< [kworker/0:1H]
774 root 1852 S telnetd -p 2323 -F -l /bin/login.sh
791 http 3248 S /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf -l
853 root 1680 S mu
878 root 0 SW [RtmpCmdQTask]
879 root 0 SW [RtmpWscTask]
880 root 0 SW [RtmpMlmeTask]
886 root 0 SW [kworker/0:2]
889 root 1452 S /bin/ioos 81
981 root 1228 S miniupnpd -i eth0.2 -a 192.168.10.1 -f /tmp/miniupnp
990 root 1360 S dnsmasq -C /tmp/dnsmasq.conf -8 /tmp/dnsmasq_log -q
1024 root 1852 S /bin/sh -c command_log.sh /tmp/command_log
1025 root 1852 S {command_log.sh} /bin/sh /bin/command_log.sh /tmp/co
1027 root 1856 R ps
#############################################
ifconfig -a
apcli0 Link encap:Ethernet HWaddr 82:3F:5D:03:68:E7
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
apcli1 Link encap:Ethernet HWaddr 82:3F:5D:03:68:E8
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
br-lan Link encap:Ethernet HWaddr 80:3F:5D:53:68:E5
inet addr:192.168.10.1 Bcast:192.168.10.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:485 errors:0 dropped:0 overruns:0 frame:0
TX packets:843 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:76893 (75.0 KiB) TX bytes:904213 (883.0 KiB)
eth0 Link encap:Ethernet HWaddr 80:3F:5D:53:68:E5
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:806 errors:0 dropped:0 overruns:0 frame:0
TX packets:224 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:117485 (114.7 KiB) TX bytes:55976 (54.6 KiB)
Interrupt:3
eth0.1 Link encap:Ethernet HWaddr 80:3F:5D:53:68:E5
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:8687 (8.4 KiB)
eth0.2 Link encap:Ethernet HWaddr 80:3F:5D:53:68:E6
inet addr:103.111.224.82 Bcast:103.111.224.95 Mask:255.255.255.224
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:763 errors:0 dropped:328 overruns:0 frame:0
TX packets:196 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:86204 (84.1 KiB) TX bytes:46186 (45.1 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:280 errors:0 dropped:0 overruns:0 frame:0
TX packets:280 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:36723 (35.8 KiB) TX bytes:36723 (35.8 KiB)
ra0 Link encap:Ethernet HWaddr 80:3F:5D:53:68:E7
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:533 errors:0 dropped:0 overruns:0 frame:0
TX packets:818 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:117835 (115.0 KiB) TX bytes:886491 (865.7 KiB)
Interrupt:4
ra1 Link encap:Ethernet HWaddr 82:3F:5D:53:68:E7
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
vir1 Link encap:Point-to-Point Protocol
inet addr:1.127.127.253 P-t-P:1.127.127.253 Mask:255.255.255.252
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
#############################################
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 103.111.224.65 0.0.0.0 UG 0 0 0 eth0.2
1.127.127.252 * 255.255.255.252 U 0 0 0 vir1
103.111.224.64 * 255.255.255.224 U 0 0 0 eth0.2
192.168.10.0 * 255.255.255.0 U 0 0 0 br-lan
#############################################
free
total used free shared buffers
Mem: 28312 18672 9640 0 1504
-/+ buffers: 17168 11144
Swap: 0 0 0
#############################################
lsmod
fill 1585 0 [permanent]
fp 140837 0
l7 58232 0
safe 15683 0
sqos 16019 0 [permanent]
tracert 5349 0 [permanent]
wguest 784 0
#############################################
cat /proc/slabinfo
slabinfo - version: 2.1
# name <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> : tunables <limit> <batchcount> <sharedfactor> : slabdata <active_slabs> <num_slabs> <sharedavail>
l7_dns 0 0 96 40 1 : tunables 120 60 0 : slabdata 0 0 0
l7_dns_rep_hs 0 0 8 339 1 : tunables 120 60 0 : slabdata 0 0 0
http_cache 0 0 72 53 1 : tunables 120 60 0 : slabdata 0 0 0
l7_http 0 0 48 78 1 : tunables 120 60 0 : slabdata 0 0 0
l7_conn 12 22 176 22 1 : tunables 120 60 0 : slabdata 1 1 0
l7_rule 0 0 64 59 1 : tunables 120 60 0 : slabdata 0 0 0
fp 9 44 88 44 1 : tunables 120 60 0 : slabdata 1 1 0
tracert 0 0 24 145 1 : tunables 120 60 0 : slabdata 0 0 0
bridge_fdb_cache 4 59 64 59 1 : tunables 120 60 0 : slabdata 1 1 0
dns_rep_hs 0 0 8 339 1 : tunables 120 60 0 : slabdata 0 0 0
nf_http 8 53 72 53 1 : tunables 120 60 0 : slabdata 1 1 0
nf_trie 512 546 48 78 1 : tunables 120 60 0 : slabdata 7 7 0
host_app 3 30 128 30 1 : tunables 120 60 0 : slabdata 1 1 0
nf_conntrack_803bb3e8 81 81 440 9 1 : tunables 54 27 0 : slabdata 9 9 0
nf_conntrack_expect 0 0 160 24 1 : tunables 120 60 0 : slabdata 0 0 0
jffs2_xattr_ref 6 113 32 113 1 : tunables 120 60 0 : slabdata 1 1 0
jffs2_xattr_datum 1 67 56 67 1 : tunables 120 60 0 : slabdata 1 1 0
jffs2_inode_cache 61 113 32 113 1 : tunables 120 60 0 : slabdata 1 1 0
jffs2_node_frag 14 145 24 145 1 : tunables 120 60 0 : slabdata 1 1 0
jffs2_refblock 22 32 248 16 1 : tunables 120 60 0 : slabdata 2 2 0
jffs2_tmp_dnode 0 0 32 113 1 : tunables 120 60 0 : slabdata 0 0 0
jffs2_raw_inode 0 0 96 40 1 : tunables 120 60 0 : slabdata 0 0 0
jffs2_raw_dirent 0 0 64 59 1 : tunables 120 60 0 : slabdata 0 0 0
jffs2_full_dnode 37 203 16 203 1 : tunables 120 60 0 : slabdata 1 1 0
jffs2_i 29 36 312 12 1 : tunables 54 27 0 : slabdata 3 3 0
squashfs_inode_cache 352 352 352 11 1 : tunables 54 27 0 : slabdata 32 32 0
dio 0 0 320 12 1 : tunables 54 27 0 : slabdata 0 0 0
fasync_cache 0 0 24 145 1 : tunables 120 60 0 : slabdata 0 0 0
posix_timers_cache 0 0 152 26 1 : tunables 120 60 0 : slabdata 0 0 0
uid_cache 1 59 64 59 1 : tunables 120 60 0 : slabdata 1 1 0
UNIX 9 9 448 9 1 : tunables 54 27 0 : slabdata 1 1 0
UDP-Lite 0 0 544 7 1 : tunables 54 27 0 : slabdata 0 0 0
tcp_bind_bucket 50 113 32 113 1 : tunables 120 60 0 : slabdata 1 1 0
inet_peer_cache 3 30 128 30 1 : tunables 120 60 0 : slabdata 1 1 0
ip_fib_trie 16 113 32 113 1 : tunables 120 60 0 : slabdata 1 1 0
ip_fib_alias 17 145 24 145 1 : tunables 120 60 0 : slabdata 1 1 0
ip_dst_cache 30 30 128 30 1 : tunables 120 60 0 : slabdata 1 1 0
PING 0 0 512 7 1 : tunables 54 27 0 : slabdata 0 0 0
RAW 1 7 512 7 1 : tunables 54 27 0 : slabdata 1 1 0
UDP 7 7 544 7 1 : tunables 54 27 0 : slabdata 1 1 0
tw_sock_TCP 60 60 128 30 1 : tunables 120 60 0 : slabdata 2 2 0
request_sock_TCP 2 40 96 40 1 : tunables 120 60 0 : slabdata 1 1 0
TCP 22 27 1184 3 1 : tunables 24 12 0 : slabdata 9 9 0
eventpoll_pwq 14 92 40 92 1 : tunables 120 60 0 : slabdata 1 1 0
eventpoll_epi 14 40 96 40 1 : tunables 120 60 0 : slabdata 1 1 0
blkdev_queue 23 24 936 4 1 : tunables 54 27 0 : slabdata 6 6 0
blkdev_requests 30 38 208 19 1 : tunables 120 60 0 : slabdata 2 2 0
blkdev_ioc 6 59 64 59 1 : tunables 120 60 0 : slabdata 1 1 0
bio-0 42 90 128 30 1 : tunables 120 60 0 : slabdata 3 3 0
biovec-256 2 2 3072 1 1 : tunables 24 12 0 : slabdata 2 2 0
biovec-128 0 0 1536 2 1 : tunables 24 12 0 : slabdata 0 0 0
biovec-64 0 0 768 5 1 : tunables 54 27 0 : slabdata 0 0 0
biovec-16 0 0 192 20 1 : tunables 120 60 0 : slabdata 0 0 0
sock_inode_cache 48 48 320 12 1 : tunables 54 27 0 : slabdata 4 4 0
skbuff_fclone_cache 30 70 544 7 1 : tunables 54 27 0 : slabdata 10 10 0
skbuff_head_cache 555 555 256 15 1 : tunables 120 60 0 : slabdata 37 37 0
file_lock_cache 0 0 112 35 1 : tunables 120 60 0 : slabdata 0 0 0
shmem_inode_cache 229 234 304 13 1 : tunables 54 27 0 : slabdata 18 18 0
pool_workqueue 4 15 256 15 1 : tunables 120 60 0 : slabdata 1 1 0
taskstats 0 0 328 12 1 : tunables 54 27 0 : slabdata 0 0 0
proc_inode_cache 198 208 304 13 1 : tunables 54 27 0 : slabdata 16 16 0
sigqueue 8 27 144 27 1 : tunables 120 60 0 : slabdata 1 1 0
bdev_cache 8 9 416 9 1 : tunables 54 27 0 : slabdata 1 1 0
sysfs_dir_cache 2744 2773 64 59 1 : tunables 120 60 0 : slabdata 47 47 0
mnt_cache 20 24 160 24 1 : tunables 120 60 0 : slabdata 1 1 0
filp 264 264 160 24 1 : tunables 120 60 0 : slabdata 11 11 0
inode_cache 896 896 272 14 1 : tunables 54 27 0 : slabdata 64 64 0
dentry 2059 2059 136 29 1 : tunables 120 60 0 : slabdata 71 71 0
names_cache 3 3 4096 1 1 : tunables 24 12 0 : slabdata 3 3 0
buffer_head 1507 1541 56 67 1 : tunables 120 60 0 : slabdata 23 23 0
nsproxy 0 0 24 145 1 : tunables 120 60 0 : slabdata 0 0 0
vm_area_struct 441 572 88 44 1 : tunables 120 60 0 : slabdata 13 13 0
mm_struct 20 20 384 10 1 : tunables 54 27 0 : slabdata 2 2 0
fs_cache 26 113 32 113 1 : tunables 120 60 0 : slabdata 1 1 0
files_cache 20 20 192 20 1 : tunables 120 60 0 : slabdata 1 1 0
signal_cache 42 42 576 7 1 : tunables 54 27 0 : slabdata 6 6 0
sighand_cache 35 35 3104 1 1 : tunables 24 12 0 : slabdata 35 35 0
task_struct 39 39 1176 3 1 : tunables 24 12 0 : slabdata 13 13 0
cred_jar 100 160 96 40 1 : tunables 120 60 0 : slabdata 4 4 0
anon_vma_chain 382 565 32 113 1 : tunables 120 60 0 : slabdata 5 5 0
anon_vma 336 435 24 145 1 : tunables 120 60 0 : slabdata 3 3 0
pid 59 59 64 59 1 : tunables 120 60 0 : slabdata 1 1 0
radix_tree_node 99 104 296 13 1 : tunables 54 27 0 : slabdata 8 8 0
idr_layer_cache 47 51 1080 3 1 : tunables 24 12 0 : slabdata 17 17 0
kmalloc-4194304 0 0 4194304 1 1024 : tunables 1 1 0 : slabdata 0 0 0
kmalloc-2097152 0 0 2097152 1 512 : tunables 1 1 0 : slabdata 0 0 0
kmalloc-1048576 0 0 1048576 1 256 : tunables 1 1 0 : slabdata 0 0 0
kmalloc-524288 0 0 524288 1 128 : tunables 1 1 0 : slabdata 0 0 0
kmalloc-262144 0 0 262144 1 64 : tunables 1 1 0 : slabdata 0 0 0
kmalloc-131072 0 0 131072 1 32 : tunables 8 4 0 : slabdata 0 0 0
kmalloc-65536 5 5 65536 1 16 : tunables 8 4 0 : slabdata 5 5 0
kmalloc-32768 2 2 32768 1 8 : tunables 8 4 0 : slabdata 2 2 0
kmalloc-16384 5 5 16384 1 4 : tunables 8 4 0 : slabdata 5 5 0
kmalloc-8192 3 3 8192 1 2 : tunables 8 4 0 : slabdata 3 3 0
kmalloc-4096 281 281 4096 1 1 : tunables 24 12 0 : slabdata 281 281 0
kmalloc-2048 454 480 2048 2 1 : tunables 24 12 0 : slabdata 235 240 0
kmalloc-1024 136 136 1024 4 1 : tunables 54 27 0 : slabdata 34 34 0
kmalloc-512 208 208 512 8 1 : tunables 54 27 0 : slabdata 26 26 0
kmalloc-256 270 270 256 15 1 : tunables 120 60 0 : slabdata 18 18 0
kmalloc-128 6570 6570 128 30 1 : tunables 120 60 0 : slabdata 219 219 0
kmem_cache 100 120 128 30 1 : tunables 120 60 0 : slabdata 4 4 0
#############################################
cat /etc/firmware
CURVER=1.26.8
VENDOR=WAVLINK
CURFILE=WAVLINK
PRODUCT=W32N
DATE=2018-05-08 16:20
WANPID=4
RESET=38
RESET_TIME=6
LANIP=192.168.10.1
DOMAIN=wifi.wavlink.com
SSID=WAVLINK_
FIRMWARE=/dev/mtd4
TELNET_PORT=2323
LOGIN_USER=admin
LOGIN_PWD=admin
REGION=32
AREGION=7
TIMEZONE=CST-8
MODEL=W32N
RUSER=
RPWD=
WUSER=
WPWD=
GPIO_POWER=
GPIO_WAN=39
GPIO_LAN1=40
GPIO_LAN2=41
GPIO_LAN3=42
GPIO_LAN4=43
GPIO_INTERNET=
GPIO_WIFI24G=44
GPIO_WIFI5G=
GPIO_WPS=44
GPIO_USB=
RETIME=
#############################################
cat /proc/igd/stat
host_live=1
host_all=1
drop sip invalid=0
drop wan2wan=0
alloc failed=0
l7=8
l7_http=0
tb=0
host app=3
http=6
skb_http=0
ct_rate=0
ct_rate_mx=130
conn_cnt=24
qos_skip_priv=1
fp=47-43
tcp tt=0
http rebuild=0
dns_cnt=0
dns_addr=0
tracert=0
online=0
in:0 out:0
in:1 out:0
4, 1, 3, 3, 3, 4, 5, 4, 3, 4, 4, 4, 4, 4, 4,
#############################################
cat /proc/igd/filter
mid-id-prio-matchs-protocol---host(type)xxxxxx---l3(type)xxxxxx---l4(type)xxxxxx---l7(type)xxxxx---target(type)xxxxxx
0-2-0-0-0---host(none)---l3(dns):type 0:len 17:wifi.wavlink.com---l4(none)---l7(none) map:0 target(redirect):type 1 len 4:{192.168.10.1-}
#############################################
cat /proc/igd/host
addr-mac-ugrp-name os-vender-vport-con_cnt uptime-send-rcv flags-ref-age [appid con_cnt up_speed down_speed seconds]
192.168.10.210-0:72:63:ad:7:9c-b 1-0-129-24 37-0-0 1-25-0 [{3 1 0 0 36}{4 9 0 0 16}]
#############################################
cat /proc/igd/url_match
mid-id-period-times-prio-host-url-data-match_list
#############################################
cat /proc/net/sched/host
hid addr tcp_update {[entry_len wait_len lan_len enqueue_mx tb_limit wd_pkts drop <qtr_len>].. } ref timeout
#############################################
cat /proc/net/sched/ifinfo
host cnt=0
{ rate=0
rate avg=0
quantum=0
tb mx=0
tb min=0
entry len mx=0
enqueue mx=0
ip cnt=0
qlen=0
}
#############################################
df -h
Filesystem Size Used Available Use% Mounted on
rootfs 768.0K 228.0K 540.0K 30% /
/dev/root 1.8M 1.8M 0 100% /rom
tmpfs 13.8M 100.0K 13.7M 1% /tmp
/dev/mtdblock6 768.0K 228.0K 540.0K 30% /overlay
overlayfs:/overlay 768.0K 228.0K 540.0K 30% /
tmpfs 512.0K 0 512.0K 0% /dev
#############################################
du -h /tmp
0 /tmp/dnsmasq.d
0 /tmp/fwdir
0 /tmp/l7_tmp
0 /tmp/ioos
0 /tmp/alone
12.0K /tmp/rconf
0 /tmp/.uci
4.0K /tmp/log/lighttpd
4.0K /tmp/log
0 /tmp/overlay
0 /tmp/extroot
8.0K /tmp/sysinfo
0 /tmp/state
0 /tmp/lock
16.0K /tmp/run
100.0K /tmp/
#############################################
Dear OpenWrt World, will you release a full-fledged OpenWrt build for this device, Please?
With best regards forever,