0

how do I install command sysupgrade ?

I need this command for to work with openWRT, and want to flash a router made by TP-Link (Model WR710N).

Thank you. Here is a Link, which shows, why I need command sysupgrade.

https://tlwr710nprojects.wordpress.com/2015/06/07/installation-von-openwrt-auf-dem-tl-wr710n/

closed as off-topic by Bruni, dessert, Terrance, user68186, Eric Carvalho May 31 '18 at 16:32

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – Bruni, dessert, Terrance, user68186, Eric Carvalho
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Do you wan to install sysupgrade on your Ubuntu system? It should be run directly on the router. – Arkadiusz Drabczyk May 31 '18 at 13:18
  • 1
    @ArkadiuszDrabczyk - I cannot directly run it on the router. Router is bricked and needs to be flashed new with *factory.bin - This means I would need sysupgrade in ubuntu. – dschinn1001 May 31 '18 at 13:34
  • In this case you have to find a way to debrick your router, it's usually done with tftp, see here wiki.openwrt.org/doc/howto/generic.debrick – Arkadiusz Drabczyk May 31 '18 at 13:37
  • @EricCarvalho - Sorry, I realized later that sysupgrade is a specific command of openWRT. I was thinking it would be a general linux command to be installed manually. – dschinn1001 Jun 1 '18 at 0:02
3

You are supposed to run sysupgrade on your router. You need to ssh to it first and then run sysupgrade.

Example:

user@your-pc:~$ ssh root@router
root@router:~# sysupgrade –v openwrt-ar71xx-generic-tl-wr710n-v1-squashfs-sysupgrade.bin

I added the shell prompt to the commands to show on which system they are executed. So, first, on your computer, you open a ssh connection to your router. In the example command the router is available as router, you probably need to use your routers IP address or DNS name. After loging in to the router, you can type in the command from the tutorial.

The program sysupgrade should already be available on your OpenWrt device (it is on mine).

  • Would this work, when router is bricked ? Router belongs to a friend who tried already openWRT to flash on it. But he had choosen wrong package. By this only USB is working but not LAN and not WLAN. This would mean then that ssh is blocked. – dschinn1001 May 31 '18 at 13:37
  • 1
    Ok, in that case you are in a whole different kind of trouble. You need to find specific unbrick instructions for this device. This might or might not help: wiki.openwrt.org/toh/tp-link/tl-wr710n#unbrick_tl-wr710n – Lienhart Woitok May 31 '18 at 13:43

Not the answer you're looking for? Browse other questions tagged or ask your own question.