Difference between revisions of "User:Paul/sandbox/OpenWrt"
(Created page with "== Updating == [https://openwrt.org/docs/guide-user/installation/generic.sysupgrade Upgrading OpenWrt firmware using LuCI and CLI] === First time updating === ==== Opkg ext...") |
(No difference)
|
Latest revision as of 21:16, 21 July 2021
Updating
Upgrading OpenWrt firmware using LuCI and CLI
First time updating
Opkg extras
opkg update opkg install libustream-mbedtls uclient-fetch -O opkg-extras.sh "https://openwrt.org/_export/code/docs/guide-user/advanced/opkg_extras?codeblock=0" . ./opkg-extras.sh
Hotplug extras
uclient-fetch -O hotplug-extras.sh "https://openwrt.org/_export/code/docs/guide-user/advanced/hotplug_extras?codeblock=0" . ./hotplug-extras.sh
UCI extras
uclient-fetch -O uci-extras.sh "https://openwrt.org/_export/code/docs/guide-user/advanced/uci_extras?codeblock=0" . ./uci-extras.sh
Update
opkg save
In Lucl, navigate to System > Backup / Flash Firmware and select Generate archive and save the file to a local directory.
Select Flash image and be sure to verify the sha256 sum matches the one on the download page for the firmware.
Unselect Keep settings and install the firmware.
After rebooting, the device will be available at the default IP address login which is usually http://192.168.1.1. There is no password and the user is root.
Navigate to System > Backup / Flash Firmware and select Upload archive and select the file downloaded previously. It may be necessary to select the Rebooting... button to force the device to reboot.
Reboot may take some time and may happen more than once, after which the device should be restored to the same configuration and settings as prior to the update.