Browse Source

updated readme

master
Barb 1 year ago
parent
commit
ce59127a78
1 changed files with 11 additions and 10 deletions
  1. +11
    -10
      README.md

+ 11
- 10
README.md View File

@ -5,7 +5,8 @@ First flash of OpenWrt:
- Plug the serial converter in your PC, from now on, I'll assume you're using a systemd linux distro. - Plug the serial converter in your PC, from now on, I'll assume you're using a systemd linux distro.
- open a terminal and type "screen /dev/ttyUSB0 115200" - open a terminal and type "screen /dev/ttyUSB0 115200"
- a blank shell will open, now plug in the TPLINK's power brick and hit "t" repeatedly to stop boot (if you see nothing, or garbled characters, check serial connection and baudrate). - a blank shell will open, now plug in the TPLINK's power brick and hit "t" repeatedly to stop boot (if you see nothing, or garbled characters, check serial connection and baudrate).
- You should now see a shell similar to this:
- You should now see a shell similar to this:
ROM VER: 1.1.4 ROM VER: 1.1.4
CFG 05 CFG 05
EEPROM Data OK EEPROM Data OK
@ -13,24 +14,24 @@ First flash of OpenWrt:
VR9 # VR9 #
- download the .bin sysupgrade file and follow the commands at the first link, and remember to change the name of the .bin file to the one you downloaded: - download the .bin sysupgrade file and follow the commands at the first link, and remember to change the name of the .bin file to the one you downloaded:
- WARNING! if at any step you get a message saying "unknown command setenv" or similar, DO NOT switch off the TPLINK, just unplug the serial converter from yout USB, plug it back in and start "screen" again. You should be able to continue where you left off.
"setenv ipaddr 192.168.1.1"
"setenv serverip 192.168.1.2"
"setenv bootargs 'board=WD8970'"
"tftpboot 0x81000000 openwrt-CHANGE-THIS-TO-CURRENT-VERSION-lantiq-xrx200-tplink_tdw8970-squashfs-sysupgrade.bin"
- WARNING! if at any step you get a message saying "unknown command ...", DO NOT switch off the TPLINK, just unplug the serial converter from yout USB, plug it back in and start "screen" again. You should be able to continue where you left off.
- "setenv ipaddr 192.168.1.1"
- "setenv serverip 192.168.1.2"
- "setenv bootargs 'board=WD8970'"
- "tftpboot 0x81000000 openwrt-CHANGE-THIS-TO-CURRENT-VERSION-lantiq-xrx200-tplink_tdw8970-squashfs-sysupgrade.bin"
- you will now get a message saying that the board is waiting for a file to be uploaded via TFTP - you will now get a message saying that the board is waiting for a file to be uploaded via TFTP
- plug in an ethernet cable from your PC to port 1 of the TPLINK, open your PC's network settings, disable DHCP for ethernet and manually set the IP to 192.168.1.2 (netmask 255.255.255.0 and gateway 192.168.1.1). You can verify the settings by typing "ip addr" in a terminal. - plug in an ethernet cable from your PC to port 1 of the TPLINK, open your PC's network settings, disable DHCP for ethernet and manually set the IP to 192.168.1.2 (netmask 255.255.255.0 and gateway 192.168.1.1). You can verify the settings by typing "ip addr" in a terminal.
- if you do not have TFTP on your PC, install tftp-hpa with your packet manager and then start the server with: - if you do not have TFTP on your PC, install tftp-hpa with your packet manager and then start the server with:
"systemctl start tftpd.service"
- "systemctl start tftpd.service"
- now open the folder "/srv/tftp/" as root and copy the downloaded .bin file in it (you can do this with "sudo cp" + the paths you need, or by using a root file explorer) - now open the folder "/srv/tftp/" as root and copy the downloaded .bin file in it (you can do this with "sudo cp" + the paths you need, or by using a root file explorer)
- the upload should automatically start and you should see it progressing via serial. - the upload should automatically start and you should see it progressing via serial.
- now continue following the given commands to erase and write the flash over serial: - now continue following the given commands to erase and write the flash over serial:
"sf erase 0x20000 0x7a0000"
"sf write 0x81000000 0x20000 0x$(filesize)"
- "sf erase 0x20000 0x7a0000"
- "sf write 0x81000000 0x20000 0x$(filesize)"
- check carefully for errors, if anything fails, DO NOT power-cycle the board, try to repeat steps and unplugging-replugging the FTDI adapter. If the board looses power now, you will need a CH341 programmer to manually re-flash the SPI flash. - check carefully for errors, if anything fails, DO NOT power-cycle the board, try to repeat steps and unplugging-replugging the FTDI adapter. If the board looses power now, you will need a CH341 programmer to manually re-flash the SPI flash.
- if everything went well, reboot: - if everything went well, reboot:
"reset"
- "reset"
- You should now be greeted by an OpedWrt shell over your serial console. Use it to set your desired password for the root user. - You should now be greeted by an OpedWrt shell over your serial console. Use it to set your desired password for the root user.
- You should now be able to access your LUCI web interface at 192.168.1.1 - You should now be able to access your LUCI web interface at 192.168.1.1


Loading…
Cancel
Save