OpenWrt Forum Archive

Topic: TP-Link TL-WR841N v8.0

The content of this topic has been archived between 26 Jul 2014 and 6 May 2018. Unfortunately there are posts – most likely complete pages – missing.

i have a hint...

dup 1 speed 1000

SPEED 1000??? was not supposed to have gigabit ethernet... if you force 10Mbps Half Duplex on the pc, that becomes:

dup 0 speed 10

or stays always the same??

found this, but it's NOT for uboot of tp-link.. worth a try:

setenv disable_giga 1

setenv disable_giga 1 and still

wasp> tftpboot 0x81000000 tplink.bin
enet1 port1 up
dup 1 speed 1000
Using eth1 device
TFTP from server 192.168.1.100; our IP address is 192.168.1.111
Filename 'tplink.bin'.
Load address: 0x81000000
Loading: checksum bad
checksum bad
checksum bad

and sometimes with "len bad" message

wasp> tftpboot 0x81000000 tplink.bin
Using eth1 device
TFTP from server 192.168.1.100; our IP address is 192.168.1.111
Filename 'tplink.bin'.
Load address: 0x81000000
Loading: len bad 46 < 53
T T T checksum bad
T T T T T checksum bad

(Last edited by quorce on 26 Nov 2012, 11:18)

also tried forcing low speed and half duplex from PC's NIC proprieties and still

dup 1 speed 1000

??

Haha got solution and back to original tp-link 841n firmware! My wr841n works again! smile

- tp-link wr841n v8 router
- 2 pc (windows 7 64bit)
- arduino uno r3 board
- few wires
- ethernet cable

1st pc to control router via serial (arduino board - tx, rx, gnd pins, few wires)
2nd pc as tftp server with tplink.bin (via ethernet cable)

If someone wants to know how I did it, I can describe step by step... smile

what difference from all your tries????

nebbia88 wrote:

what difference from all your tries????

dont know... just use 2 pc in this same time (first for serial port, second as server) smile

@quorce we would love to see a tutorial of how you did that big_smile

LOL, can't be that... if you put also serial in 2nd pc it would have worked the same.

did you notice if speed was 1000 even the time that worked?

I received my WR841N v8.2 today and flashed attitude_adjustment/12.09-rc1 (openwrt-ar71xx-generic-tl-wr841n-v8-squashfs-factory.bin). Working perfectly!

darkseid wrote:

I received my WR841N v8.2 today and flashed attitude_adjustment/12.09-rc1 (openwrt-ar71xx-generic-tl-wr841n-v8-squashfs-factory.bin). Working perfectly!

How it is possible? My wr841n v8.2 didnt works fine with "openwrt-ar71xx-generic-tl-wr841n-v8-squashfs-factory.bin" hmm

nebbia88 wrote:

LOL, can't be that... if you put also serial in 2nd pc it would have worked the same.

did you notice if speed was 1000 even the time that worked?

pc1 <- serial -> router
pc2 <- ethernet -> router
smile

quorce wrote:
darkseid wrote:

I received my WR841N v8.2 today and flashed attitude_adjustment/12.09-rc1 (openwrt-ar71xx-generic-tl-wr841n-v8-squashfs-factory.bin). Working perfectly!

How it is possible? My wr841n v8.2 didnt works fine with "openwrt-ar71xx-generic-tl-wr841n-v8-squashfs-factory.bin" hmm

I used the AA build. You may have tried the trunk build.

Imho quorce's router has a different flash... Can soneone please share hi res pictures or at least all chip markings of this version???

I think my router hate me... sad

Try again with AA RC1:

openwrt-ar71xx-generic-tl-wr841n-v8-squashfs-factory.bin

and

openwrt-ar71xx-generic-tl-wr841n-v8-jffs2-factory.bin

And in both verions after typing "passwd" got message:

root@(none):/# passwd
Changing password for root
New password:
Retype password:
passwd: can't create '/etc/shadow+': No space left on device
passwd: can't update password file /etc/shadow

Any idea? big_smile

so? rc1 boots ok while beta2 didn't boot??

EDIT: do you remember what version you flashed the first time that gave you kernel panic???

nice to know...

anyway, USE SQUASHFS.

after flashing, enter failsafe mode and do

firstboot
reboot -f

after reboot you should be able to login with telnet and "passwd" wink

(Last edited by nebbia88 on 28 Nov 2012, 17:58)

New flash... firstboot+reboot and other message big_smile

root@(none):/# passwd
Changing password for root
New password:
Retype password:
passwd: /etc/passwd: Read-only file system
passwd: can't update password file /etc/passwd

still "openwrt-ar71xx-generic-tl-wr841n-v8-squashfs-factory.bin"

(Last edited by quorce on 28 Nov 2012, 18:17)

Filename is the same for all release versions.....

Can you post dmesg?

(Last edited by nebbia88 on 28 Nov 2012, 18:53)

root@(none):/# dmesg
[    0.000000] Linux version 3.3.8 (blogic@Debian-60-squeeze-64-minimal) (gcc ve                                                                                        rsion 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #2 Sat Oct 20 12:31                                                                                        :22 UTC 2012
[    0.000000] MyLoader: sysp=8b8b81ac, boardp=96e34c72, parts=b298aa77
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0001974c (MIPS 74Kc)
[    0.000000] SoC: Atheros AR9341 rev 1
[    0.000000] Clocks: CPU:535.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.00                                                                                        0MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 802ef080, node_mem_map 8100000                                                                                        0
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8128 pages, LIFO batch:0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pag                                                                                        es: 8128
[    0.000000] Kernel command line:  board=TL-WR841N-v8 console=ttyS0,115200 roo                                                                                        tfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32                                                                                         bytes
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 29008k/32768k available (2209k kernel code, 3760k reserve                                                                                        d, 412k data, 212k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, No                                                                                        des=1
[    0.000000] NR_IRQS:51
[    0.000000] Calibrating delay loop... 266.64 BogoMIPS (lpj=1333248)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 512
[    0.090000] NET: Registered protocol family 16
[    0.090000] gpiochip_add: registered GPIOs 0 to 22 on device: ath79
[    0.100000] MIPS: machine is TP-LINK TL-WR841N/ND v8
[    0.510000] bio: create slab <bio-0> at 0
[    0.520000] Switching to clocksource MIPS
[    0.530000] NET: Registered protocol family 2
[    0.530000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.530000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.540000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.540000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.550000] TCP reno registered
[    0.550000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.560000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.560000] NET: Registered protocol family 1
[    0.570000] PCI: CLS 0 bytes, default 32
[    0.580000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.590000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY                                                                                        ) (c) 2001-2006 Red Hat, Inc.
[    0.600000] msgmni has been set to 56
[    0.610000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2                                                                                        54)
[    0.610000] io scheduler noop registered
[    0.620000] io scheduler deadline registered (default)
[    0.620000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.650000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[    0.660000] console [ttyS0] enabled, bootconsole disabled
[    0.670000] m25p80 spi0.0: found en25q32b, expected m25p80
[    0.680000] m25p80 spi0.0: en25q32b (4096 Kbytes)
[    0.690000] 5 tp-link partitions found on MTD device spi0.0
[    0.690000] Creating 5 MTD partitions on "spi0.0":
[    0.700000] 0x000000000000-0x000000020000 : "u-boot"
[    0.700000] 0x000000020000-0x000000109704 : "kernel"
[    0.710000] mtd: partition "kernel" must either start or end on erase block b                                                                                        oundary or be smaller than an erase block -- forcing read-only
[    0.720000] 0x000000109704-0x0000003f0000 : "rootfs"
[    0.730000] mtd: partition "rootfs" must either start or end on erase block b                                                                                        oundary or be smaller than an erase block -- forcing read-only
[    0.740000] mtd: partition "rootfs" set to be root filesystem
[    0.750000] mtd: partition "rootfs_data" created automatically, ofs=2D0000, l                                                                                        en=120000
[    0.760000] 0x0000002d0000-0x0000003f0000 : "rootfs_data"
[    0.760000] 0x0000003f0000-0x000000400000 : "art"
[    0.770000] 0x000000020000-0x0000003f0000 : "firmware"
[    0.800000] ag71xx_mdio: probed
[    0.800000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[    1.360000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.1:00 [uid=                                                                                        004dd042, driver=Generic PHY]
[    1.370000] eth1: Atheros AG71xx at 0xba000000, irq 5
[    1.920000] eth1: Found an AR934X built-in switch
[    2.960000] TCP cubic registered
[    2.960000] NET: Registered protocol family 17
[    2.960000] Bridge firewalling registered
[    2.970000] 8021q: 802.1Q VLAN Support v1.8
[    2.980000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    2.990000] Freeing unused kernel memory: 212k freed
[    4.590000] Registered led device: tp-link:green:lan1
[    4.590000] Registered led device: tp-link:green:lan2
[    4.590000] Registered led device: tp-link:green:lan3
[    4.590000] Registered led device: tp-link:green:lan4
[    4.590000] Registered led device: tp-link:green:qss
[    4.590000] Registered led device: tp-link:green:system
[    4.590000] Registered led device: tp-link:green:wan
[    4.590000] Registered led device: tp-link:green:wlan
[    7.360000] eth0: link up (100Mbps/Full duplex)

Got It!

mount_root

And 192.168.1.1 is root@my_password smile

But next problem... After login to 192.168.1.1 in "NETWORK":

/usr/lib/lua/luci/dispatcher.lua:448: Failed to execute firstchild dispatcher target for entry '/admin/network'.
The called action terminated with an exception:
/usr/lib/lua/luci/dispatcher.lua:448: Failed to execute arcombine dispatcher target for entry '/admin/network/network'.
The called action terminated with an exception:
/usr/lib/lua/luci/cbi.lua:336: Unable to read UCI data: network
stack traceback:
    [C]: in function 'assert'
    /usr/lib/lua/luci/dispatcher.lua:448: in function 'dispatch'
    /usr/lib/lua/luci/dispatcher.lua:195: in function </usr/lib/lua/luci/dispatcher.lua:194>

Hello everyone, I recently bought TP-Link WR841N Ver 8.2 from Romania (was a promotion for Black Friday).  you have support  WRT for this router?

(Last edited by WNT89 on 30 Nov 2012, 12:01)

Yew wnt, this is the file http://downloads.openwrt.org/attitude_a … actory.bin . Just upload it from the web interface and it wi'll work like a charm. I'm also from romania and i had a 8.0 and worked perfectly.

(Last edited by y.yumu on 1 Dec 2012, 10:22)

I bought two of these on black friday. Also from Romania. I received only one of 'em so far. And I was so disappointed to find out that it was v8.2. I have another one that I bought last year a 7.1 and I am very pleased with it. I search google for DD-WRT for a firmware for v8.2 but there's nothing there yet. So I turned to OpenWRT and found this forum thread. Anyway, I flashed AA 12.09 RC1 http://downloads.openwrt.org/attitude_a … actory.bin and it went great. Booted into OpenWRT and just set it into AP Mode but to my disappointment wireless speeds are very low. I set 802.11g+n on config, I only wanted 802.11n but there was no option, wpa2-psk with AES and the speed on wireless on speedtest.com was 20Mbps and on wire 90Mbps. Kind of a difference smile. I was really expecting the same output both on wireless and on wire. On my v7 DD-WRT router that has the exact config I get 90 Mbps on wire and 80 Mbps on wireless. So I decided to flash back to stock. I used undermonster's method with the TL-WR841N_V8_120522 from tp-link site(did a 30/30/30 before and after just to be sure). It went without an error and was back to stock. On stock I did again speedtest and got 90Mbps on wire and 85Mbps on wireless so clearly there is more work to be done on OpenWrt until I can consider it a working tool. I'm still hoping for DD-WRT.

EDIT: Read the forum thread thoroughly, on undermonster's method when he says 2) Wait for "Reboot" message. If error message appears, manually reboot. he means that if you get a Reboot error message to reboot manually not if you get a flash error message to reboot manually. Be careful. Also, I read a few posts back that someone had an error with flashing and did not reboot the router and just telnet'ed again on device and reflashed openwrt just to avoid ending up with a brick. I think this is safer( having 20Mbps than risk having 0Mpbs and a nice brick smile )

(Last edited by alexzutzu on 1 Dec 2012, 11:37)

Pay 50$ for a working(and stable!) firmware for 841N/ND v8.2 and explaining how to make my custom firmware(compilling package and including it in feed list, custom config file, reset button, 802.11s/B.A.T.M.A.N. etc.)

P.S. I need trunk version number / source code, not binary file.

(Last edited by i.s.reji on 11 Dec 2012, 11:57)

good morning:

I recently bought a WR841ND v8.1, but stayed "brick" when updating the firmware to openwrt original.

http://i274.photobucket.com/albums/jj252/nyasko/20121221_134158.jpg

I soldered the serial cable ( clone CA-42 ) as shown in the tutorials, TX Green, Blue RX and White GND, TX with resistance to VCC. I show you in this picture, but I console appears garbled, and I can not get any commands. 115200, 8, 1 nn.

That is what can happen?,

Thank you very much for the help

(Last edited by nyasko on 21 Dec 2012, 13:53)