TP-Link TL-WR840N(EU) v4

O dispositivo é um roteador Wireless com:

  • 2 Antenas fixas
  • 4 Portas 100/10 Lan
  • 1 Porta 100/10 Wan
  • 8 MB de memória Flash
  • 64 MB de memória RAM
  • Botão WPS/Reset

Nota1: O roteador TL-WR841N(D) (assim como o TL-WR840N(D) v1 e v2) é bem diferente, em relação em ser baseado em Broadcom- e Atheros respectivamente, em vez de Mediatek (como é o caso do TL-WR840n v4). É possivelmente similar ao TL-WR841N v13

ModeloVersãoSoCCPU MHzFlash MBRAM MBWLAN HardwareWLAN2.4WLAN5.0Portas 100MPortas GbitModemUSB
TL-WR840Nv4MediaTek MT7628N580864MediaTek MT7628Nb/g/n-5---, Mod

Install OpenWrt (generic explanation)

Para queimar o firmware no dispositivo TP-Link TL-WR840n v4, você precisará de um servidor TFTP rodando em sua máquina, configurado no IP 192.168.0.66, na porta 69. Insira o arquivo do firmware desejado dentro da pasta do servidor TFTP e reproduza as etapas abaixo:

  • Suba o servidor TFTP com o arquivo do firmware nomeado de ``tp_recovery.bin``, se o nome do arquivo não for este ele não será baixado pelo dispositivo;
  • Conecte o roteador à maquina onde o servidor TFTP está rodando;
  • Desligue o roteador e ligue-o segurando o botão de reset por 5-6 segundos (até os leds piscarem). Ele irá automaticamente buscar pelo servidor e fazer download do arquivo de firmware.

Após o download do arquivo, o dispositivo irá automaticamente iniciar o upgrade.

Depois do primeiro flash OpenWrt, para fazer atualizações ou mudar para outro firmware deve-se usar as imagens ``*sysupgrade.bin``. O sysupgrade pode ser feito via TFTP, da mesma forma que a imagem anterior foi queimada, ou acessando o dispositivo por SSH, como explicado abaixo:

  • Enviar o arquivo sysupgrade.bin (via scp ou qualquer outro meio) para o roteador e colocá-lo na pasta /tmp.
  • 2. Certifique-se de que está tudo certo e dê o comando: sysupgrade -v /tmp/*sysupgrade.bin.

OBS: Caso não queira manter nenhum dos arquivos de configuração anteriores, adicione o parâmetro ``-n`` ao comando. Caso contrário, os arquivos d configuração continuarão sendo os do antigo firmware queimado.

Para retornar à versão de fábrica, é necessário modificar o firmware oficial de forma que seu cabeçalho seja excluído.

  • Baixe o firmware oficial da página do TP-link (tomando cuidado para baixar na linguagem certa, alguns modelo são específicos de um país portanto é preciso baixar o correspondente).
  • Agora use o comando abaixo:
dd if="TL-WR840Nv4_oficial-da-tp-link.bin" of="tlwr840n-v4-stock.bin" bs=512 skip=1

O arquivo tlwr840n-v4-stock.bin será criado, a partir do comando acima.

  • Repita o processo de queima de firmware via TFTP server, renomeando o arquivo tlwr840n-v4-stock.bin para tp_recovery.bin.

Se o firmware original for queimado sem o procedimento acima, o dispositivo acabará brickado.

Mediatek MT7628NN 11640-AJCSL EAP0S593

Winbond W9751G6KB-25 M63407300002 639PUA TWN

/proc # cat cpuinfo
system type		: MT7628
processor		: 0
cpu model		: MIPS 24Kc V5.5
BogoMIPS		: 386.04
wait instruction	: yes
microsecond timers	: yes
tlb_entries		: 32
extra interrupt vector	: yes
hardware watchpoint	: yes, count: 4, address/irw mask: [0x0000, 0x07a8, 0x0060, 0x04d8]
ASEs implemented	: mips16 dsp
shadow register sets	: 1
core			: 0
VCED exceptions		: not available
VCEI exceptions		: not available

/proc # cat mtd
dev:    size   erasesize  name
mtd0: 00020000 00010000 "boot"
mtd1: 00140000 00010000 "kernel"
mtd2: 00660000 00010000 "rootfs"
mtd3: 00010000 00010000 "config"
mtd4: 00010000 00010000 "romfile"
mtd5: 00010000 00010000 "rom"
mtd6: 00010000 00010000 "radio"

/proc # cat cmdline
console=ttyS1,115200 root=/dev/mtdblock2 rootfstype=squashfs init=/sbin/init

/proc # cat version
Linux version 2.6.36 (root@tplink) (gcc version 4.6.3 (Buildroot 2012.11.1) ) #81 Tue Oct 11 14:12:33 HKT 2016

/proc # cat meminfo
MemTotal:          61432 kB

Pinos de série são expostos na placa e rotulados, o cabeçalho de 0,1“ padrão pode ser soldado.

Bits por segundo: 115200 Bits de dados: 8 Bits de parada: 1 Paridade: nenhuma Controle de fluxo: Nenhum

Imagem:http://imgur.com/rKDmnvH

Mensagens de Boot quando é ligado o roteador segurando o botão de reset:

starting recovery...
TODO, Read MAC Address from Flash


 netboot_common, argc= 3 

 NetTxPacket = 0x83FE7380 

 KSEG1ADDR(NetTxPacket) = 0xA3FE7380 

 NetLoop,call eth_halt ! 

 NetLoop,call eth_init ! 
Trying Eth0 (10/100-M)

 Waitting for RX_DMA_BUSY status Start... done


 ETH_STATE_ACTIVE!! 
TFTP from server 192.168.0.66; our IP address is 192.168.0.2
Filename 'tp_recovery.bin'.

Mensagem de boot padrão para v4.0

DDR Calibration DQS reg = 00008888 U-Boot 1.1.3 (Oct 11 2016 - 08:49:28) Board: Ralink APSoC DRAM: 64 MB relocate_code Pointer at: 83fb8000 gpiomode2 05540554. gpiomode2 00000000. gpiomode2 05550555. flash manufacture id: c8, device id 40 17 find flash: GD25Q64B ============================================ Ralink UBoot Version: 4.3.0.0 -------------------------------------------- ASIC 7628_MP (Port5<->None) DRAM component: 512 Mbits DDR, width 16 DRAM bus: 16 bit Total memory: 64 MBytes Flash component: SPI Flash Date:Oct 11 2016 Time:08:49:28 ============================================ icache: sets:512, ways:4, linesz:32 ,total:65536 dcache: sets:256, ways:4, linesz:32 ,total:32768 ##### The CPU freq = 575 MHZ #### estimate memory size =64 Mbytes RESET MT7628 PHY!!!!!! continue to starting system. 0 disable switch phyport... 3: System Boot system code via Flash.(0xbc020000) do_bootm:argc=2, addr=0xbc020000 ## Booting image at bc020000 ... Uncompressing Kernel Image ... OK No initrd ## Transferring control to Linux (at address 8000c150) ... ## Giving linux memsize in MB, 64 Starting kernel ... 怘������fff��␆~␆��␆~f␆x������怘�怘�␀␘f����␞f�␘�␆�␀�f�␞f���Linux version 2.6.36 (root@tplink) (gcc version 4.6.3 (Buildroot 2012.11.1) ) #81 Tue Oct 11 14:12:33 HKT 2016 The CPU feqenuce set to 575 MHz MIPS CPU sleep mode enabled. CPU revision is: 00019655 (MIPS 24Kc) Software DMA cache coherency Determined physical RAM map: memory: 04000000 @ 00000000 (usable) Initrd not found or empty - disabling initrd Zone PFN ranges: Normal 0x00000000 -> 0x00004000 Movable zone start PFN for each node early_node_map[1] active PFN ranges 0: 0x00000000 -> 0x00004000 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 Kernel command line: console=ttyS1,115200 root=/dev/mtdblock2 rootfstype=squashfs init=/sbin/init PID hash table entries: 256 (order: -2, 1024 bytes) Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Primary instruction cache 64kB, VIPT, , 4-waylinesize 32 bytes. Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes Writing ErrCtl register=0002933f Readback ErrCtl register=0002933f Memory: 61268k/65536k available (2627k kernel code, 4228k reserved, 638k data, 164k init, 0k highmem) NR_IRQS:128 console [ttyS1] enabled Calibrating delay loop... 386.04 BogoMIPS (lpj=772096) pid_max: default: 4096 minimum: 301 Mount-cache hash table entries: 512 NET: Registered protocol family 16 bio: create slab <bio-0> at 0 Switching to clocksource Ralink Systick timer NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 2048 (order: 2, 16384 bytes) TCP bind hash table entries: 2048 (order: 1, 8192 bytes) TCP: Hash tables configured (established 2048 bind 2048) TCP reno registered NET: Registered protocol family 1 squashfs: version 4.0 (2009/01/31) Phillip Lougher fuse init (API version 7.15) msgmni has been set to 119 io scheduler noop registered io scheduler deadline registered (default) Ralink gpio driver initialized i2cdrv_major = 218 Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled serial8250: ttyS0 at MMIO 0x10000d00 (irq = 21) is a 16550A serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A brd: module loaded flash manufacture id: c8, device id 40 17 GD25Q64B(c8 40170000) (8192 Kbytes) mtd .name = raspi, .size = 0x00800000 (8M) .erasesize = 0x00010000 (64K) .numeraseregions = 0 Creating 7 MTD partitions on "raspi": 0x000000000000-0x000000020000 : "boot" 0x000000020000-0x000000160000 : "kernel" 0x000000160000-0x0000007c0000 : "rootfs" mtd: partition "rootfs" set to be root filesystem 0x0000007c0000-0x0000007d0000 : "config" 0x0000007d0000-0x0000007e0000 : "romfile" 0x0000007e0000-0x0000007f0000 : "rom" 0x0000007f0000-0x000000800000 : "radio" Register flash device:flash0 PPP generic driver version 2.4.2 PPP MPPE Compression module registered NET: Registered protocol family 24 Mirror/redirect action on u32 classifier Actions configured Netfilter messages via NETLINK v0.30. nf_conntrack version 0.5.0 (957 buckets, 3828 max) ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Restricted Cone TCP cubic registered NET: Registered protocol family 10 ip6_tables: (C) 2000-2006 Netfilter Core Team IPv6 over IPv4 tunneling driver NET: Registered protocol family 17 Ebtables v2.0 registered 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com> All bugs added by David S. Miller <davem@redhat.com> VFS: Mounted root (squashfs filesystem) readonly on device 31:2. Freeing unused kernel memory: 164k freed starting pid 679, tty '': '/etc/init.d/rcS' rdm_major = 253 spiflash_ioctl_read, Read from 0x007df100 length 0x6, ret 0, retlen 0x6 Read MAC from flash(0x7DF100) 18-ffffffd6-ffffffc7-ffffff97-2e-ffffff96 GMAC1_MAC_ADRH -- : 0x000018d6 GMAC1_MAC_ADRL -- : 0xc7972e96 Ralink APSoC Ethernet Driver Initilization. v3.1 256 rx/tx descriptors allocated, mtu = 1500! spiflash_ioctl_read, Read from 0x007df100 length 0x6, ret 0, retlen 0x6 Read MAC from flash(0x7DF100) 18-ffffffd6-ffffffc7-ffffff97-2e-ffffff96 GMAC1_MAC_ADRH -- : 0x000018d6 GMAC1_MAC_ADRL -- : 0xc7972e96 PROC INIT OK! switch reg write offset=14, value=5555 switch reg write offset=40, value=1001 switch reg write offset=44, value=1001 switch reg write offset=48, value=1001 switch reg write offset=4c, value=1 switch reg write offset=50, value=2001 switch reg write offset=70, value=ffffffff switch reg write offset=98, value=7f7f switch reg write offset=e4, value=7f done. switch reg write offset=14, value=405555 switch reg write offset=50, value=2003 switch reg write offset=98, value=7f3f switch reg write offset=e4, value=3f switch reg write offset=40, value=3002 switch reg write offset=44, value=3003 switch reg write offset=48, value=3003 switch reg write offset=70, value=417e switch reg write offset=74, value=0 done. tp_domain init ok L2TP core driver, V2.0 PPPoL2TP kernel driver, V2.0 Set: phy[0].reg[0] = 3900 Set: phy[1].reg[0] = 3900 Set: phy[2].reg[0] = 3900 Set: phy[3].reg[0] = 3900 Set: phy[4].reg[0] = 3900 Set: phy[0].reg[0] = 3300 Set: phy[1].reg[0] = 3300 Set: phy[2].reg[0] = 3300 Set: phy[3].reg[0] = 3300 Set: phy[4].reg[0] = 3300 resetMiiPortV over. starting pid 746, tty '/dev/ttyS1': '/bin/sh' ~ # [ util_execSystem ] 135: ipt_init cmd is "/var/tmp/dconf/rc.router" [ dm_readFile ] 2061: can not open xml file /var/tmp/pc/reduced_data_model.xml!, about to open file /etc/reduced_data_model.xml spiflash_ioctl_read, Read from 0x007c0000 length 0x10000, ret 0, retlen 0x10000 spiflash_ioctl_read, Read from 0x007c0000 length 0x786b, ret 0, retlen 0x786b spiflash_ioctl_read, Read from 0x007df100 length 0x6, ret 0, retlen 0x6 spiflash_ioctl_read, Read from 0x007df200 length 0x4, ret 0, retlen 0x4 spiflash_ioctl_read, Read from 0x007df300 length 0x4, ret 0, retlen 0x4 spiflash_ioctl_read, Read from 0x00020000 length 0x1d0, ret 0, retlen 0x1d0 spiflash_ioctl_read, Read from 0x007df100 length 0x6, ret 0, retlen 0x6 sendto: No such file or directory pid 745 send 2001 error [ util_execSystem ] 135: oal_startDynDns cmd is "dyndns /var/tmp/dconf/dyndns.conf" [ oal_sys_getOldTZInfo ] 389: Open TZ file error! [ util_execSystem ] 135: oal_sys_unsetTZ cmd is "echo "" > /etc/TZ" [ util_execSystem ] 135: oal_sys_unsetTZ cmd is "echo "" > /etc/TZ" [ util_execSystem ] 135: oal_startNoipDns cmd is "noipdns /var/tmp/dconf/noipdns.conf" [ util_execSystem ] 135: oal_startCmxDns cmd is "cmxdns /var/tmp/dconf/cmxdns.conf" ioctl: No such device [ util_execSystem ] 135: oal_br_addBridge cmd is "brctl addbr br0;brctl setfd br0 0;brctl stp br0 off" [ util_execSystem ] 135: oal_ipt_addLanRules cmd is "iptables -t filter -A INPUT -i br+ -j ACCEPT " [ util_execSystem ] 135: oal_intf_setIntf cmd is "ifconfig br0 192.168.0.1 netmask 255.255.255.0 up" [ util_execSystem ] 135: oal_util_setProcLanAddr cmd is "echo "br0 16820416," > /proc/net/conRaeth v3.1 (ntract_LocalAddrTasklet" [ util_exec,SkbRecycleSystem ] 135: o) al_intf_enableIn phy_tx_ring = 0x030ad000, tx_ring = 0xa30ad000 tf cmd is "ifcon phy_rx_ring0 = 0x030ae000, rx_ring0 = 0xa30ae000 fig eth0 up" [fe_sw_init:4776]rt305x_esw_init. disable switch phyport... GMAC1_MAC_ADRH -- : 0x000018d6 GMAC1_MAC_ADRL -- : 0xc7972e96 RT305x_ESW: Link Status Changed [ rsl_getUnusedVlan ] 1002: GET UNUSED VLAN TAG 1 : [3] [ rsl_getUnusedVlan ] 1002: GET UNUSED VLAN TAG 2 : [4] [ rsl_getUnusedVlan ] 1002: GET UNUSED VLAN TAG 3 : [5] [ rsl_getUnusedVlan ] 1002: GET UNUSED VLAN TAG 4 : [6] [ util_execSystem ] 135: oal_addVlanTagIntf cmd is "vconfig add eth0 3" [ util_execSystem ] 135: oal_intf_enableIntf cmd is "ifconfig eth0.3 up" set if eth0.3 to *not wan dev [ util_execSystem ] 135: oal_addVlanTagIntf cmd is "vconfig add eth0 4" [ util_execSystem ] 135: oal_intf_enableIntf cmd is "ifconfig eth0.4 up" set if eth0.4 to *not wan dev [ util_execSystem ] 135: oal_addVlanTagIntf cmd is "vconfig add eth0 5" [ util_execSystem ] 135: oal_intf_enableIntf cmd is "ifconfig eth0.5 up" set if eth0.5 to *not wan dev [ util_execSystem ] 135: oal_addVlanTagIntf cmd is "vconfig add eth0 6" [ util_execSystem ] 135: oal_intf_enableIntf cmd isdevice eth0.3 entered promiscuous mode "ifconfig eth0.device eth0 entered promiscuous mode 6 up" set if br0: port 1(eth0.3) entering forwarding state eth0.6 to *not wbr0: port 1(eth0.3) entering forwarding state an dev [ util_execSystem ] 135: oal_addVlanTagIntf cmd is "vconfig add eth0 2"device eth0.4 entered promiscuous mode [ util_execSbr0: port 2(eth0.4) entering forwarding state ystem ] 135: oabr0: port 2(eth0.4) entering forwarding state l_intf_enableIntf cmd is "ifconfig eth0.2 up" set if eth0.2 to wan dev [ vladevice eth0.5 entered promiscuous mode n_addLanPortsIntbr0: port 3(eth0.5) entering forwarding state oBridge ] 500: br0: port 3(eth0.5) entering forwarding state add lan Port 255 from br0 [ util_execSystem ] 135: oal_br_addIntfIntoBridge cmdevice eth0.6 entered promiscuous mode d is "brctl addibr0: port 4(eth0.6) entering forwarding state f br0 eth0.3" br0: port 4(eth0.6) entering forwarding state [ util_execSystem ] 135: oal_br_addIntfIntoBridge cmd is "brctl addif br0 eth0.4" [ util_execSystem ] 135: oal_br_addIntfIntoBridge cmd is "brctl addif br0 eth0.5" [ util_execSystem ] 135: oal_br_addIntfIntoBridge cmd is "brctl addif br0 eth0.6" switch reg write offset=14, value=5555 switch reg write offset=40, value=1001 switch reg write offset=44, value=1001 switch reg write offset=48, value=1001 switch reg write offset=4c, value=1 switch reg write offset=50, value=2001 switch reg write offset=70, value=ffffffff switch reg write offset=98, value=7f7f switch reg write offset=e4, value=7f done. switch reg write offset=14, value=c05555 switch reg write offset=50, value=3002 switch reg write offset=54, value=5004 switch reg write offset=58, value=6 switch reg write offset=98, value=7f3f switch reg write offset=e4, value=3f switch reg write offset=40, value=3002 switch reg write offset=44, value=5004 switch reg write offset=48, value=6 switch reg write offset=70, value=48444241 switch reg write offset=74, value=50 done. [ util_execSystem ] 135: rsl_initIPv6CfgObj cmd is "echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6" [ util_execSystem ] 135: oal_eth_setIGMPSnoopParam cmd is "echo 1 > /sys/devices/virtual/net/br0/bridge/multicast_snooping" [ util_execSystem ] 135: oal_eth_setIGMPSnoopParam cmd is "/sbin/config-vlan-router.sh br0" switch reg write offset=14, value=5555 switch reg write offset=40, value=1001 switch reg write offset=44, value=1001 switch reg write offset=48, value=1001 switch reg write offset=4c, value=1 switch reg write offset=50, value=2001 switch reg write offset=70, value=ffffffff switch reg write offset=98, value=7f7f switch reg write offset=e4, value=7f done. switch reg write offset=14, value=c05555 switch reg write offset=50, value=3002 switch reg write offset=54, value=5004 switch reg write offset=58, value=6 switch reg write offset=98, value=7f3f switch reg write offset=e4, value=3f switch reg write offset=40, value=3002 switch reg write offset=44, value=5004 switch reg write offset=48, value=6 switch reg write offset=70, value=48444241 switch reg write offset=74, value=50 done. [ util_execSystem ] 135: oal_wlan_ra_setCountryRegion cmd is "cp /etc/SingleSKU_CE.dat /var/Wireless/RT2860AP/SingleSKU.dat" [ util_execSystem ] 135: oal_wlan_ra_setCountryRegion cmd is "iwpriv ra0 set CountryRegion=1" ra0 no private ioctls. [ util_execSystem ] 135: oal_wlan_ra_loadDriver cmd is "insmod /lib/modules/kmdir/kernel/drivers/net/wireless/mt_wifi_ap/mt_wifi.ko" ADDRCONF(NETDEV_CHANGE): eth0.4: link becomes ready ADDRCONF(NETDEV_CHANGE): eth0.5: link becomes ready ADDRCONF(NETDEV_CHANGE): eth0.6: link becomes ready ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready RT305x_ESW: Link Status Changed === pAd = c082b000, size = 1459424 === <-- RTMPAllocTxRxRingMemory, Status=0, ErrorValue=0x <-- RTMPAllocAdapterBlock, Status=0 RtmpChipOpsHook(492): Not support for HIF_MT yet! mt7628_init()--> mt7628_init(FW(8a00), HW(8a01), CHIPID(7628)) e2.bin mt7628_init(1135)::(2), pChipCap->fw_len(63888) mt_bcn_buf_init(218): Not support for HIF_MT yet! <--mt7628_init() [ util_execSystem ] 135: oal_wlan_ra_initWlan cmd is "ifconfig ra0 up" TX_BCN DESC a327c000 size = 320 RX[0] DESC a327f000 size = 1024 RX[1] DESC a3280000 size = 1024 cfg_mode=9 cfg_mode=9 wmode_band_equal(): Band Equal! AndesSendCmdMsg: Could not send in band command due to diable fRTMP_ADAPTER_MCU_SEND_IN_BAND_CMD APSDCapable[0]=0 APSDCapable[1]=0 APSDCapable[2]=0 APSDCapable[3]=0 APSDCapable[4]=0 APSDCapable[5]=0 APSDCapable[6]=0 APSDCapable[7]=0 APSDCapable[8]=0 APSDCapable[9]=0 APSDCapable[10]=0 APSDCapable[11]=0 APSDCapable[12]=0 APSDCapable[13]=0 APSDCapable[14]=0 APSDCapable[15]=0 default ApCliAPSDCapable[0]=0 Key1Str is Invalid key length(0) or Type(0) Key1Str is Invalid key length(0) or Type(0) Key2Str is Invalid key length(0) or Type(0) Key2Str is Invalid key length(0) or Type(0) Key3Str is Invalid key length(0) or Type(0) Key3Str is Invalid key length(0) or Type(0) Key4Str is Invalid key length(0) or Type(0) Key4Str is Invalid key length(0) or Type(0) WscKeyASCII=8 WscKeyASCII=8 [RTMPReadParametersHook:254]wifi read profile faild. load fw image from fw_header_image AndesMTLoadFwMethod1(2182)::pChipCap->fw_len(63888) FW Version:20151201 FW Build Date:20151201183641 CmdAddressLenReq:(ret = 0) CmdFwStartReq: override = 1, address = 1048576 CmdStartDLRsp: WiFI FW Download Success MtAsicDMASchedulerInit(): DMA Scheduler Mode=0(LMAC) efuse_probe: efuse = 10000012 RtmpChipOpsEepromHook::e2p_type=2, inf_Type=4 RtmpEepromGetDefault::e2p_dafault=2 RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 2 NVM is FLASH mode 1. Phy Mode = 14 exec! spiflash_ioctl_read, Read from 0x007f0000 length 0x400, ret 0, retlen 0x400 eeFlashId = 0x7628! Country Region from e2p = ffff tssi_1_target_pwr_g_band = 30 2. Phy Mode = 14 3. Phy Mode = 14 NICInitPwrPinCfg(11): Not support for HIF_MT yet! NICInitializeAsic(651): Not support rtmp_mac_sys_reset () for HIF_MT yet! mt_mac_init()--> MtAsicInitMac()--> mt7628_init_mac_cr()--> MtAsicSetMacMaxLen(1277): Set the Max RxPktLen=450! <--mt_mac_init() WTBL Segment 1 info: MemBaseAddr/FID:0x28000/0 EntrySize/Cnt:32/128 WTBL Segment 2 info: MemBaseAddr/FID:0x40000/0 EntrySize/Cnt:64/128 WTBL Segment 3 info: MemBaseAddr/FID:0x42000/64 EntrySize/Cnt:64/128 WTBL Segment 4 info: MemBaseAddr/FID:0x44000/128 EntrySize/Cnt:32/128 AntCfgInit(2940): Not support for HIF_MT yet! MCS Set = ff ff 00 00 01 MtAsicSetChBusyStat(861): Not support for HIF_MT yet! [PMF]ap_pmf_init:: apidx=0, MFPC=0, MFPR=0, SHA256=0 [PMF]RTMPMakeRsnIeCap: RSNIE Capability MFPC=0, MFPR=0 [PMF]ap_pmf_init:: apidx=1, MFPC=0, MFPR=0, SHA256=0 MtAsicSetRalinkBurstMode(3048): Not support for HIF_MT yet! MtAsicSetPiggyBack(796): Not support for HIF_MT yet! reload DPD from flash , 0x9F = [0000] doReload bit7[0] CmdLoadDPDDataFromFlash: Channel = 13, DoReload = 0 MtAsicSetTxPreamble(3027): Not support for HIF_MT yet! CmdSlotTimeSet:(ret = 0) MtAsicAddSharedKeyEntry(1344): Not support for HIF_MT yet! The 4-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 4 MtAsicSetPreTbtt(): bss_idx=0, PreTBTT timeout = 0xf0 ap_ftkd> Initialize FT KDP Module... Main bssid = 18:d6:c7:97:2e:96 <==== rt28xx_init, Status=0 @@@ ed_monitor_init : ===> @@@ ed_monitor_init : <=== mt7628_set_ed_cca: TURN ON EDCCA mac 0x10618 = 0xd7c87d0f, EDCCA_Status=1 WiFi Startup Cost (ra0): 0.732s [ util_execSystem ] 135: oal_wlan_ra_initWlan cmd is "echo 1 > /proc/tplink/led_wlan_24G" [ util_execSystem device ra0 entered promiscuous mode ] 135: oal_br_abr0: port 5(ra0) entering forwarding state ddIntfIntoBridgebr0: port 5(ra0) entering forwarding state cmd is "brctl addif br0 ra0" [ util_execSystem ] 135: oal_br_addIntfIntoBridevice apcli0 entered promiscuous mode dge cmd is "brctl addif br0 apcli0" [ util_execSystem ] 135: oal_br_addIntfIdevice ra1 entered promiscuous mode ntoBridge cmd is "brctl addif br0 ra1" [ util_execSystem ] 135: oal_wlan_ra_initEnd cmspiflash_ioctl_read, Read from 0x007f0000 length 0x2, ret 0, retlen 0x2 d is "wlNetlinkTool &" ==== @@@ ed_status_read: EDCCA TH - H pAd->ed_trigger_cnt : 0 > 20 || pAd->ed_big_rssi_stat : 0 < 50 ==== [ util_execSystem ] 135: oal_wlan_ra_initEnd cmd is "killall -q wscd" [ util_execSystem ] 135: oal_wlan_ra_initEnd cmd is "wscd -i ra0 -m 1 -w /var/tmp/wsc_upnp/ &" [ oal_wlan_ra_loadDriver ] 1786: no 5G chip. WLAN-Start wlNetlinkTool Waiting for Wireless Events from interfaces... swWlanChkAhbErr: netlink to do wscd: SSDP UDP PORT = 1900 sendto: No such file or directory pid 745 send 2030 error sendto: No such file or directory pid 745 send 2004 error [ util_execSystem ] 135: oal_startDhcps cmd is "dhcpd /var/tmp/dconf/udhcpd.conf" [ util_execSystem ] 135: oal_lan6_startDhcp6s cmd is "dhcp6s -c /var/tmp/dconf/dhcp6s_br0.conf -P /var/run/dhcp6s_br0.pid br0 &" [ util_execSystem ] 135: oal_lan6_startRadvd cmd is "radvd -C /var/tmp/dconf/radvd_br0.conf -p /var/run/radvd_br0.pid &" iptables: Bad rule (does a matching rule exist in that chain?). mldProxy# file: src/mld_ifinfo.c;line: 102; error = No such file or directory mldProxy# Err: get LLA failed [ util_execSystem ] 135: oal_br_delIntfFromBridge cmd is "brctl delif br0 eth0.2" brctl: bridge br0: Invalid argument [ util_execSystem ] 135: oal_intf_setIfMac cmd is "ifconfig eth0.2 down" [ util_execSystem ] 135: oal_intf_setIfMac cmd is "ifconfig eth0.2 hw ether 18:D6:C7:97:2E:97 up" [ util_execSystem ] 135: oal_intf_enableIntf cmd is "ifconfig eth0.2 up" radvd starting [Jan 01 00:00:05] radvd: no linklocal address configured for br0 [Jan 01 00:00:05] radvd: error parsing or activating the config file: /var/tmp/dconf/radvd_br0.conf [ util_execSystem ] 135: prepareDropbear cmd is "dropbearkey -t rsa -f /var/tmp/dropbear/dropbear_rsa_host_key" Will output 1024 bit rsa secret key to '/var/tmp/dropbear/dropbear_rsa_host_key' Generating key, this may take a while... [ util_execSystem ] 135: prepareDropbear cmd is "dropbearkey -t dss -f /var/tmp/dropbear/dropbear_dss_host_key" Will output 1024 bit dss secret key to '/var/tmp/dropbear/dropbear_dss_host_key' Generating key, this may take a while... [ util_execSystem ] 135: oal_rip_updateConfig cmd is "rm -f /var/tmp/dconf/zebra.conf" [ util_execSystem ] 135: oal_rip_updateConfig cmd is "rm -f /var/tmp/dconf/ripd.conf" [ util_execSystem ] 135: removeAllRIPIpTableRule cmd is "iptables -L INPUT -v --line-numbers > /var/iptable" [ util_execSystem ] 135: prepareDropbear cmd is "dropbear -p 22 -r /var/tmp/dropbear/dropbear_rsa_host_key -d /var/tmp/dropbear/dropbear_dss_host_key -A /var/tmp/dropbear/dropbearpwd" [ getPidFromPidFile ] 112: Cann't open file: /var/run/zebra.pid. [ util_execSystem ] 135: controlRipProcess cmd is "zebra -d -f /var/tmp/dconf/zebra.conf" [ getPidFromPidFile ] 112: Cann't open file: /var/run/ripd.pid. [ util_execSystem ] 135: oal_ipt_fwDdos cmd is "iptables -D FORWARD -j FIREWALL_DDOS " iptables: No chain/target/match by that name. [ util_execSystem ] 135: oal_ipt_forbidLanPing cmd is "iptables -t filter -D INPUT -i br+ -p icmp --icmp-type echo-request -j DROP iptables -t filter -D FORWARD -i br+ -p icmp --icmp-type echo-request -j DROP " iptables: Bad rule (does a matching rule exist in that chain?). iptables: Bad rule (does a matching rule exist in that chain?). [ util_execSystem ] 135: oal_ddos_delPingRule cmd is "iptables -t filter -D INPUT ! -i br+ -p icmp --icmp-type echo-request -j ACCEPT " iptables: Bad rule (does a matching rule exist in that chain?). [ util_execSystem ] 135: oal_ipt_setDDoSRules cmd is "iptables -F FIREWALL_DDOS" [ util_execSystem ] 135: ddos_clearAll cmd is "rm -f /var/tmp/dosHost" [ util_execSystem ] 135: oal_initFirewallObj cmd is "ebtables -N FIREWALL" [ util_execSystem ] 135: oal_initIp6FirewallObj cmd is "ip6tables -F" [ util_execSystem ] 135: oal_initIp6FirewallObj cmd is "ip6tables -X" [ util_execSystem ] 135: oal_initIp6FirewallObj cmd is "ip6tables -P INPUT ACCEPT" [ util_execSystem ] 135: oal_initIp6FirewallObj cmd is "ip6tables -P FORWARD DROP" [ util_execSystem ] 135: oal_initIp6FirewallObj cmd is "ip6tables -P OUTPUT ACCEPT" [ util_execSystem ] 135: oal_initIp6FirewallObj cmd is "ip6tables -N FIREWALL" [ util_execSystem ] 135: oal_initIp6FirewallObj cmd is "ip6tables -N FWRULE" [ util_execSystem ] 135: oal_initIp6FirewallObj cmd is "ip6tables -N SETMSS" [ util_execSystem ] 135: oal_initIp6FirewallObj cmd is "ip6tables -A INPUT -i lo -p ALL -j ACCEPT -m comment --comment "loop back"" [ util_execSystem ] 135: oal_initIp6FirewallObj cmd is "ip6tables -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT" [ util_execSystem ] 135: oal_initIp6FirewallObj cmd is "ip6tables -A INPUT -i br+ -p tcp --dport 23 -j ACCEPT" [ util_execSystem ] 135: oal_initIp6FirewallObj cmd is "ip6tables -A INPUT -p tcp --dport 23 -j DROP" [ util_execSystem ] 135: oal_initIp6FirewallObj cmd is "ip6tables -A INPUT -i br+ -p icmpv6 --icmpv6-type echo-request -j ACCEPT" [ util_execSystem ] 135: oal_initIp6FirewallObj cmd is "ip6tables -A INPUT -p icmpv6 --icmpv6-type echo-request -j DROP" [ util_execSystem ] 135: oal_initIp6FirewallObj cmd is "ip6tables -A FORWARD -i br+ -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT" [ util_execSystem ] 135: oal_initIp6FirewallObj cmd is "ip6tables -A FORWARD -o br+ -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT" [ util_execSystem ] 135: oal_initIp6FirewallObj cmd is "ip6tables -A FORWARD -j FIREWALL" [ util_execSystem ] 135: oal_initIp6FirewallObj cmd is "ip6tables -I FORWARD 1 -j SETMSS" [ util_execSystem ] 135: oal_fw6_setFwEnabeld cmd is "ip6tables -D FIREWALL -j ACCEPT" ip6tables: Bad rule (does a matching rule exist in that chain?). [ util_execSystem ] 135: oal_fw6_setFwEnabeld cmd is "ip6tables -F FIREWALL" [ util_execSystem ] 135: oal_fw6_setFwEnabeld cmd is "ip6tables -A FIREWALL -j ACCEPT" [ util_execSystem ] 135: setupModules cmd is "insmod /lib/modules/kmdir/kernel/net/netfilter/nf_conntrack_ftp.ko" [ util_execSystem ] 135: setupModules cmd is "insmod /lib/modules/kmdir/kernel/net/ipv4/netfilter/nf_nat_ftp.ko" [ util_execSystem ] 135: oal_openAlg cmd is "iptables -D FORWARD_VPN_PASSTHROUGH -p udp --dport 500 -j DROP" iptables: Bad rule (does a matching rule exist in that chain?). [ util_execSystem ] 135: setupModules cmd is "insmod /lib/modules/kmdir/kernel/net/ipv4/netfilter/nf_nat_proto_gre.ko" [ util_execSystem ] 135: setupModules cmd is "insmod /lib/modules/kmdir/kernel/net/ipv4/netfilter/nf_nat_pptp.ko" [ util_execSystem ] 135: oal_openAlg cmd is "iptables -D FORWARD_VPN_PASSTHROUGH -p tcp --dport 1723 -j DROP" iptables: Bad rule (does a matching rule exist in that chain?). [ util_execSystem ] 135: oal_openAlg cmd is "iptables -D FORWARD_VPN_PASSTHROUGH -p udp --dport 1701 -j DROP" iptables: Bad rule (does a matching rule exist in that chain?). [ util_execSystem ] 135: setupModules cmd is "insmod /lib/modules/kmdir/kernel/net/netfilter/nf_conntrack_tftp.ko" [ util_execSystem ] 135: setupModules cmd is "insmod /lib/modules/kmdir/kernel/net/ipv4/netfilter/nf_nat_tftp.ko" [ util_execSystem ] 135: setupModules cmd is "insmod /lib/modules/kmdir/kernel/net/netfilter/nf_conntrack_h323.ko" [ util_execSystem ] 135: setupModules cmd is "insmod /lib/modules/kmdir/kernel/net/ipv4/netfilter/nf_nat_h323.ko" [ util_execSystem ] 135: setupModules cmd is "insmod /lib/modules/kmdir/kernel/net/netfilter/nf_conntrack_sip.ko" [ util_execSystem ] 135: setupModules cmd is "insmod /lib/modules/kmdir/kernel/net/ipv4/netfilter/nf_nat_sip.ko" [ util_execSystem ] 135: setupModules cmd is "insmod /lib/modules/kmdir/kernel/net/netfilter/nf_conntrack_rtsp.ko" [ util_execSystem ] 135: setupModules cmd is "insmod /lib/modules/kmdir/kernel/net/ipv4/netfilter/nf_nat_rtsp.ko" nf_nat_rtsp v0.6.21 loading enable switch phyport... Set: phy[0].reg[0] = 3900 Set: phy[1].reg[RT305x_ESW: Link Status Changed 0] = 3900 Set: phy[2].reg[0] = 3900 Set: phy[3].reg[0] = 3900 Set: phy[4].reg[0] = 3900 Set: phy[0].reg[0] = 3300 Set: phy[1].reg[0] = 3300 Set: phy[2].reg[0] = 3300 Set: phy[3].reg[0] = 3300 Set: phy[4].reg[0] = 3300 resetMiiPortV over. RT305x_ESW: Link Status Changed


This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • Last modified: 2019/04/29 13:01
  • by tmomas