The TP-Link TL-WR841N v8.0 is a wireless N MIMO router it has 1 WAN Port and 4 LAN Ports.
The CPU is The Atheros AR9341 SoC @ 500 Mhz. It has 4 MB Flash but has only 16 MB RAM.
With 4MB of Flash It is capable of running OpenWrt.
Factory Boot :
Software Platform for MIPS
Creation date: Jul 5 2011, 09:13:06 (huangqingjia@tp-link.net)
Copyright(C) 2001-2012 by TP-LINK TECHNOLOGIES CO., LTD.
CPU: AR9341: AP123 Board
CPU freq: 500 MHZ
SDRAM size: 16 MB
ipaddr:192.168.1.1
serverip:192.168.1.100
file:vxWorks.img
Press Ctrl+C to stop auto-boot...
0
auto-booting...
Uncompressing...done
Starting at 0x80001000...
Attaching interface lo0... done
Rx clbufs 512 each of size 1756
eth_rx_netpool_init: allocated, pDmaBuf=0x80e4e3e0, buffend = 80f2abe4
ATHRS27: resetting s27
ATHRS27: s27 reset done
eth_rx_netpool_init: done already!
Attached IPv4 interface to mirror unit 0
usrAppInitEx: 112: GPIO_OE = 30300
usrAppInitEx: 113: CP0 CONFIG = 80208483
usrAppInitEx: 114: CP0 CONFIG1 = bee3519e
-->starting wireless...
APCFG task id 80c85970
sysWlanInit ...
Create WLAN event task tWLANEventTask
Create mem partion 0x80c72140 for size 28672
AH_CAL_IN_FLASH_AHB
Boostrap clock 25MHz
ar9300RadioAttach: Need analog access recipe!!
Restoring Cal data from Flash
ath_get_caps[4703] rx chainmask mismatch actual 3 sc_chainmak 0
ath_get_caps[4678] tx chainmask mismatch actual 3 sc_chainmak 0
Create OS_MESGQ Successfully at 0x80c60b50
osifp->queue_head = 0x80c60e50
ag7240MemInit: allocated, dmabuf=0x80bac130, buffend = 80c54334
Entering Task Loop
Entering WLAN event Task Loop
ERROR:wireless OR ACL disable
sending message 80b87900,24
sending message 80b87900,24
TDDP: Now listening client request.
tddp is running.
httpInit: System File Registry successfully initialized.
httpInit: System File Manager successfully initialized.
httpInit: File System RPM successfully initialized.
httpInit: RPM dispatcher successfully initialized.
httpInit: MIME type guessing RPM successfully initialized.
httpInit: http Password Checking successfully initialized.
httpInit: http Access Control successfully initialized.
Software Platform for MIPS
Copyright(C) 2001-2010 by TP-LINK TECHNOLOGIES CO., LTD.
Starting W Creation date: LANJul 5 2011, 10:13:42 !!!!
# AP_STARTMODE=standard
AP_ENABLE=1
ATH_COUNTRYCODE=156
wlan_vap_create : enter. devhandle=0x8043ef60, opmode=IEEE80211_M_HOSTAP, flags=0x1
wlan_vap_create : exit. devhandle=0x8043ef60, opmode=IEEE80211_M_HOSTAP, flags=0x1.
osif_ioctl_create_vap: vap 0x80ffe970 vap->iv_unit 0
ieee80211_end_load: load done
ath0 end flag = 0x00028802
default
default
default
IEE80211-FREQ IOCTL vap 0x80ffe970 0,0,0
AP_CHMODE=11NGHT40PLUS
WLAN IOCTL AP_CHMODE=11NGHT40PLUS=11NGHT20=11NGHT40PLUS=1003
IEE80211-MODE IOCTL 1,11NGHT40PLUS,13
set mode 11,-2130709132,6
set mode retv 0
WLAN IOCTL AP_PRIMARY_CH=auto=6=auto=1002
IEE80211-FREQ IOCTL vap 0x80ffe970 0,0,11
WLAN IOCTL PUREG=0=0=0=1004
IEEE80211-SETPURGE IOCTL 0
WLAN IOCTL AP_HIDE_SSID=0=0=0=1005
IEEE80211-SETHIDESSIDIOCTL 0
WLAN IOCTL AP_ISOLATION=0=0=0=1034
IEE80211-setparam-nobridge 0
WLAN IOCTL AP_TX11NRATE==0x0=0x0=1041
set auto rate
WLAN IOCTL AP_11G_PROTECTION==0=0=1042
WLAN IOCTL AP_BEACON_INTERVAL=100=100=100=1043
WLAN IOCTL AP_FRAGMENT_THRESHOLD=2346=2346=2346=1044
WLAN IOCTL AP_RTS_THRESHOLD=2346=2347=2346=1046
WLAN IOCTL AP_DTIM_PERIOD=1=1=1=1045
WLAN IOCTL AP_WMM_ENABLE=1=1=1=1051
WLAN IOCTL AP_WMM_NOACK==0=0=1052
IOCTL set wmm noack 0
WLAN IOCTL AP_CYPHER_2==CCMP=CCMP=1000
Get EIOCGADDR
WLAN IOCTL AP_NO_EDGE_CH==0=0=1056
WLAN IOCTL AP_MCASTRATE==0=0=1018
WLAN IOCTL AP_MACFILTER_MODE==0=0=1038
WLAN IOCTL AP_MACFILTER_LIST====1000
Get EIOCGADDR
WLAN IOCTL AP_SHORT_GI=1=1=1=1055
WLAN IOCTL AP_DISABLECOEXT=1=0=1=1075
WLAN IOCTL AP_SSID=WR841N=Ath_AP123ng=WR841N=1001
IEE80211-ESSID IOCTL 1,WR841N,7
AP_CHMODE=11NGHT40PLUS
AP_CWMMODE=1
IEE80211-CWMMODE IOCTL 1
AP_AMPDU=0
AP_PURE_N=0
AP_TX_CHAINMASK=3
AP_RX_CHAINMASK=3
AP_SECMODE=WPA
WPS_ENABLE=1
AP_MACFILTER_MODE=0
ieee80211_open
WLAN IOCTL AP_BASICRATES==0=0=1039
WLAN IOCTL AP_DEBUG=0=0=0=1062
WLAN IOCTL AP_TX_POWER==0=0=1073
Starting Hostapd
AP_SSID=WR841N
AP_HOSTAPD_DEBUG=0
AP_IPADDR=192.168.1.2
AP_SECMODE=WPA
WPS BSS init
WPS_ENABLE=1
WPS_PIN=4724XXXX <--EDIT
WPS_STATE=2
1136073605.416667: wps_led_init: LED state CONFIGURED
AP_SECMODE=WPA
WPA BSS init
PSK_KEY=XXXXXXXXX <--EDIT
AP_CYPHER=TKIP
AP_WPA_GROUP_REKEY=3600
starting hostapd ...
Hostapd task Created 80ff5a90
Task details [80ff5a90,,64,80c85708]
Adding ath0 in bridge ...
default
Set EIOCGMIB2
default
Entering Hostapd Main
default
Set EIOCGMIB2
attached backend socket .
Attached backend socket for eth0
Attached backend socket for eth1
Attached backend socket for mirror 0
@@@@ kris-hostapd @@@@@ wiface=ath0 @@@@
**** [2,1,0,0192.168.1.2,]****
Just before eloop_run()
*** setup interface1 started ****
Eapol sockfd=23
Get EIOCGADDR
MAC address 5c,63,ffffffbf,XXXXX,XXXX,XXXXXX <--EDIT
link _ubind0,0,0,0,0,0
IEE80211-IWMODE IOCTL 3
IEE80211-setparam-privacy 0
1136073607.416667: Defaulted uuid based on mac addr 5c:63:bf:XX:XX:XX <--EDIT
ieee80211_ioctl_setappiebuf
ieee80211_ioctl_setappiebuf
ieee80211_ioctl_setappiebuf
1136073607.416667: madwifi_start_receive_prob_req Enter
Madwifi init completed
1136073607.416667: ENTER eap_wps_disable, reason=7
*** setup interface1 completed ****
*** setup interface2 started ****
1136073607.433333: Flushing old station entries
IOCTL setmlme
[ieee80211_ioctl_setmlme:1887] data=0x80ff55b0,data->pointer=0x80ff5600, data->length=42
[ieee80211_ioctl_setmlme:1893] mlme->im_op=3
1136073607.450000: Deauthenticate all stations
IEE80211-setparam-privacy 0
ieee80211_ioctl_delkey : idk_keyix=0
ieee80211_ioctl_delkey : idk_keyix=1
ieee80211_ioctl_delkey : idk_keyix=2
ieee80211_ioctl_delkey : idk_keyix=3
Using interface ath0 with hwaddr 5c:63:bf:XX:XX:XX and ssid 'WR841N' <--EDIT
1136073607.483333: SSID - hexdump_ascii(len=6):
XX XX XX XX XX XX WR841N <--EDIT
1136073607.483333: PSK (ASCII passphrase) - hexdump_ascii(len=9):
XX XX XX XX XX XX XX <-- EDIT password <-- EDIT
1136073607.783333: PSK (from passphrase) - hexdump(len=32): XX XX XX XX XX XX XX <-- EDIT
IEE80211-ESSID IOCTL 1,WR841N,7
osif_vap_init :vap up
IEE80211-setparam-mcastcipher 1
Warning: wlan_set_mcast_cipher failed. cache the mcast cipher
IEE80211-setparam-unicipher 2
Warning: wlan_set_ucast_cipher failed. cache the ucast cipher
IEE80211-setparam-keymgmtalgs 2
ieee80211_rsncaps
IEE80211-setparam-wpa 1
set IEEE80211_IOC_WPA to WPA
[ieee80211_ioctl_setparam_wpa:1721]
IEE80211-setparam-authmode 5
osif_vap_init :vap up
osif_vap_init 0
1136073607.833333: WPA: group state machine entering state GTK_INIT (VLAN-ID 0)
1136073607.833333: GMK - hexdump(len=32): XX XX XX XX XX XX XX <-- EDIT
1136073607.833333: GTK - hexdump(len=32): XX XX XX XX XX XX XX <-- EDIT
1136073607.833333: WPA: group state machine entering state SETKEYSDONE (VLAN-ID 0)
ieee80211_ioctl_setkey
ieee80211_ioctl_setkey: ******** SETKEY : error: 0 , key_type=1, macaddr=ff:ff:ff:ff:ff:ff, key_len=16
IEE80211-setparam-privacy 1
hostapd_ctrl_iface_init
1136073607.866667: upnp_wps_device_init called
1136073607.866667: upnp_wps_device ssdp_listener_start failure!
1136073607.866667: upnp_wps_device_stop ENTER
1136073607.883333: upnp_wps_device_deinit called
1136073607.883333: upnp_wps_device_stop ENTER
1136073607.883333: Failed to initialize UPnP state machine
1136073607.883333: Continuing with WPS UPnP disabled.
****setup interface2 completed****
1136073607.900000: ath0: Setup of interface done.
****setup interface finalized ****
(Last edited by ldpinney on 23 May 2012, 08:44)