Support for TL-WR840N(ES) Ver 5.0 (EU)


#285

Yes
That 9pin connector (DB9) looks like RS232, your router/modem typically uses 3.3V UART, they are different.

https://www.sparkfun.com/tutorials/215


#286

I bought "Prolific USB-to-serial" USB\VID_067B&PID_2303&REV_0400
@mbo2o thanks for telling me I seem to have bought the wrong adapter

I may now try get a RS232=>UART adapter


#287

or USB=>UART adaptor

https://openwrt.org/docs/techref/hardware/port.serial.cables?s[]=ftdi


#288

@mbo2o I have a doubt about this, my adapter seems to have PL-2303 XHD chip. is there any chance to disassemble it and use it as a USB=>UART adaptor instead of rs232?Untitled2


#289

Probably, but I personally wouldn't do that to a working adapter that I can use for something else.
Also it maybe configured as 5V UART instead of 3.3V which is what I think you need so it still may not work.


#290

Hi, @pradorocchi

Basic - Working fine
Full - Reset settings on reboot

Need your help - Basic is fine for me, just need ppp to be added in it.

Thanks in advance


#291

Hey @pradorocchi great job - could you post your .config so I can follow and try to build it on my buildroot? thanks.


#292

Descarga el firmware TL-WR840N(ES)_V5_170503 de la página de TP-Link de España, Usa un editor hexadecimal y llena de 00 (zeros) desde x0 hasta x1ffff, luego borra los bytes desde x2000 hasta x201ff, guarda los cambios. El archivo te debe quedar de 4,063,232 bytes (el firmware original tiene 4,063,744 bytes). Usa el procedimiento de recuperación de firmware de TP-Link con el TFTPD. Si quieres te puedo mandar por correo el firmware ya modificado.


#293

Please always provide an english translation, so that everybody around the world can participate without having to use a translator.


#294

Translation - Download the TP-Link firmware from the spain website, TL-WR840N(ES)_V5_170503, use a hex editor and zero out from x0 to x1ffff, then delete byets from x2000 to x201ff, save changes. The file should be 4,063,232 bytes (while the original has 4,063,744 bytes. Use the recovery procedure for TFTP to flash this modified firmware. He can send (@albertoflg) the modified firmware to carlos16 or whomever, I reckon.

Have a great day everyone.


#295

Hola Alberto, al poco tiempo de bloquear mi router pude recuperarlo con una sugerencia en este foro y fue de la siguiente manera:

  1. Copiar el firmware stock a la carpeta /tmp en LEDE
  2. Eliminar la parte del cargador de arranque de la imagen con el comando dd
    2.1. # cd /tmp
    2.2. # dd if=originalfw.bin of=originalfw_striped.bin skip=257 bs=512
    2.3. # sysupgrade originalfw_striped.bin
  3. Reiniciar

Esa fue la manera como pude restaurarlo a su firmware original ya que con LEDE no funciona el Wireless.

Saludos


#296

Please always provide an english translation, so that everybody around the world can participate without having to use a translator.


#297

Good morning, Colleagues, I apologize for not having translated my comment but when I was doing it I was without Internet.

After a short time of blocking my router I was able to recover it with some suggestions in this forum and it was as follows:

The first thing I did was to install the Recovery by TFTP, which is named tp_recovery.bin

https://drive.google.com/drive/folders/1X5fYd4_ZXvp4e5EiWXtBqBKXHXz7Hz4V?usp=sharing

To return it to the stock firmware the following:

  1. Copy the stock firmware to the /tmp folder in LEDE
  2. Remove the boot loader part of the image with the dd command
    2.1. # cd /tmp
    2.2. # dd if=originalfw.bin of=originalfw_striped.bin skip=257 bs=512
    2.3. # sysupgrade originalfw_striped.bin
  3. Restart

That was the way I could restore it to its original firmware because the Wireless does not work with LEDE.

Regards.


#298

Download firmware TL-WR840N(ES)_V5_170503 from Spain TP-Link website, use a hex editor to fill zeros (00) from x0 to x1ffff, next delete bytes from x2000 to x201ff, save changes in a new file or overwrite, as you wish. The new bin file must have 4,063,232 bytes (original firmware is 4,063,744 bytes long). Use the TP-Link recovery procedure using TFTPD. If you wish I can send you the modified firmware. This was made because a bricked WR840N v5 was impossible to recover with the original downloaded firmware and OpenWRT/LEDE fimware was unsuccessful too. In this fórum I found a posted OpenWRT/LEDE firmware without LUCI that successfully recovered the router, so I analized the file and made the procedure described here to put the original TP-Link firmware in the router and unbrick it.


#299

Hi mate
Have you bought a new one adapter for this? or It worked using the usb to rs232 (DB9) adapter?
Thanks


#300

You mustn't use a DB9 style serial adaptor, its voltage levels (+/- 25 volts) would permanently destroy the hardware; most routers require 3.3 volts based serial consoles instead.