201

Re: TP Link WR1043ND 11n gigabit router

The DD-WRT has supported the WR1043ND with test build "WR1043ND v.24 SP2 - build 13855 - 20100206"

http://www.dd-wrt.com/wiki/index.php/Supported_Devices#TP-Link

Re: TP Link WR1043ND 11n gigabit router

Ok, and where to get that? smile

Anybody can answer the question: it is possibble (safe) to flash back the original firmware (cut down the beginning) via X-Wrt?
I dont really wanted to risk my net, and at least now working somehow, but wanted to rewert.

BTW i was able to start the wifi, with ssh in and wifi up, but before adding channel and mode.
But when i try to reboot the router i have to always repower, and then always add these configurations.

Re: TP Link WR1043ND 11n gigabit router

bitlisz wrote:
DummyPLUG wrote:

@bitlisz
you must select a wireless channel, auto won't work
you can use any hexeditor in windows to delete the first 0x20200 byte, it will start with 01 00 00 00 54 50 after delete

Changed wireless channel, but no difference. And after reboot (which is not working, have to repower always, because freezed) gets back auto.
Also "No wireless networks were found" in the Site Survey menu.
Maybe some packages missing for wireless?

For the original fw i used HxD hexeditor, selected until 0020200 (size changed, now starting with "01 00 00 00 54 50" or "....TP-LINK Technologies....ver.")
Another good question, how to flash back? Do I need serial connection or the still working network is ok?
It is possibble to flash back in the "Firmware Upgrade" menu from X-Wrt?

I am still with build 19296, wireless is working for me, you can just flash it from the x-wrt menu

Re: TP Link WR1043ND 11n gigabit router

@@Nachtwaechter
are you trying to install x-wrt/luci, or want to flash back tp-link firmware?
for x-wrt:
1. opkg update
2. opkg install webif

Re: TP Link WR1043ND 11n gigabit router

apg wrote:
DummyPLUG wrote:

@apg
type "tpl when it say autobooting in 1 seconds, this will get into u-boot, and you can reflash it again

This part is always to repeat

U-Boot 1.1.4 (Sep 15 2009 - 9:41:38)

AP83 (ar9100) U-boot 0.0.11
DRAM:
sri
32 MB
id read 0x1000000FF
flash size 8MB, sector count = 128
Flash: 8 MB
Using default environment

In:  serial
Out: serial
Err: serial
Net: ag7100_enet_initialize...
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7114
eth0 up
eth0
Autobooting in 1 seconds## Booting image bf0200000...
   Uncompressing Kernel Image ... Error: inflate () returned -3
GUNZIP ERROR - must RESET board to recover

not to and I can not write tpl  in HyperTerminal as in Putty


Thanks

check your serial  connection, as when you type tpl when it show autobooting, it will let you get into U-boot.

Re: TP Link WR1043ND 11n gigabit router

apg wrote:
apg wrote:
DummyPLUG wrote:

@apg
type "tpl when it say autobooting in 1 seconds, this will get into u-boot, and you can reflash it again

This part is always to repeat

U-Boot 1.1.4 (Sep 15 2009 - 9:41:38)

AP83 (ar9100) U-boot 0.0.11
DRAM:
sri
32 MB
id read 0x1000000FF
flash size 8MB, sector count = 128
Flash: 8 MB
Using default environment

In:  serial
Out: serial
Err: serial
Net: ag7100_enet_initialize...
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7114
eth0 up
eth0
Autobooting in 1 seconds## Booting image bf0200000...
   Uncompressing Kernel Image ... Error: inflate () returned -3
GUNZIP ERROR - must RESET board to recover

not to and I can not write tpl  in HyperTerminal as in Putty


Thanks

Ok after much insistence in HyperTerminal appeared this ...

utobooting in 1 secondsar7100> tpl
Unknown command 'tpl' - try 'help'
ar7100> help
reset   - Perform RESET of the CPU
?       - alias for 'help'
base    - print or set address offset
bootm   - boot application image from memory
bootp   - boot image via network using BootP/TFTP protocol
cmp     - memory compare
cp      - memory copy
crc32   - checksum calculation
erase   - erase FLASH memory
flinfo  - print FLASH memory information
go      - start application at address 'addr'
help    - print online help
loadb   - load binary file over serial line (kermit mode)
loady   - load binary file over serial line (ymodem mode)
loop    - infinite loop on address range
md      - memory display
mm      - memory modify (auto-incrementing)
mtest   - simple RAM test
mw      - memory write (fill)
nm      - memory modify (constant address)
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
run     - run commands in an environment variable
setenv  - set environment variables
tftpboot- boot image via network using TFTP protocol
version - print monitor version


I'm confused thanked a step by step

Thanks

https://forum.openwrt.org/viewtopic.php?pid=102269#p102269
you need a tftp server, and follow the instruction in the 1043wiki

Re: TP Link WR1043ND 11n gigabit router

bitlisz wrote:

Ok, and where to get that? smile

Anybody can answer the question: it is possibble (safe) to flash back the original firmware (cut down the beginning) via X-Wrt?
I dont really wanted to risk my net, and at least now working somehow, but wanted to rewert.

BTW i was able to start the wifi, with ssh in and wifi up, but before adding channel and mode.
But when i try to reboot the router i have to always repower, and then always add these configurations.

You can flash back in x-wrt, but most of the time I get error, about 2 out of 5, even I use mtd to flash it.
if you have serial, don't worry about that, you can flash by serial (in U-boot) anytime

208

Re: TP Link WR1043ND 11n gigabit router

DummyPLUG wrote:
apg wrote:
DummyPLUG wrote:

@apg
type "tpl when it say autobooting in 1 seconds, this will get into u-boot, and you can reflash it again

This part is always to repeat

U-Boot 1.1.4 (Sep 15 2009 - 9:41:38)

AP83 (ar9100) U-boot 0.0.11
DRAM:
sri
32 MB
id read 0x1000000FF
flash size 8MB, sector count = 128
Flash: 8 MB
Using default environment

In:  serial
Out: serial
Err: serial
Net: ag7100_enet_initialize...
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7114
eth0 up
eth0
Autobooting in 1 seconds## Booting image bf0200000...
   Uncompressing Kernel Image ... Error: inflate () returned -3
GUNZIP ERROR - must RESET board to recover

not to and I can not write tpl  in HyperTerminal as in Putty


Thanks

check your serial  connection, as when you type tpl when it show autobooting, it will let you get into U-boot.

U-Boot 1.1.4 (Sep 15 2009 - 09:41:38)

AP83 (ar9100) U-boot 0.0.11
DRAM:
sri
32 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7100_enet_initialize...
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Autobooting in 1 seconds## Booting image at bf020000 ...
   Uncompressing Kernel Image ... Error: inflate() returned -3
GUNZIP ERROR - must RESET board to recover

Resetting...

U-Boot 1.1.4 (Sep 15 2009 - 09:41:38)

AP83 (ar9100) U-boot 0.0.11
DRAM:
sri
32 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7100_enet_initialize...
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Autobooting in 1 seconds## Booting image at bf020000 ...
   Uncompressing Kernel Image ... Error: inflate() returned -3
GUNZIP ERROR - must RESET board to recover

Resetting...

U-Boot 1.1.4 (Sep 15 2009 - 09:41:38)

AP83 (ar9100) U-boot 0.0.11
DRAM:
sri
32 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7100_enet_initialize...
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Autobooting in 1 seconds## Booting image at bf020000 ...
   Uncompressing Kernel Image ... Error: inflate() returned -3
GUNZIP ERROR - must RESET board to recover

Resetting...

U-Boot 1.1.4 (Sep 15 2009 - 09:41:38)

AP83 (ar9100) U-boot 0.0.11
DRAM:
sri
32 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7100_enet_initialize...
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Autobooting in 1 seconds## Booting image at bf020000 ...
   Uncompressing Kernel Image ... Error: inflate() returned -3
GUNZIP ERROR - must RESET board to recover

Resetting...

U-Boot 1.1.4 (Sep 15 2009 - 09:41:38)

AP83 (ar9100) U-boot 0.0.11
DRAM:
sri
32 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7100_enet_initialize...
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Autobooting in 1 seconds## Booting image at bf020000 ...
   Uncompressing Kernel Image ... Error: inflate() returned -3
GUNZIP ERROR - must RESET board to recover

Resetting...

U-Boot 1.1.4 (Sep 15 2009 - 09:41:38)

AP83 (ar9100) U-boot 0.0.11
DRAM:
sri
32 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7100_enet_initialize...
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Autobooting in 1 seconds## Booting image at bf020000 ...
   Uncompressing Kernel Image ... Error: inflate() returned -3
GUNZIP ERROR - must RESET board to recover

Resetting...

U-Boot 1.1.4 (Sep 15 2009 - 09:41:38)

AP83 (ar9100) U-boot 0.0.11
DRAM:
sri
32 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7100_enet_initialize...
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Autobooting in 1 seconds## Booting image at bf020000 ...
   Uncompressing Kernel Image ... Error: inflate() returned -3
GUNZIP ERROR - must RESET board to recover

Resetting...

U-Boot 1.1.4 (Sep 15 2009 - 09:41:38)

AP83 (ar9100) U-boot 0.0.11
DRAM:
sri
32 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7100_enet_initialize...
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Autobooting in 1 secondsar7100> tpl
Unknown command 'tpl' - try 'help'
ar7100> tftpboot 0x81000000 code.bin
dup 1 speed 1000
Using eth0 device
TFTP from server 192.168.0.5; our IP address is 192.168.0.2
Filename 'code.bin'.
Load address: 0x81000000
Loading: T T T T T T T T T T
Retry count exceeded; starting again
Using eth0 device
TFTP from server 192.168.0.5; our IP address is 192.168.0.2
Filename 'code.bin'.
Load address: 0x81000000
Loading: T T T T T T T T T T
Retry count exceeded; starting again
Using eth0 device
TFTP from server 192.168.0.5; our IP address is 192.168.0.2
Filename 'code.bin'.
Load address: 0x81000000
Loading: T

And now



And many thanked me for having so many doubts

Re: TP Link WR1043ND 11n gigabit router

Hi guys!
I got OpenWRT working on my 1043! My new built serial cable works, too!
Now i've got one more question. Which is the best way to boot OpenWRT from an USB flash drive?
I've found some different tutorials.

This one is very similar to the solution i've used for my old WL-500gP running dd-wrt: http://wiki.openwrt.org/oldwiki/usbstoragehowto
It seems like the wiki entry is a little bit older... not sure if it works with the latest openwrt releases.
A big advantage of this Solution is the fallback when th USB flash drive isn't aviable.

There were also some very similar tutorials to the first one.

A very different and a little bit more complicated solution is this one: https://forum.openwrt.org/viewtopic.php?id=22842
The possibility to update nearly everything without reflashing sounds interesting. But this solution offers no suitable fallback system. And it seems to be a little bit more complicated to set it up.
Mounting the USB drive by id is very good on the one side and very unsuitable on the other side (when the flash drive is broken)


Are there some other solutions?
Which do you suggest?

210

Re: TP Link WR1043ND 11n gigabit router

@apg: run tftp server with 192.168.0.5 address!

Re: TP Link WR1043ND 11n gigabit router

@apg
setenv serverip 192.168.1.100, or the tftpd server ip address

212

Re: TP Link WR1043ND 11n gigabit router

DummyPLUG wrote:

@apg
setenv serverip 192.168.1.100, or the tftpd server ip address

In:    serial
Out:   serial
Err:   serial
Net:   ag7100_enet_initialize...
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Autobooting in 1 seconds## Booting image at bf020000 ...
   Uncompressing Kernel Image ... Error: inflate() returned -3
GUNZIP ERROR - must RESET board to recover

Resetting...

U-Boot 1.1.4 (Sep 15 2009 - 09:41:38)

AP83 (ar9100) U-boot 0.0.11
DRAM:
sri
32 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7100_enet_initialize...
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Autobooting in 1 seconds## Booting image at bf020000 ...
   Uncompressing Kernel Image ... Error: inflate() returned -3
GUNZIP ERROR - must RESET board to recover

Resetting...

U-Boot 1.1.4 (Sep 15 2009 - 09:41:38)

AP83 (ar9100) U-boot 0.0.11
DRAM:
sri
32 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7100_enet_initialize...
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Autobooting in 1 secondsar7100> tpl
Unknown command 'tpl' - try 'help'
ar7100> help
reset   - Perform RESET of the CPU
?       - alias for 'help'
base    - print or set address offset
bootm   - boot application image from memory
bootp   - boot image via network using BootP/TFTP protocol
cmp     - memory compare
cp      - memory copy
crc32   - checksum calculation
erase   - erase FLASH memory
flinfo  - print FLASH memory information
go      - start application at address 'addr'
help    - print online help
loadb   - load binary file over serial line (kermit mode)
loady   - load binary file over serial line (ymodem mode)
loop    - infinite loop on address range
md      - memory display
mm      - memory modify (auto-incrementing)
mtest   - simple RAM test
mw      - memory write (fill)
nm      - memory modify (constant address)
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
run     - run commands in an environment variable
setenv  - set environment variables
tftpboot- boot image via network using TFTP protocol
version - print monitor version
ar7100> tftpboot 192.168.0.5
dup 1 speed 1000
*** Warning: no boot file name; using '0200A8C0.img'
Using eth0 device
TFTP from server 192.168.0.5; our IP address is 192.168.0.2
Filename '0200A8C0.img'.
Load address: 0x192
Loading: T T T T T T T T T T
Retry count exceeded; starting again
*** Warning: no boot file name; using '0200A8C0.img'
Using eth0 device
TFTP from server 192.168.0.5; our IP address is 192.168.0.2
Filename '0200A8C0.img'.
Load address: 0x192
Loading: T T T T T T T T T T
Retry count exceeded; starting again
*** Warning: no boot file name; using '0200A8C0.img'
Using eth0 device
TFTP from server 192.168.0.5; our IP address is 192.168.0.2
Filename '0200A8C0.img'.
Load address: 0x192
Loading: T T T T T T T T T T
Retry count exceeded; starting again
*** Warning: no boot file name; using '0200A8C0.img'
Using eth0 device
TFTP from server 192.168.0.5; our IP address is 192.168.0.2
Filename '0200A8C0.img'.
Load address: 0x192
Loading: T T T

U-Boot 1.1.4 (Sep 15 2009 - 09:41:38)

AP83 (ar9100) U-boot 0.0.11
DRAM:
sri
32 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7100_enet_initialize...
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Autobooting in 1 seconds## Booting image at bf020000 ...
   Uncompressing Kernel Image ... Error: inflate() returned -3
GUNZIP ERROR - must RESET board to recover

Resetting...

U-Boot 1.1.4 (Sep 15 2009 - 09:41:38)

AP83 (ar9100) U-boot 0.0.11
DRAM:
sri
32 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7100_enet_initialize...
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Autobooting in 1 seconds## Booting image at bf020000 ...
   Uncompressing Kernel Image ... Error: inflate() returned -3
GUNZIP ERROR - must RESET board to recover

Resetting...

U-Boot 1.1.4 (Sep 15 2009 - 09:41:38)

AP83 (ar9100) U-boot 0.0.11
DRAM:
sri
32 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7100_enet_initialize...
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Autobooting in 1 secondsar7100> tpl
Unknown command 'tpl' - try 'help'
ar7100> setenv serverip 192.168.1.100
ar7100> tftpd server 192.168.0.5
Unknown command 'tftpd' - try 'help'
ar7100> tftpboot 192.168.0.5 code.bin
dup 1 speed 1000
Using eth0 device
TFTP from server 192.168.1.100; our IP address is 192.168.0.2
Filename 'code.bin'.
Load address: 0x192
Loading: T T T T T T T T T T
Retry count exceeded; starting again
Using eth0 device
TFTP from server 192.168.1.100; our IP address is 192.168.0.2
Filename 'code.bin'.
Load address: 0x192
Loading: T T T T T T T T T T
Retry count exceeded; starting again
Using eth0 device
TFTP from server 192.168.1.100; our IP address is 192.168.0.2
Filename 'code.bin'.
Load address: 0x192
Loading: T T T T T T T T T T
Retry count exceeded; starting again
Using eth0 device
TFTP from server 192.168.1.100; our IP address is 192.168.0.2
Filename 'code.bin'.
Load address: 0x192
Loading: T T T T

213

Re: TP Link WR1043ND 11n gigabit router

obsy wrote:

@apg: run tftp server with 192.168.0.5 address!

d read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7100_enet_initialize...
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Autobooting in 1 seconds## Booting image at bf020000 ...
   Uncompressing Kernel Image ... Error: inflate() returned -3
GUNZIP ERROR - must RESET board to recover

Resetting...

U-Boot 1.1.4 (Sep 15 2009 - 09:41:38)

AP83 (ar9100) U-boot 0.0.11
DRAM:
sri
32 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7100_enet_initialize...
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Autobooting in 1 seconds## Booting image at bf020000 ...
   Uncompressing Kernel Image ... Error: inflate() returned -3
GUNZIP ERROR - must RESET board to recover

Resetting...

U-Boot 1.1.4 (Sep 15 2009 - 09:41:38)

AP83 (ar9100) U-boot 0.0.11
DRAM:
sri
32 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7100_enet_initialize...
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Autobooting in 1 seconds## Booting image at bf020000 ...
   Uncompressing Kernel Image ... Error: inflate() returned -3
GUNZIP ERROR - must RESET board to recover

Resetting...

U-Boot 1.1.4 (Sep 15 2009 - 09:41:38)

AP83 (ar9100) U-boot 0.0.11
DRAM:
sri
32 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7100_enet_initialize...
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Autobooting in 1 seconds## Booting image at bf020000 ...
   Uncompressing Kernel Image ... Error: inflate() returned -3
GUNZIP ERROR - must RESET board to recover

Resetting...

U-Boot 1.1.4 (Sep 15 2009 - 09:41:38)

AP83 (ar9100) U-boot 0.0.11
DRAM:
sri
32 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7100_enet_initialize...
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Autobooting in 1 secondsar7100> tpl
Unknown command 'tpl' - try 'help'
ar7100> help
reset   - Perform RESET of the CPU
?       - alias for 'help'
base    - print or set address offset
bootm   - boot application image from memory
bootp   - boot image via network using BootP/TFTP protocol
cmp     - memory compare
cp      - memory copy
crc32   - checksum calculation
erase   - erase FLASH memory
flinfo  - print FLASH memory information
go      - start application at address 'addr'
help    - print online help
loadb   - load binary file over serial line (kermit mode)
loady   - load binary file over serial line (ymodem mode)
loop    - infinite loop on address range
md      - memory display
mm      - memory modify (auto-incrementing)
mtest   - simple RAM test
mw      - memory write (fill)
nm      - memory modify (constant address)
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
run     - run commands in an environment variable
setenv  - set environment variables
tftpboot- boot image via network using TFTP protocol
version - print monitor version
ar7100> tftpboot 192.168.0.5
dup 1 speed 1000
*** Warning: no boot file name; using '0200A8C0.img'
Using eth0 device
TFTP from server 192.168.0.5; our IP address is 192.168.0.2
Filename '0200A8C0.img'.
Load address: 0x192
Loading: T T T T T T T T T T
Retry count exceeded; starting again
*** Warning: no boot file name; using '0200A8C0.img'
Using eth0 device
TFTP from server 192.168.0.5; our IP address is 192.168.0.2
Filename '0200A8C0.img'.
Load address: 0x192
Loading: T T T T T T T T T T
Retry count exceeded; starting again
*** Warning: no boot file name; using '0200A8C0.img'
Using eth0 device
TFTP from server 192.168.0.5; our IP address is 192.168.0.2
Filename '0200A8C0.img'.
Load address: 0x192
Loading: T T T T T T T T

Re: TP Link WR1043ND 11n gigabit router

@apg
1. you need a tftpd server
2. read the wiki for how to flash using tftp.

215

Re: TP Link WR1043ND 11n gigabit router

DummyPLUG wrote:

@apg
1. you need a tftpd server
2. read the wiki for how to flash using tftp.

Instalacja przez bootloader
Nale?y:
- wy??czy? zasilanie rutera
- pod??czy? kabel szeregowy do rutera i komputera
- pod??czy? kabel ethernet do rutera i komputera
- ustawi? adres karty sieciowej w komputerze na sta?e na 192.168.0.5
- uruchomi? serwer tftpd, a nast?pnie do g?ównego katalogu tego serwera skopiowa? plik firmware (dla u?atwienia - pod nazw? code.bin)
- uruchomi? terminal (mo?e by? putty) - ustawi? parametry 115200 8n1
- w??czy? zasilanie rutera
- kiedy wy?wietli si? napis "Autoboot..." szybko wpisa? tpl - proces startu zostanie przerwany
- powinien si? wy?wietli? znak zach?ty:


    ar7100>

Najpierw sprawdzamy czy "adresy" si? zgadzaj? - ?adujemy firmware do pami?ci i wy?wietlamy zmienne ?rodowiskowe:


    ar7100> tftpboot 0x81000000 code.bin
    ...
    Bytes transferred = 8126464 (7c0000 hex)
    ar7100> printenv
    ...
    bootcmd=bootm 0xbf020000
    ...

I'm using as the server tftpd Tftpd32 by Ph Jounin be able to help a configural or use another

Thanks in advance

Re: TP Link WR1043ND 11n gigabit router

all its now ok. Thanks

217 (edited by chris-u 2010-02-07 14:08:42)

Re: TP Link WR1043ND 11n gigabit router

what about usb boot?
https://forum.openwrt.org/viewtopic.php?pid=102319#p102319

Re: TP Link WR1043ND 11n gigabit router

It is possible the USB port to use it as a printserver? and if so, what package need to be installed?

219

Re: TP Link WR1043ND 11n gigabit router

Yes.

opkg update
opkg install kmod-usb-printer p910nd

220

Re: TP Link WR1043ND 11n gigabit router

DummyPLUG wrote:

@apg
1. you need a tftpd server
2. read the wiki for how to flash using tftp.

Can be more specific please "wiki for how to flash using tftp"
I think I'm going crazy apparently all I need to send in the bin but I can



Thanks in advance

Re: TP Link WR1043ND 11n gigabit router

obsy wrote:

Yes.

opkg update
opkg install kmod-usb-printer p910nd

Can someone help me. Packets are instaled over luci, (but the printer is not work.
Do I need to adjust anything else? and if so what and where.

222 (edited by DummyPLUG 2010-02-07 18:25:02)

Re: TP Link WR1043ND 11n gigabit router

apg wrote:
DummyPLUG wrote:

@apg
1. you need a tftpd server
2. read the wiki for how to flash using tftp.

Can be more specific please "wiki for how to flash using tftp"
I think I'm going crazy apparently all I need to send in the bin but I can



Thanks in advance

from http://wiki.openwrt.org/inbox/tp-link.tl-wr1043nd

OEM installation using the TFTP and RS232 method
If you want to upgrade using TFTP you follow these steps (as an alternative to the above install process. Quick howto recover from bad flash.

Requirements: tfpd server with an address 192.168.0.5, file named code.bin containing openwrt firmware.

•erase 0xbf020000 +7c0000
7c0000: size of the firmware (be aware that u can have diffrent size so u will brick your router)

•tftpboot 0x81000000 code.bin
•cp.b 0x81000000 0xbf020000 0x7c0000
•bootm 0xbf020000

p.s. sorry, dunno which part you don't understand

223 (edited by bitlisz 2010-02-07 18:49:30)

Re: TP Link WR1043ND 11n gigabit router

So dont try to reflash to original frimware from openwrt...I bricked with that.
Anyway I found CA-42 cable and managed to unbrick.
I finally find out before you wrote this, but this is necessary for the newbies (Big thanks!).
Maybe others need these too:
Hyperterminal (vista and win7 just does not contains that)
https://www.hilgraeve.com/htpe/download.php
TFTP server:
http://tftpd32.jounin.net/tftpd32_download.html

The tricky part was to manage get into uboot mode (?),
So CA-42 connected to unpowered unit, open hyperterminal, see messages:
________________________
U-Boot 1.1.4 (Nov 17 2009 - 11:56:26)

AP83 (ar9100) U-boot 0.0.11
DRAM:
sri
32 MB
________________________
and plug power into the router
after "Autobooting in 1 seconds" just type as fast as you can tpl.
For me was no reaction...continued to boot, and freezeed.
Somehow did not stopped when i typed "tpl", but maybe at 10-20th times just happened...so others just dont give up at this point!

Anyway i tried again with openwrt...but no wireless until i not configure and start...i was not able manage to start automatically.
I set up wireless on x-wrt, but nothing.
Then I edited the wireless config from ssh (easy to use with mc), but does not matter.

And the luci also does not work, i get this error until i not install all necessary packages:
___________________________________________________
/usr/lib/lua/luci/dispatcher.lua:230: No valid theme found
stack traceback:
    [C]: in function 'assert'
    /usr/lib/lua/luci/dispatcher.lua:230: in function 'dispatch'
    /usr/lib/lua/luci/dispatcher.lua:129: in function </usr/lib/lua/luci/dispatcher.lua:128>
___________________________________________________
Found here:
https://forum.openwrt.org/viewtopic.php?id=21551
"Besides of "opkg install luci-admin-full",
"opkg install luci-theme-base" and "opkg install luci-theme-openwrt" have to be done."

and the avaiable luci, but empry page in wireless config page (and in lot other too...).

So back again to the original firmware (its too bad)...maybe i will wait for ddwrt release.

224

Re: TP Link WR1043ND 11n gigabit router

Ok I'm back to business "r19533" ... A bad configuration tftpt32 was giving error

I'd like to thank all big_smile

225

Re: TP Link WR1043ND 11n gigabit router

DummyPLUG wrote:
apg wrote:
DummyPLUG wrote:

@apg
1. you need a tftpd server
2. read the wiki for how to flash using tftp.

Can be more specific please "wiki for how to flash using tftp"
I think I'm going crazy apparently all I need to send in the bin but I can



Thanks in advance

from http://wiki.openwrt.org/inbox/tp-link.tl-wr1043nd

OEM installation using the TFTP and RS232 method
If you want to upgrade using TFTP you follow these steps (as an alternative to the above install process. Quick howto recover from bad flash.

Requirements: tfpd server with an address 192.168.0.5, file named code.bin containing openwrt firmware.

•erase 0xbf020000 +7c0000
7c0000: size of the firmware (be aware that u can have diffrent size so u will brick your router)

•tftpboot 0x81000000 code.bin
•cp.b 0x81000000 0xbf020000 0x7c0000
•bootm 0xbf020000

p.s. sorry, dunno which part you don't understand

Thanks anyway