I have a Trendnet TEW-731br v3, i'm trying to replace the stock firmware with something else that could allow me to pass an option to the dhcp client (vendor_class_id).
I have successfully build openwrt for realtek 8196e + 8192er (sourceforge.net/projects/rtl819x/).
but i can't get openwrt to be flashed with tftp method, there is a tftp server on 192.168.1.6 that listen when the router start, sending the file with curl -T works but when the router reboot this is still with the stock firmware.
I have started to take a look at the serial connection, the following is the boot log with the stock firmware. For now that's all that I have.
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2017.12.10 09:51:16 =~=~=~=~=~=~=~=~=~=~=~=
Booting...
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@
@ chip__no chip__id mfr___id dev___id cap___id size_sft dev_size chipSize
@ 0000000h 0c22015h 00000c2h 0000020h 0000015h 0000000h 0000015h 0200000h
@ blk_size blk__cnt sec_size sec__cnt pageSize page_cnt chip_clk chipName
@ 0010000h 0000020h 0001000h 0000200h 0000100h 0000010h 000004eh MX25L1605D
@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
---RealTek(RTL8196E)at 2013.03.21-09:42+0800 v0.3 [16bit](400MHz)
P0phymode=01, embedded phy
---Ethernet init Okay!
support multicast tool
time out ......
OSK image found src=0xbd041834
mapping IMEM/DMEM out of memory(upper 128MB space)
decompress
startBuf=0xbd041841, compressedSize=1036907, outBuf=0x80000000, outSizeFull=3177492
ok!
create memory pool: start at 0x80307c18, size 5211112
spi_init(1270) c2/20
SPI flash found: id c2/20
sector_size:0x1000 num_of_sector:512
4 wired tlb entry, 1 pages for pgt
[0;31m mib chain:WLAN_MBSSID descpritor's size don't match its recordSize, please check it! [0m
[0;31m mib chain:WLAN_VXD descpritor's size don't match its recordSize, please check it! [0m
[0;31m mib chain:DHCP_SERVING_POOL descpritor's size don't match its recordSize, please check it! [0m
[0;31m mib chain:URL_STR descpritor's size don't match its recordSize, please check it! [0m
[0;31m mib chain:KEYWORD_STR descpritor's size don't match its recordSize, please check it! [0m
[0;31m mib chain:DOMAIN_STR descpritor's size don't match its recordSize, please check it! [0m
[0;31m mib chain:NATRULE_INSRC descpritor's size don't match its recordSize, please check it! [0m
[0;31m mib chain:NATRULE_INSRC_STATIC descpritor's size don't match its recordSize, please check it! [0m
[0;31m mib chain:NATRULE_INSRC_FROM descpritor's size don't match its recordSize, please check it! [0m
[0;31m mib chain:IP_MARK descpritor's size don't match its recordSize, please check it! [0m
[0;31m mib chain:IP_ACL_STD_ENTRY descpritor's size don't match its recordSize, please check it! [0m
[0;31m mib chain:IP_ACL_EXT_ENTRY descpritor's size don't match its recordSize, please check it! [0m
[0;31m mib chain:QOS_RULE descpritor's size don't match its recordSize, please check it! [0m
[0;31m mib chain:DYNAMIC_DNS descpritor's size don't match its recordSize, please check it! [0m
[0;31m mib chain:NAT_PORTRIGGER_RULES descpritor's size don't match its recordSize, please check it! [0m
[0;31m mib chain:NAT_PRIORITY_RULES descpritor's size don't match its recordSize, please check it! [0m
[0;31m mib chain:RA_ENTRY descpritor's size don't match its recordSize, please check it! [0m
[0;31m mib chain:DHCPV6_UUID descpritor's size don't match its recordSize, please check it! [0m
flash hw config addr:0xbfc0a000 size:8192
uncompress: preLen:329, unPreLen:778
flash sw default config addr:0xbfc0c000 size:8192
uncompress: preLen:167, unPreLen:245
set WLAN_REG_DOMAIN default value:0x3
set WLAN_COUNTRY_AREA default value:0x12
set WLAN_ROOT_SSID default value:TRENDnet731_VK7P
set WLAN_ENCRYPT default value:0x6
set WLAN_WPA_PSK default value:xxxxxxxx
flash sw config addr:0xbfdf8000 size:32768
uncompress: preLen:6763, unPreLen:28331
system config initial finsihed.
registerTask stackp=0x50001000, size 12288, name=CFGTASK
registerTask stackp=0x50004000, size 12288, name=STPMAIN
registerTask stackp=0x50007000, size 16384, name=CLITASK
registerTask stackp=0x5000b000, size 12288, name=GENTSK
registerTask stackp=0x5000e000, size 12288, name=XTCPIP
registerTask stackp=0x50011000, size 16384, name=EWSTSK
registerTask stackp=0x50015000, size 4096, name=FEATTASK
registerTask stackp=0x50016000, size 12288, name=PPPoE
registerTask stackp=0x50019000, size 12288, name=ppp
registerTask stackp=0x5001c000, size 12288, name=TFTPD
registerTask stackp=0x5001f000, size 12288, name=TFTP
registerTask stackp=0x50022000, size 12288, name=DNS
registerTask stackp=0x50025000, size 12288, name=DDNS
registerTask stackp=0x50028000, size 16384, name=Telnet
registerTask stackp=0x5002c000, size 12288, name=DHCP
registerTask stackp=0x5002f000, size 12288, name=NTP
registerTask stackp=0x50032000, size 12288, name=UPNP
registerTask stackp=0x50035000, size 12288, name=rtl8670
registerTask stackp=0x50038000, size 32768, name=auth_wlan
registerTask stackp=0x50040000, size 12288, name=WSC
registerTask stackp=0x50043000, size 12288, name=dhcpv6d
registerTask stackp=0x50046000, size 12288, name=dhcpv6c
registerTask stackp=0x50049000, size 4096, name=IDLETSK
eraseUnusedFlash fromSector=0xbfd40000
~~~~bufsize = 2164,datapool->start = 0x803bc93c,datapool->end = 0x80465a3c~~~~
Calibrating delay loop... 398.95 BogoMIPS
Probing RTL8186 10/100 NIC...
chip name: RTL8196C, chip revid: 0
Set threshould idx 1
_rtl865x_addVlan add vlan 9
_rtl865x_addVlan add vlan 8
===_rtl865x_attachMasterNetif(1129),slave(ppp0),master(eth1),slave_netif->master(0x0)
rtl865x_set_hwaddr 2204 dev->name
eth1 set netif mac to: 3c:8c:f8:80:84:c3
net wan Init
wlan0Init: idx=0, mac=3c8cf88084c2
rtk_wlan_init:212
RTL8192C-RTL8188C driver version 1.5 (92ER-2013-06-20-r3064(*))
wlan_index:0 0, 6,0xb9000000,0xb8b10000,21
=====>>INSIDE rtl8192cd_init_one <<=====
PCIE reset (0)
Do MDIO_RESET
98 - 25MHz Clock Source
Find Port=0 Device:Vender ID=818b10ec
vendor_deivce_id=818b10ec
found 8192E !!!
HalAssociateNic OK
StopHW Succeed
osk_register_netdev:wlan0, dev=0x80383730
=====>>EXIT rtl8192cd_init_one <<=====
<rtl8192cd_init_one>LZQ: GPIO_PIN_CTRL[0x44]
<rtl8192cd_init_one>LZQ: before read tmpReg[0x2e]
<rtl8192cd_init_one>LZQ: after read tmpReg[0x2e]
=====>>INSIDE rtl8192cd_init_one <<=====
osk_register_netdev:wlan0-vxd, dev=0x8047611c
=====>>EXIT rtl8192cd_init_one <<=====
<rtl8192cd_init_one>LZQ: GPIO_PIN_CTRL[0x44]
<rtl8192cd_init_one>LZQ: before read tmpReg[0x2e]
<rtl8192cd_init_one>LZQ: after read tmpReg[0x2e]
=====>>INSIDE rtl8192cd_init_one <<=====
osk_register_netdev:wlan0-vap0, dev=0x80491dfc
=====>>EXIT rtl8192cd_init_one <<=====
<rtl8192cd_init_one>LZQ: GPIO_PIN_CTRL[0x44]
<rtl8192cd_init_one>LZQ: before read tmpReg[0x2e]
<rtl8192cd_init_one>LZQ: after read tmpReg[0x2e]
=====>>INSIDE rtl8192cd_init_one <<=====
osk_register_netdev:wlan0-vap1, dev=0x804adadc
=====>>EXIT rtl8192cd_init_one <<=====
<rtl8192cd_init_one>LZQ: GPIO_PIN_CTRL[0x44]
<rtl8192cd_init_one>LZQ: before read tmpReg[0x2e]
<rtl8192cd_init_one>LZQ: after read tmpReg[0x2e]
=====>>INSIDE rtl8192cd_init_one <<=====
osk_register_netdev:wlan0-vap2, dev=0x804c97bc
=====>>EXIT rtl8192cd_init_one <<=====
<rtl8192cd_init_one>LZQ: GPIO_PIN_CTRL[0x44]
<rtl8192cd_init_one>LZQ: before read tmpReg[0x2e]
<rtl8192cd_init_one>LZQ: after read tmpReg[0x2e]
=====>>INSIDE rtl8192cd_init_one <<=====
osk_register_netdev:wlan0-vap3, dev=0x804e549c
=====>>EXIT rtl8192cd_init_one <<=====
<rtl8192cd_init_one>LZQ: GPIO_PIN_CTRL[0x44]
<rtl8192cd_init_one>LZQ: before read tmpReg[0x2e]
<rtl8192cd_init_one>LZQ: after read tmpReg[0x2e]
init ok!!!wlan_index:1
enter rtk_wlan_config_root
wlan0 set_mib ACS_forMa=0
wlan0 set_mib use40M=0
wlan0 set_mib coexist=0
wlan0 set_mib ampdu=1
wlan0 set_mib shortGI20M=1
wlan0 set_mib shortGI40M=1
wlan0 set_mib regdomain=3
wlan0 set_mib led_type=7
wlan0 set_mib ssid=TRENDnet731_VK7P
wlan0 set_mib vap_enable=0
wlan0 set_mib opmode=16
wlan0 set_mib shortretry=0
wlan0 set_mib longretry=0
wlan0 set_mib pwrlevelCCK_A=3030302e2e2e2e31313131313131
wlan0 set_mib pwrlevelCCK_B=3030302d2d2d2d2f2f2f2f2f2f2f
wlan0 set_mib pwrlevelHT40_1S_A=2b2b2b292929292b2b2b2b2b2b2b
wlan0 set_mib pwrlevelHT40_1S_B=2828282626262627272727272727
wlan0 set_mib pwrdiffHT40_2S=0000000000000000000000000000
wlan0 set_mib pwrdiffHT20=0000000000000000000000000000
wlan0 set_mib pwrdiffOFDM=3232322121212132323232323232
wlan0 set_mib xcap=42
wlan0 set_mib ther=33
wlan0 set_mib bcnint=100
wlan0 set_mib channel=0
wlan0 set_mib basicrates=15
wlan0 set_mib oprates=4095
wlan0 set_mib autorate=1
wlan0 set_mib rtsthres=2347
wlan0 set_mib fragthres=2346
wlan0 set_mib expired_time=30000
wlan0 set_mib preamble=0
wlan0 set_mib hiddenAP=0
wlan0-vap0 set_mib hiddenAP=0
wlan0-vap1 set_mib hiddenAP=0
wlan0-vap2 set_mib hiddenAP=0
wlan0-vap3 set_mib hiddenAP=0
wlan0 set_mib dtimperiod=1
wlan0 set_mib aclnum=0
wlan0 set_mib aclmode=0
wlan0 set_mib authtype=2
wlan0-vap0 set_mib authtype=2
wlan0-vap1 set_mib authtype=2
wlan0-vap2 set_mib authtype=2
wlan0-vap3 set_mib authtype=2
wlan0 set_mib encmode=6
wlan0-vap0 set_mib encmode=0
wlan0-vap1 set_mib encmode=0
wlan0-vap2 set_mib encmode=0
wlan0-vap3 set_mib encmode=0
wlan0 set_mib psk_enable=0
wlan0 set_mib wpa_cipher=0
wlan0 set_mib wpa2_cipher=0
wlan0 set_mib lgyEncRstrct=15
wlan0-vap0 set_mib psk_enable=0
wlan0-vap0 set_mib wpa_cipher=0
wlan0-vap0 set_mib wpa2_cipher=0
wlan0-vap0 set_mib lgyEncRstrct=15
wlan0-vap1 set_mib psk_enable=0
wlan0-vap1 set_mib wpa_cipher=0
wlan0-vap1 set_mib wpa2_cipher=0
wlan0-vap1 set_mib lgyEncRstrct=15
wlan0-vap2 set_mib psk_enable=0
wlan0-vap2 set_mib wpa_cipher=0
wlan0-vap2 set_mib wpa2_cipher=0
wlan0-vap2 set_mib lgyEncRstrct=15
wlan0-vap3 set_mib psk_enable=0
wlan0-vap3 set_mib wpa_cipher=0
wlan0-vap3 set_mib wpa2_cipher=0
wlan0-vap3 set_mib lgyEncRstrct=15
wlan0-vxd set_mib psk_enable=0
wlan0-vxd set_mib wpa_cipher=0
wlan0-vxd set_mib wpa2_cipher=0
wlan0-vxd set_mib lgyEncRstrct=15
wlan0 set_mib psk_enable=1
wlan0 set_mib encmode=4
wlan0 set_mib wpa_cipher=8
wlan0 set_mib psk_enable=2
wlan0 set_mib encmode=4
wlan0 set_mib wpa2_cipher=8
wlan0 set_mib passphrase=73131R59709
wlan0 set_mib 802_1x=1
wlan0-vap0 set_mib 802_1x=0
wlan0-vap1 set_mib 802_1x=0
wlan0-vap2 set_mib 802_1x=0
wlan0-vap3 set_mib 802_1x=0
wlan0 set_mib band=11
wlan0 set_mib deny_legacy=0
wlan0-vap0 set_mib band=11
wlan0-vap0 set_mib deny_legacy=0
wlan0-vap1 set_mib band=11
wlan0-vap1 set_mib deny_legacy=0
wlan0-vap2 set_mib band=11
wlan0-vap2 set_mib deny_legacy=0
wlan0-vap3 set_mib band=11
wlan0-vap3 set_mib deny_legacy=0
wlan0 set_mib lowestMlcstRate=0
wlan0 set_mib cts2self=1
wlan0 set_mib disable_protection=0
wlan0 set_mib block_relay=0
wlan0-vap0 set_mib block_relay=0
wlan0-vap1 set_mib block_relay=0
wlan0-vap2 set_mib block_relay=0
wlan0-vap3 set_mib block_relay=0
wlan0-vxd set_mib block_relay=0
wlan0 set_mib qos_enable=1
wlan0 set_mib mc2u_disable=0
exit rtk_wlan_config_root
rtk_wlan_set_mac_addr: 802fd7c0,80383730
wlan0Init: idx=1, mac=3c8cf88084c3
rtk_wlan_set_mac_addr: 802fd7d0,80491dfc
wlan0Init: idx=2, mac=3c8cf88084c4
rtk_wlan_set_mac_addr: 802fd7e0,804adadc
wlan0Init: idx=3, mac=3c8cf88084c5
rtk_wlan_set_mac_addr: 802fd7f0,804c97bc
wlan0Init: idx=4, mac=3c8cf88084c6
rtk_wlan_set_mac_addr: 802fd800,804e549c
wlan0Init: idx=5, mac=3c8cf88084c2
rtk_wlan_set_mac_addr: 802fd810,8047611c
Port ifindex range
Br 1
Wan 2-9
Wlan root 10
Wlan vap 11-14
Wlan vxd 15
PPP 16-23
Switch 24-27
####initial default route table!
####initial local route table!
####inital 4 port mapping route tables!
####inital 5 port mapping tables!
alloc 9k bytes for route table
dns wait time is 2 secs
dhcpv6dmain start..............................
#######ipCircCreate type=1 if_id=1 rcid=0
[1;32;40mipCircSetIPA id_pyhport=1 c->rc_id=1 phyport=1
[0mxipCreateVif...................
ipCircEnable 1167...............
####add 0xc0a80a01/0xffffffff in route table 0x805b2c10! cid=1 src=0xc0a80a01
####add 0xc0a80a00/0xffffff00 in route table 0x805b2c10! cid=1 src=0xc0a80a01
ipCircEnable 1167...............
miiar_write phy 3, reg 0, val 0x8000
miiar_write phy 3, reg 4, val 0xde1
miiar_write phy 3, reg 0, val 0x1200
miiar_write phy 2, reg 0, val 0x8000
miiar_write phy 2, reg 4, val 0xde1
miiar_write phy 2, reg 0, val 0x1200
miiar_write phy 1, reg 0, val 0x8000
miiar_write phy 1, reg 4, val 0xde1
miiar_write phy 1, reg 0, val 0x1200
miiar_write phy 0, reg 0, val 0x8000
miiar_write phy 0, reg 4, val 0xde1
miiar_write phy 0, reg 0, val 0x1200
init_rtsp_ssrc 39
nat entry's size is 176 bytes
Nat Entry Maxinum: 2048
gNatCachePoolp=0x802f1408 gNatCachePoolp->qcnt=2048 sizeof(Nat_T)=176
natRuleAdd 2412 flags=0x00000009 sip=0.0.0.0 eip=0.0.0.0
enqueue item to queue!
portrigger rule total 0 !
enable priority feature##########################
priority rule total 0 !
enable priority feature##########################
priority rule total 0 !
cfgSetIgmpProxyAnyItf isDisable=1
*******ipv6Init() Start*******
ipfw2 (+ipv6) initialized, divert loadable, nat loadable, rule-based forwarding disabled, default to accept, logging disabled
Enter SetupFWRule!
do_firewall_cmd:command=flush
Flushed all rules.
do_firewall_cmd() execute successfully!
do_firewall_cmd:command=add check-state
do_firewall_cmd() execute successfully!
do_firewall_cmd:command=add skipto 1000 icmp6 from any to any icmp6types 128,129
do_firewall_cmd() execute successfully!
do_firewall_cmd:command=add allow icmp6 from any to any
do_firewall_cmd() execute successfully!
do_firewall_cmd:command=add 1000 skipto 5000 ip6 from any to me6 in via e1
do_firewall_cmd() execute successfully!
do_firewall_cmd:command=add skipto 5000 ip6 from me6 to any out via e1
do_firewall_cmd() execute successfully!
do_firewall_cmd:command=add skipto 10000 ip6 from any to me6 in via wan
do_firewall_cmd() execute successfully!
do_firewall_cmd:command=add skipto 10000 ip6 from me6 to any out via wan
do_firewall_cmd() execute successfully!
do_firewall_cmd:command=add skipto 15000 ip6 from any to any
do_firewall_cmd() execute successfully!
Enter SetupLanAclRule!
do_firewall_cmd:command=set 1 flush
Flushed all rules.
do_firewall_cmd() execute successfully!
do_firewall_cmd:command=add 9980 set 1 allow ip6 from any to any out keep-state
do_firewall_cmd() execute successfully!
do_firewall_cmd:command=add 9990 set 1 allow ip6 from any to any in keep-state
do_firewall_cmd() execute successfully!
Enter SetupWanAclRule!
do_firewall_cmd:command=set 2 flush
Flushed all rules.
do_firewall_cmd() execute successfully!
do_firewall_cmd:command=add 10010 set 2 allow icmp6 from any to any in keep-state icmp6types 128,129
do_firewall_cmd:command=add 14980 set 2 allow ip6 from any to any out keep-state
do_firewall_cmd() execute successfully!
do_firewall_cmd:command=add 14990 set 2 deny ip6 from any to any in
do_firewall_cmd() execute successfully!
Enter SetupWanAclRule!
do_firewall_cmd:command=set 3 flush
Flushed all rules.
do_firewall_cmd() execute successfully!
do_firewall_cmd:command=add 19980 set 3 allow ip6 from any to any out recv e1 xmit wan keep-state
do_firewall_cmd() execute successfully!
do_firewall_cmd:command=add 19990 set 3 allow ip6 from any to any out recv wan xmit e1 keep-state
do_firewall_cmd() execute successfully!
*******ipv6Init() End*******
getCommonDivisorfromArray 940 len=4 (40 30 20 10)
getCommonDivisorfromArray 951 g=10
wfqScale[0]=4
wfqScale[1]=3
wfqScale[2]=2
wfqScale[3]=1
wlan_itf_start>Wlan is going up..........[6]
enable idx=0
rtk_wlan_open:241>wlan0
PrepareRXBD88XX(221): pdesc_dma_buf:80282000, desc_dma_buf:80281f9c
PrepareRXBD88XX(225): pdesc_dma_buf:a0282000
PrepareTXBD88XX(528), q_num:0, TXBD_RWPtr_Reg:3b0, TXBD_Reg:310, a0282400
PrepareTXBD88XX(528), q_num:1, TXBD_RWPtr_Reg:3ac, TXBD_Reg:330, a0282c00
PrepareTXBD88XX(528), q_num:2, TXBD_RWPtr_Reg:3a8, TXBD_Reg:328, a0283400
PrepareTXBD88XX(528), q_num:3, TXBD_RWPtr_Reg:3a4, TXBD_Reg:320, a0285400
PrepareTXBD88XX(528), q_num:4, TXBD_RWPtr_Reg:3a0, TXBD_Reg:318, a0285c00
PrepareTXBD88XX(528), q_num:5, TXBD_RWPtr_Reg:3b8, TXBD_Reg:340, a0286400
PrepareTXBD88XX(528), q_num:6, TXBD_RWPtr_Reg:3bc, TXBD_Reg:348, a0286c00
PrepareTXBD88XX(528), q_num:7, TXBD_RWPtr_Reg:3c0, TXBD_Reg:350, a0287400
PrepareTXBD88XX(528), q_num:8, TXBD_RWPtr_Reg:3c4, TXBD_Reg:358, a0287c00
PrepareTXBD88XX(528), q_num:9, TXBD_RWPtr_Reg:3c8, TXBD_Reg:360, a0288400
PrepareTXBD88XX(528), q_num:10, TXBD_RWPtr_Reg:3cc, TXBD_Reg:368, a0288c00
PrepareTXBD88XX(528), q_num:11, TXBD_RWPtr_Reg:3d0, TXBD_Reg:370, a0288c00
PrepareTXBD88XX(528), q_num:12, TXBD_RWPtr_Reg:3d4, TXBD_Reg:378, a0288c00
PrepareTXBD88XX(528), q_num:13, TXBD_RWPtr_Reg:0, TXBD_Reg:308, a0290e00
Warning: request_irq is used! irq21
25M....
InitPON OK
InitMAC OK
InitHCIDMAReg OK
Get MP MAC_REG Len
Select MP MAC_REG
phy_BB88XX_Config_ParaFile(4855), HAL PHY_ConfigBBWithParaFile
[PHY_ConfigBBWithParaFile][PHY_REG_HAL]
Get MP PHY_REG Len
Slecct MP PHY_REG
[PHY_ConfigBBWithParaFile][PHY_REG_PG_HAL]
Get MP REG_PG len
select MP REG_PG
[PHY_ConfigBBWithParaFile][AGC_TAB_HAL]
Get MP AGC_TAB len
Select MP AGC_TAB
Get MP Radio A len
select MP Radio A
[phy_RF6052_Config_ParaFile][RadioA_HAL]
Get MP Radio B len
select MP Radio B
[phy_RF6052_Config_ParaFile][RadioB_HAL]
InitDownload FW OK
errorFlag:00000000
[PHY_ConfigTXPwrTrackingWithParaFile][REG_TXPWR_TRK_8192E]
DO 8192E IQK !!!!
Done 8192E IQK !!!!
Do 8192E LCK!! RF 0xB6 = 0x8046
8192E LCK done!!
wlan_itf_start>open wlan idx=0 successfully
disable idx=1
disable idx=2
disable idx=3
disable idx=4
disable idx=5
Set root WPA PSK = xxxxxxxx
802.1x daemon: open interface 0
IEEE 802.1x (WPA) daemon, version 1.7f
802.1x daemon: open interface 0
IEEE 802.1x (WPA) daemon, version 1.7f
a[wsc]wsc_main 5706:daemon parameter:
brgForwardInit
*******ipv6Init2() Start*******
ipv6_IfInit:ifport=l0, adminStatus=0
ipv6_IfInit:ifport=e1, adminStatus=1
ipv6_IfInit:ifport=w1, adminStatus=1
ipv6_IfInit:ifport=w2, adminStatus=0
ipv6_IfInit:ifport=w3, adminStatus=0
ipv6_IfInit:ifport=w4, adminStatus=0
ipv6_IfInit:ifport=w5, adminStatus=0
ipv6_IfInit:ifport=w6, adminStatus=0
getconfig:ifp=e1
g_prefix_filter=0
*******ipv6Init2() End********
uthRecommand string: dump
"dump" command: No change mode
gis29242
command string: show mib
"show" command: No change mode
tLinkUpIpv6:ifindex=10
dhcp: port10 up
port 10 is up
erE/A
POL:b i
alren/adwsy regicstered
d
802.1x daemon: open interface 0
IEEE 802.1x (WPA) daemon, version 1.7f
au thRegis-terEAsPOLtWrong dns server address!
Wrong dns server address!
Wrong dns server address!
dns cache rehash:size=150,new_size=64
llmnr_hostname1:9=>tew-731br
llmnr_hostname2:10=>tew-731br.
: already registered
802.1x daemon: open interface 0
IEEE 802.1x (WPA) daemon, version 1.7f
aauthRegisterEAPOL: already registered
802.1x daemon: open interface 0
IEEE 802.1x (WPA) daemon, version 1.7f
authRegisterEAPOL: already registered
802.1x daemon: open interface 0
IEEE 802.1x (WPA) daemon, version 1.7f
rauthRegisterEAPOL: already registered
t -c /vUars/wsecdr.confn -wa wlman0e -:fi /var/wscd-wlan0.fifo -debug
----->parse_argument
Writing file /var/wscd.conf...
----->read_config_file
Read config file[/var/wscd.conf], def=0
[wsc]read_config_file 4732:auth_type:0x01
[wsc]read_config_file 4764:encrypt_type_flash:1
[wsc]read_config_file 4765:encrypt_type:1
[wsc]read_config_file 4903:network_key=xxxxxxxx
[wsc]read_config_file 4745:auth_type_flags:0x27
[wsc]read_config_file 4777:encrypt_type_flags:15
<<====WPS argument list=====>>
is_ap = 1
role = Registrar
config_state = configured
config_method = 0x2688
pin_code = xxxxxxxx
use_ie = 1
upnp = 1
---wlan0 setting---
rf_band = 1; 1=2.4G ;2=5G
wep_transmit_key = 0
SSID=TRENDnet731_VK7P
Auth Type=1
Encrypt Type=1
WSC_PSK = ""
configured button_hold_time = 1
disable_configured_by_exReg = 0
support EAP_frag reassembly
AP mode; Probe_Rsp wsc_ie frag =false
AP mode;Extension Tag =false
uuid=630412531019200612283c8cf88084c2
auto_lock_down:during[60],fail[3]times,locked[60]seconds
wsc version=2.0
<<====WPS argument list=====>>
pCtx->original_pin_code = 08606402
get_mac_addr>3cffffff8cfffffff8ffffff80ffffff84ffffffc2
[wsc]wsc_main 5770:wlan0 addr: (wsc_main,5771): 3C:8C:F8:80:84:C2
pCtx->upnp:1, wsc_main
<< Start_upnp >>
WSCRegisterCallBackFunc successfully!
mini_UPnP_DeviceStateTableInit 1693: evnturl_ctrl = /upnp/event/WFAWLANConfig1
mini_UPnP_DeviceStateTableInit 1694:<<===========upnp parameters=================>>
WiFi Simple Config v1.22 (Jul 28 2016).
pidfile_acquire>/var/run/wscd-wlan0.pid
pidfile_write_release>pid_fd:0
----->init_wlan
fixme:open the fifo
[util]build_probe_rsp_ie,3966:config method(0x1008)=2008
wlan0 set_mib wsc_enable=3
wlan0 set_mib func_off=0
init_wlan----->
Initialize PBC station list mutex...
[wsc]wsc_main 5931:alarm(1)---------->
[wsc]sigHandler_pushwpsbutton 4338:pbc pressed time (1), start PBC...
----->process_event
----->evHandler_pb_press
<< Got PB-Pressed event >>
[wsc]evHandler_pb_press 1106:LED START...
[wsc]evHandler_pb_press 1118:update pb_timeout to 120
wsc_system:command echo 0 > /tmp/wscd_status
[util]registrar_remove_all_authorized_mac,172:
[util]registrar_add_authorized_mac,134:
[wsc]evHandler_pb_press 1150:PBC mode update wlan0 IE
[wsc]update_ie 765:
[util]report_authoriedMacCount,185:auth mac:FFFFFF:FFFFFF
[util]report_authoriedMacCount,189:count=1
[util]build_probe_rsp_ie,3966:config method(0x1008)=2008
[util]report_authoriedMacCount,185:auth mac:FFFFFF:FFFFFF
[util]report_authoriedMacCount,189:count=1
OskWlanWscTask: handle CCB_WSC_EVT_DRIVER
wlanIndEvt>wlan_idx=0, data_len=270, pdata=0x8066da64
----->process_event
----->evHandler_probe_req_Ind
<<Got Probe_Req,from Sta(a8a1987acfa0)>>
PROBE_REQUEST WSC IE
dd 8f 00 50 f2 04 10 4a 00 01 10 10 3a 00 01 00
10 08 00 02 42 88 10 47 00 10 ef e8 64 cd b0 bd
50 c0 84 8a 5f 9a 8e e8 88 dc 10 54 00 08 00 0a
00 50 f2 04 00 05 10 3c 00 01 01 10 02 00 02 00
00 10 09 00 02 00 00 10 12 00 02 00 00 10 21 00
03 54 43 4c 10 23 00 0d 4f 72 61 6e 67 65 2d 52
69 73 65 33 31 10 24 00 0d 4f 72 61 6e 67 65 2d
52 69 73 65 33 31 10 11 00 0d 4f 72 61 6e 67 65
2d 52 69 73 65 33 31 10 49 00 06 00 37 2a 00 01
20
verdor ext:
00 37 2a 00 01 20
[rx]evHandler_probe_req_Ind,1972:Rev version2(0x20) at ProReq
--------******start ending ****-----
create memory pool: start at 0x80303168, size 19116
Init memory freed, start:80303168, len:19116
OskWlanWscTask: handle CCB_WSC_EVT_DRIVER
wlanIndEvt>wlan_idx=0, data_len=270, pdata=0x803034d4
----->process_event
----->evHandler_probe_req_Ind
<<Got Probe_Req,from Sta(a8a1987acfa0)>>
PROBE_REQUEST WSC IE
dd 8f 00 50 f2 04 10 4a 00 01 10 10 3a 00 01 00
10 08 00 02 42 88 10 47 00 10 ef e8 64 cd b0 bd
50 c0 84 8a 5f 9a 8e e8 88 dc 10 54 00 08 00 0a
00 50 f2 04 00 05 10 3c 00 01 01 10 02 00 02 00
00 10 09 00 02 00 00 10 12 00 02 00 00 10 21 00
03 54 43 4c 10 23 00 0d 4f 72 61 6e 67 65 2d 52
69 73 65 33 31 10 24 00 0d 4f 72 61 6e 67 65 2d
52 69 73 65 33 31 10 11 00 0d 4f 72 61 6e 67 65
2d 52 69 73 65 33 31 10 49 00 06 00 37 2a 00 01
20
verdor ext:
00 37 2a 00 01 20
[rx]evHandler_probe_req_Ind,1972:Rev version2(0x20) at ProReq
OskWlanWscTask: handle CCB_WSC_EVT_DRIVER
wlanIndEvt>wlan_idx=0, data_len=270, pdata=0x803034d4
----->process_event
----->evHandler_probe_req_Ind
<<Got Probe_Req,from Sta(84c7ea5e6320)>>
PROBE_REQUEST WSC IE
dd 78 00 50 f2 04 10 4a 00 01 10 10 3a 00 01 00
10 08 00 02 42 88 10 47 00 10 a9 a9 e6 0b 1e cc
5b d0 bd 8d 0a a2 0b 96 8b 10 10 54 00 08 00 0a
00 50 f2 04 00 05 10 3c 00 01 03 10 02 00 02 00
00 10 09 00 02 00 00 10 12 00 02 00 00 10 21 00
04 53 6f 6e 79 10 23 00 05 46 33 33 31 31 10 24
00 05 46 33 33 31 31 10 11 00 05 46 33 33 31 31
10 49 00 06 00 37 2a 00 01 20
verdor ext:
00 37 2a 00 01 20
[rx]evHandler_probe_req_Ind,1972:Rev version2(0x20) at ProReq
OskWlanWscTask: handle CCB_WSC_EVT_DRIVER
wlanIndEvt>wlan_idx=0, data_len=270, pdata=0x803034d4
----->process_event
----->evHandler_probe_req_Ind
<<Got Probe_Req,from Sta(a8a1987acfa0)>>
PROBE_REQUEST WSC IE
dd 8f 00 50 f2 04 10 4a 00 01 10 10 3a 00 01 00
10 08 00 02 42 88 10 47 00 10 ef e8 64 cd b0 bd
50 c0 84 8a 5f 9a 8e e8 88 dc 10 54 00 08 00 0a
00 50 f2 04 00 05 10 3c 00 01 01 10 02 00 02 00
00 10 09 00 02 00 00 10 12 00 02 00 00 10 21 00
03 54 43 4c 10 23 00 0d 4f 72 61 6e 67 65 2d 52
69 73 65 33 31 10 24 00 0d 4f 72 61 6e 67 65 2d
52 69 73 65 33 31 10 11 00 0d 4f 72 61 6e 67 65
2d 52 69 73 65 33 31 10 49 00 06 00 37 2a 00 01
20
verdor ext:
00 37 2a 00 01 20
[rx]evHandler_probe_req_Ind,1972:Rev version2(0x20) at ProReq
OskWlanWscTask: handle CCB_WSC_EVT_DRIVER
wlanIndEvt>wlan_idx=0, data_len=270, pdata=0x803034d4
----->process_event
----->evHandler_probe_req_Ind
<<Got Probe_Req,from Sta(00082230f1fc)>>
PROBE_REQUEST WSC IE
dd 7e 00 50 f2 04 10 4a 00 01 10 10 3a 00 01 00
10 08 00 02 42 88 10 47 00 10 ad ba aa 4c 7e 77
5d d4 a0 93 60 dc 73 42 97 22 10 54 00 08 00 0a
00 50 f2 04 00 05 10 3c 00 01 01 10 02 00 02 00
00 10 09 00 02 00 00 10 12 00 02 00 00 10 21 00
03 4a 54 59 10 23 00 06 4b 54 31 30 37 48 10 24
00 06 4b 54 31 30 37 48 10 11 00 0a 6b 74 30 39
36 68 5f 31 30 31 10 49 00 06 00 37 2a 00 01 20
verdor ext:
00 37 2a 00 01 20
[rx]evHandler_probe_req_Ind,1972:Rev version2(0x20) at ProReq
PBC walk time-out!
wsc_system:command echo 2 > /tmp/wscd_status
reset_ctx_state 3550
set pCtx->pin_code = 08606402
Clear SetSelectedRegistrar flag!!
[util]build_probe_rsp_ie,3966:config method(0x1008)=2008
Same log but with tftp upload.