Browse Source

updated readme

master
Barb 1 year ago
parent
commit
07fea4e0a9
1 changed files with 8 additions and 8 deletions
  1. +8
    -8
      README.md

+ 8
- 8
README.md View File

@ -14,23 +14,23 @@ 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. - 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
"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