Modify

Opened 5 years ago

Last modified 5 years ago

#12728 accepted defect

sysupgrade not working with URL

Reported by: anonymous Owned by: jow
Priority: lowest Milestone: Bugs Paradise
Component: base system Version: Trunk
Keywords: Cc:

Description

As I understand it, sysupgrade should be able to upgrade from URL.

root@xx:~# sysupgrade
Usage: /sbin/sysupgrade [options] <image file or URL>

However, when I try to upgrade from console, sysupgrade fails to download given file as network connectivity seems to be lost before the download can start.

root@xx:~# sysupgrade http://downloads.openwrt.org/snapshots/trunk/ar71xx/op
enwrt-ar71xx-generic-tl-wdr4300-v1-squashfs-sysupgrade.bin
Saving config files...
Sending TERM to remaining processes ... ntpd netifd uhttpd odhcp6c dynamic_dns_upd 6relayd miniupnpd dnsmasq syslogd klogd hotplug2 procd ubusd sleep
Sending KILL to remaining processes ... uhttpd
Switching to ramdisk...
Performing system upgrade...
wget: bad address 'downloads.openwrt.org'
wget: bad address 'downloads.openwrt.org'
Unlocking firmware ...

Writing from <stdin> to firmware ...
Upgrade completed
Rebooting system...

As seen, the system will reboot without doing anything.

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by jow

  • Milestone changed from Barrier Breaker (trunk) to Bugs Paradise
  • Owner changed from developers to jow
  • Priority changed from normal to lowest
  • Status changed from new to accepted

Even without the connectivity issue it wouldn't work as the upgrade code currently does not handle checksum verification of combined iamges when streaming from the network.

Add Comment

Modify Ticket

Action
as accepted .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.