Upgrading OpenWRT on Newifi 3 D2

This is the steps that I followed on upgrading my OpenWRT on Newifi 3 D2. First, visit the official (Newifi 3 D2 OpenWRT page to download the latest firmware binary image. The OpenWRT version that is installed on my Newifi 3 D2 is OpenWrt 19.07.5 r11257-5090152ae3, this is displayed on the LuCI admin page of the openWRT. I used my Debian GNU/Linux laptop on upgrading OpenWRT, if you do use Windows then you must download WinSCP or any similar software that provides scp and ssh. To start the upgrade process, open your shell (Terminal) and follow the following steps.

I recommend reading and understanding all the official upgrade steps before proceeding to use mine, it contains all steps than what is written here.
https://openwrt.org/docs/guide-user/installation/generic.sysupgrade

Notice that you need to make a backup of your current OpenWRT configuration (Login to LuCI > System > Backup / Flash Firmware > Generate ), and be sure to list of your installed user packages (easily do this via opkg extras, just read the wiki). The installed packages will be deleted, so you need to reinstall them after upgrading.

Downloading OpenWRT with wget

$ cd Downloads
$ wget -c http://downloads.openwrt.org/releases/19.07.6/targets/ramips/mt7621/openwrt-19.07.6-ramips-mt7621-d-team_newifi-d2-squashfs-sysupgrade.bin

$ ls -l|grep sysupgr
-rw-r--r--  1 user user   4718872 Jan 20 00:34 openwrt-19.07.6-ramips-mt7621-d-team_newifi-d2-squashfs-sysupgrade.bin

Alternatively, you can just download the image using your browser.

Copying the firmware to the OpenWRT

STOP.

Have you read the wiki article for Upgrading OpenWRT Firmware, if not. Read it and then proceed. I will not be held liable if something goes wrong in your upgrade.

This requires that SSH server is enabled on your OpenWRT and secure copy program (scp) installed on your client.

$ scp openwrt-19.07.6-ramips-mt7621-d-team_newifi-d2-squashfs-sysupgrade.bin root@192.168.1.1:/tmp

Enter passphrase for key '/home/user/.ssh/id_rsa': 
openwrt-19.07.6-ramips-mt7621-d-team_newifi-d2-squashfs-sysupgrade.bin                                                     100% 4608KB   2.8MB/s   00:01    

Starting the upgrade process via CLI

We need to login to OpenWRT via SSH and execute the command below:

# sysupgrade -v /tmp/openwrt-19.07.6-ramips-mt7621-d-team_newifi-d2-squashfs-sysupgrade.bin 

To start the upgrade process. The device will restart automatically.

ssh root@192.168.1.1
Enter passphrase for key '/home/user/.ssh/id_rsa': 


BusyBox v1.30.1 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 19.07.5, r11257-5090152ae3
 -----------------------------------------------------

root@OpenWrt:~# sysupgrade -v /tmp/openwrt-19.07.6-ramips-mt7621-d-team_newifi-d2-squashfs-sysupgrade.bin 

Saving config files...
etc/collectd.conf
etc/config/adblock
etc/config/adblock-opkg
etc/config/collectd
etc/config/dhcp
etc/config/dropbear
etc/config/firewall
etc/config/https-dns-proxy
etc/config/https-dns-proxy-opkg
etc/config/luci
etc/config/luci-opkg
etc/config/luci_statistics
etc/config/luci_statistics-opkg
etc/config/mwan3
etc/config/mwan3-opkg
etc/config/network
etc/config/nft-qos
etc/config/rpcd
etc/config/sqm
etc/config/system
etc/config/ucitrack
etc/config/ucitrack-opkg
etc/config/uhttpd
etc/config/unbound
etc/config/wireless
etc/config/wireless.bak.0
etc/config/wireless.bak.2
etc/crontabs/root
etc/dropbear/authorized_keys
etc/dropbear/dropbear_rsa_host_key
etc/group
etc/hosts
etc/inittab
etc/luci-uploads/.placeholder
etc/opkg/keys/XXX
etc/opkg/keys/XXX
etc/opkg/keys/XXX
etc/passwd
etc/profile
etc/rc.local
etc/rsyslog.conf
etc/shadow
etc/shells
etc/sysctl.conf
Commencing upgrade. Closing all shell sessions.
Connection to 192.168.1.1 closed by remote host.
Connection to 192.168.1.1 closed.
~$ 

opkg extras and uci extras

This should be in the prerequisite, installing opkg extras and uci extras to ease up backing up, restoring user installed packages and comparing config changes.

root@OpenWrt:~# opkg update
root@OpenWrt:~# opkg install libustream-mbedtls 
root@OpenWrt:~# opkg install diffutils
root@OpenWrt:~# uclient-fetch -q -O opkg-extras.sh "https://openwrt.org/_export/code/docs/guide-user/additional-software/opkg?codeblock=24"
root@OpenWrt:~# sh opkg-extras.sh
root@OpenWrt:~# uclient-fetch -q -O uci-extras.sh "https://openwrt.org/_export/code/docs/guide-user/base-system/uci?codeblock=36"
root@OpenWrt:~# sh uci-extras.sh
root@OpenWrt:~# opkg allupgrade overlay
root@OpenWrt:~# opkg allupgrade 
root@OpenWrt:~# opkg list-upgradable

The first command will update the package lists, second and third installs the prerequisite to download the opkg extras and use uci extras. The fourth and fifth will upgrade packages and the last command checks for upgradable packages, there should none at the output.

Sample output:

root@OpenWrt:~# opkg update
...
root@OpenWrt:~# opkg install libustream-mbedtls
Installing libustream-mbedtls20150806 (2020-03-13-40b563b1-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/base/libustream-mbedtls20150806_2020-03-13-40b563b1-1_mipsel_24kc.ipk
Installing libmbedtls12 (2.16.9-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/base/libmbedtls12_2.16.9-1_mipsel_24kc.ipk
Configuring libmbedtls12.
Configuring libustream-mbedtls20150806.

root@OpenWrt:~# opkg install diffutils
Installing diffutils (3.7-2) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/packages/diffutils_3.7-2_mipsel_24kc.ipk
Configuring diffutils.

root@OpenWrt:~# uclient-fetch -q -O opkg-extras.sh "https://openwrt.org/_export/code/docs/guide-user/additional-software/opkg?codeblock=24"
root@OpenWrt:~# sh opkg-extras.sh

sh opkg-extras.sh

root@OpenWrt:~# sh opkg-extras.sh
  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 19.07.6, r11278-8055e38794
 -----------------------------------------------------
root@OpenWrt:~# opkg allupgrade overlay
root@OpenWrt:~# opkg allupgrade 
Upgrading luci-mod-status on root from git-21.018.57536-6ba9740-1 to git-21.041.07141-8674e2a-1...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/luci/luci-mod-status_git-21.041.07141-8674e2a-1_mipsel_24kc.ipk
Configuring luci-mod-status.
Upgrading luci-app-firewall on root from git-21.018.57536-6ba9740-1 to git-21.041.07141-8674e2a-1...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/luci/luci-app-firewall_git-21.041.07141-8674e2a-1_all.ipk
Configuring luci-app-firewall.
Upgrading odhcp6c on root from 2019-01-11-e199804b-16 to 2021-01-09-64e1b4e7-16...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/base/odhcp6c_2021-01-09-64e1b4e7-16_mipsel_24kc.ipk
Configuring odhcp6c.
Upgrading luci-proto-ppp on root from git-21.018.57536-6ba9740-1 to git-21.041.07141-8674e2a-1...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/luci/luci-proto-ppp_git-21.041.07141-8674e2a-1_all.ipk
Configuring luci-proto-ppp.
Upgrading luci-mod-admin-full on root from git-21.018.57536-6ba9740-1 to git-21.041.07141-8674e2a-1...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/luci/luci-mod-admin-full_git-21.041.07141-8674e2a-1_all.ipk
Configuring luci-mod-admin-full.
Upgrading luci-base on root from git-21.018.57536-6ba9740-1 to git-21.041.07141-8674e2a-1...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/luci/luci-base_git-21.041.07141-8674e2a-1_mipsel_24kc.ipk
Configuring luci-base.
Collected errors:
 * resolve_conffiles: Existing conffile /etc/config/luci is different from the conffile in the new package. The new conffile will be placed at /etc/config/luci-opkg.
 * resolve_conffiles: Existing conffile /etc/config/ucitrack is different from the conffile in the new package. The new conffile will be placed at /etc/config/ucitrack-opkg.
Upgrading luci-proto-ipv6 on root from git-21.018.57536-6ba9740-1 to git-21.041.07141-8674e2a-1...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/luci/luci-proto-ipv6_git-21.041.07141-8674e2a-1_all.ipk
Configuring luci-proto-ipv6.
Upgrading luci-lib-nixio on root from git-21.018.57536-6ba9740-1 to git-21.041.07141-8674e2a-1...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/luci/luci-lib-nixio_git-21.041.07141-8674e2a-1_mipsel_24kc.ipk
Configuring luci-lib-nixio.
Upgrading luci-lib-jsonc on root from git-21.018.57536-6ba9740-1 to git-21.041.07141-8674e2a-1...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/luci/luci-lib-jsonc_git-21.041.07141-8674e2a-1_mipsel_24kc.ipk
Configuring luci-lib-jsonc.
Upgrading luci on root from git-21.018.57536-6ba9740-1 to git-21.041.07141-8674e2a-1...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/luci/luci_git-21.041.07141-8674e2a-1_all.ipk
Configuring luci.
Upgrading luci-mod-network on root from git-21.018.57536-6ba9740-1 to git-21.041.07141-8674e2a-1...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/luci/luci-mod-network_git-21.041.07141-8674e2a-1_all.ipk
Configuring luci-mod-network.
Upgrading hostapd-common on root from 2019-08-08-ca8c2bd2-4 to 2019-08-08-ca8c2bd2-5...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/base/hostapd-common_2019-08-08-ca8c2bd2-5_mipsel_24kc.ipk
Configuring hostapd-common.
root@OpenWrt:~# opkg remove wpad-basic
Removing package wpad-basic from root...
root@OpenWrt:~# opkg install wpad
Installing wpad (2019-08-08-ca8c2bd2-5) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/base/wpad_2019-08-08-ca8c2bd2-5_mipsel_24kc.ipk
Configuring wpad.
root@OpenWrt:~# opkg list-upgradable

Installing user packages

This part may not be the same for you, since I don’t know which packages that you want to install. I wrote the packages that I have installed prior to upgrading, but this can be easily done using the opkg extras commands in which I didn’t do.

# opkg install luci-app-https-dns-proxy https-dns-proxy luci-app-adblock luci-app-mwan3 luci-app-sqm wpad usbutils pciutils nano iperf3 tcpdump-mini luci-app-statistics collectd collectd-mod-cpu collectd-mod-interface collectd-mod-iwinfo collectd-mod-load collectd-mod-memory collectd-mod-network collectd-mod-uptime collectd-mod-ping collectd-mod-rrdtool collectd-mod-wireless rsyslog 

The packages that I installed are the https-dns-proxy, adblock, multiwan3, SQM, iperf3 server, nano editor, rsyslog and statistics tool of OpenWRT that also enabled me to transmit data to influxdb and view it on Grafana.

Sample output:

Installing https-dns-proxy (2021-01-17-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/packages/https-dns-proxy_2021-01-17-1_mipsel_24kc.ipk
Installing libcares (1.15.0-4) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/packages/libcares_1.15.0-4_mipsel_24kc.ipk
Installing ca-bundle (20200601-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/base/ca-bundle_20200601-1_all.ipk
Installing libcurl4 (7.66.0-3) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/base/libcurl4_7.66.0-3_mipsel_24kc.ipk
Installing libev (4.25-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/packages/libev_4.25-1_mipsel_24kc.ipk
Installing luci-app-adblock (git-21.041.07141-8674e2a-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/luci/luci-app-adblock_git-21.041.07141-8674e2a-1_all.ipk
Installing coreutils (8.30-2) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/packages/coreutils_8.30-2_mipsel_24kc.ipk
Installing coreutils-sort (8.30-2) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/packages/coreutils-sort_8.30-2_mipsel_24kc.ipk
Installing adblock (4.0.7-4) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/packages/adblock_4.0.7-4_all.ipk
Installing luci-app-mwan3 (git-21.041.07141-8674e2a-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/luci/luci-app-mwan3_git-21.041.07141-8674e2a-1_all.ipk
Installing luci-compat (git-21.041.07141-8674e2a-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/luci/luci-compat_git-21.041.07141-8674e2a-1_all.ipk
Installing libmnl0 (1.0.4-2) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/base/libmnl0_1.0.4-2_mipsel_24kc.ipk
Installing ip-tiny (5.0.0-2.1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/base/ip-tiny_5.0.0-2.1_mipsel_24kc.ipk
Installing kmod-nfnetlink (4.14.215-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/targets/ramips/mt7621/kmods/4.14.215-1-2e88863ccdd594fb8e842df3c25842ee/kmod-nfnetlink_4.14.215-1_mipsel_24kc.ipk
Installing kmod-ipt-ipset (4.14.215-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/targets/ramips/mt7621/kmods/4.14.215-1-2e88863ccdd594fb8e842df3c25842ee/kmod-ipt-ipset_4.14.215-1_mipsel_24kc.ipk
Installing libipset13 (7.3-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/base/libipset13_7.3-1_mipsel_24kc.ipk
Installing ipset (7.3-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/base/ipset_7.3-1_mipsel_24kc.ipk
Installing kmod-ipt-conntrack-extra (4.14.215-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/targets/ramips/mt7621/kmods/4.14.215-1-2e88863ccdd594fb8e842df3c25842ee/kmod-ipt-conntrack-extra_4.14.215-1_mipsel_24kc.ipk
Installing kmod-ipt-raw (4.14.215-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/targets/ramips/mt7621/kmods/4.14.215-1-2e88863ccdd594fb8e842df3c25842ee/kmod-ipt-raw_4.14.215-1_mipsel_24kc.ipk
Installing iptables-mod-conntrack-extra (1.8.3-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/targets/ramips/mt7621/packages/iptables-mod-conntrack-extra_1.8.3-1_mipsel_24kc.ipk
Installing kmod-ipt-ipopt (4.14.215-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/targets/ramips/mt7621/kmods/4.14.215-1-2e88863ccdd594fb8e842df3c25842ee/kmod-ipt-ipopt_4.14.215-1_mipsel_24kc.ipk
Installing iptables-mod-ipopt (1.8.3-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/targets/ramips/mt7621/packages/iptables-mod-ipopt_1.8.3-1_mipsel_24kc.ipk
Installing mwan3 (2.8.15-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/packages/mwan3_2.8.15-1_all.ipk
Installing libuci-lua (2019-09-01-415f9e48-4) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/base/libuci-lua_2019-09-01-415f9e48-4_mipsel_24kc.ipk
Installing luci-app-sqm (1.4.0-2) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/packages/luci-app-sqm_1.4.0-2_all.ipk
Installing kmod-sched-core (4.14.215-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/targets/ramips/mt7621/kmods/4.14.215-1-2e88863ccdd594fb8e842df3c25842ee/kmod-sched-core_4.14.215-1_mipsel_24kc.ipk
Installing zlib (1.2.11-3) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/base/zlib_1.2.11-3_mipsel_24kc.ipk
Installing libelf1 (0.177-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/base/libelf1_0.177-1_mipsel_24kc.ipk
Installing libcap (2.27-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/packages/libcap_2.27-1_mipsel_24kc.ipk
Installing tc (5.0.0-2.1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/base/tc_5.0.0-2.1_mipsel_24kc.ipk
Installing kmod-sched-cake (4.14.215+2019-03-12-057c7388-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/targets/ramips/mt7621/kmods/4.14.215-1-2e88863ccdd594fb8e842df3c25842ee/kmod-sched-cake_4.14.215%2b2019-03-12-057c7388-1_mipsel_24kc.ipk
Installing kmod-ifb (4.14.215-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/targets/ramips/mt7621/kmods/4.14.215-1-2e88863ccdd594fb8e842df3c25842ee/kmod-ifb_4.14.215-1_mipsel_24kc.ipk
Installing sqm-scripts (1.4.0-2) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/packages/sqm-scripts_1.4.0-2_all.ipk
Installing wpad (2019-08-08-ca8c2bd2-5) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/base/wpad_2019-08-08-ca8c2bd2-5_mipsel_24kc.ipk
Installing usbutils (007-10) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/base/usbutils_007-10_mipsel_24kc.ipk
Installing librt (1.1.24-2) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/targets/ramips/mt7621/packages/librt_1.1.24-2_mipsel_24kc.ipk
Installing libusb-1.0-0 (1.0.22-2) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/base/libusb-1.0-0_1.0.22-2_mipsel_24kc.ipk
Installing pciutils (3.6.2-3) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/packages/pciutils_3.6.2-3_mipsel_24kc.ipk
Installing libkmod (20-2) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/packages/libkmod_20-2_mipsel_24kc.ipk
Installing libpci (3.6.2-3) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/packages/libpci_3.6.2-3_mipsel_24kc.ipk
Installing nano (5.5-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/packages/nano_5.5-1_mipsel_24kc.ipk
Installing terminfo (6.1-5) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/base/terminfo_6.1-5_mipsel_24kc.ipk
Installing libncurses6 (6.1-5) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/base/libncurses6_6.1-5_mipsel_24kc.ipk
Installing iperf3 (3.7-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/base/iperf3_3.7-1_mipsel_24kc.ipk
Installing tcpdump-mini (4.9.3-2) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/base/tcpdump-mini_4.9.3-2_mipsel_24kc.ipk
Installing libpcap1 (1.9.1-2.1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/base/libpcap1_1.9.1-2.1_mipsel_24kc.ipk
Installing luci-app-statistics (git-21.041.07141-8674e2a-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/luci/luci-app-statistics_git-21.041.07141-8674e2a-1_all.ipk
Installing luci-lib-iptparser (git-21.041.07141-8674e2a-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/luci/luci-lib-iptparser_git-21.041.07141-8674e2a-1_all.ipk
Installing libltdl7 (2.4.6-2) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/base/libltdl7_2.4.6-2_mipsel_24kc.ipk
Installing collectd (5.12.0-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/packages/collectd_5.12.0-1_mipsel_24kc.ipk
Installing librrd1 (1.0.50-3) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/packages/librrd1_1.0.50-3_mipsel_24kc.ipk
Installing rrdtool1 (1.0.50-3) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/packages/rrdtool1_1.0.50-3_mipsel_24kc.ipk
Installing collectd-mod-rrdtool (5.12.0-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/packages/collectd-mod-rrdtool_5.12.0-1_mipsel_24kc.ipk
Installing collectd-mod-iwinfo (5.12.0-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/packages/collectd-mod-iwinfo_5.12.0-1_mipsel_24kc.ipk
Installing collectd-mod-cpu (5.12.0-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/packages/collectd-mod-cpu_5.12.0-1_mipsel_24kc.ipk
Installing collectd-mod-memory (5.12.0-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/packages/collectd-mod-memory_5.12.0-1_mipsel_24kc.ipk
Installing collectd-mod-interface (5.12.0-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/packages/collectd-mod-interface_5.12.0-1_mipsel_24kc.ipk
Installing collectd-mod-load (5.12.0-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/packages/collectd-mod-load_5.12.0-1_mipsel_24kc.ipk
Installing collectd-mod-network (5.12.0-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/packages/collectd-mod-network_5.12.0-1_mipsel_24kc.ipk
Package collectd (5.12.0-1) installed in root is up to date.
Package collectd-mod-cpu (5.12.0-1) installed in root is up to date.
Package collectd-mod-interface (5.12.0-1) installed in root is up to date.
Package collectd-mod-iwinfo (5.12.0-1) installed in root is up to date.
Package collectd-mod-load (5.12.0-1) installed in root is up to date.
Package collectd-mod-memory (5.12.0-1) installed in root is up to date.
Package collectd-mod-network (5.12.0-1) installed in root is up to date.
Installing collectd-mod-uptime (5.12.0-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/packages/collectd-mod-uptime_5.12.0-1_mipsel_24kc.ipk
Installing collectd-mod-ping (5.12.0-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/packages/collectd-mod-ping_5.12.0-1_mipsel_24kc.ipk
Installing liboping (1.10.0-2) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/packages/liboping_1.10.0-2_mipsel_24kc.ipk
Package collectd-mod-rrdtool (5.12.0-1) installed in root is up to date.
Installing collectd-mod-wireless (5.12.0-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/packages/collectd-mod-wireless_5.12.0-1_mipsel_24kc.ipk
Installing rsyslog (8.39.0-2) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/packages/rsyslog_8.39.0-2_mipsel_24kc.ipk
Installing libestr (0.1.11-2) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/packages/libestr_0.1.11-2_mipsel_24kc.ipk
Installing libfastjson (0.99.8-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/packages/libfastjson_0.99.8-1_mipsel_24kc.ipk
Installing libuuid1 (2.34-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.6/packages/mipsel_24kc/base/libuuid1_2.34-1_mipsel_24kc.ipk
Configuring terminfo.
Configuring libuci-lua.
Configuring luci-compat.
Configuring luci-lib-iptparser.
Configuring zlib.
Configuring libltdl7.
Configuring collectd.
Configuring librrd1.
Configuring rrdtool1.
Configuring collectd-mod-rrdtool.
Configuring collectd-mod-iwinfo.
Configuring collectd-mod-cpu.
Configuring collectd-mod-memory.
Configuring collectd-mod-interface.
Configuring collectd-mod-load.
Configuring collectd-mod-network.
Configuring luci-app-statistics.
Configuring libpcap1.
Configuring tcpdump-mini.
Configuring coreutils.
Configuring coreutils-sort.
Configuring ca-bundle.
Configuring adblock.
Configuring luci-app-adblock.
Configuring libmnl0.
Configuring ip-tiny.
Configuring kmod-nfnetlink.
Configuring kmod-ipt-ipset.
Configuring libipset13.
Configuring ipset.
Configuring kmod-ipt-conntrack-extra.
Configuring kmod-ipt-raw.
Configuring iptables-mod-conntrack-extra.
Configuring kmod-ipt-ipopt.
Configuring iptables-mod-ipopt.
Configuring mwan3.
Configuring luci-app-mwan3.
Configuring libpci.
Configuring libncurses6.
Configuring nano.
Configuring liboping.
Configuring collectd-mod-ping.
Configuring libev.
Configuring librt.
Configuring libusb-1.0-0.
Configuring libuuid1.
Configuring libcap.
Configuring libkmod.
Configuring pciutils.
Configuring libestr.
Configuring usbutils.
Configuring libelf1.
Configuring libcares.
Configuring libcurl4.
Configuring https-dns-proxy.
Configuring collectd-mod-wireless.
Configuring kmod-sched-core.
Configuring tc.
Configuring libfastjson.
Configuring kmod-sched-cake.
Configuring kmod-ifb.
Configuring sqm-scripts.
SQM: Starting SQM script: piece_of_cake.qos on wlan0-1, in: 10000 Kbps, out: 10000 Kbps
SQM: Using generic sqm_start_default function.
SQM: piece_of_cake.qos was started on wlan0-1 successfully
SQM: Starting SQM script: piece_of_cake.qos on wlan1, in: 10000 Kbps, out: 10000 Kbps
SQM: Using generic sqm_start_default function.
SQM: piece_of_cake.qos was started on wlan1 successfully
SQM: Starting SQM script: piece_of_cake.qos on wlan0, in: 10000 Kbps, out: 10000 Kbps
SQM: Using generic sqm_start_default function.
SQM: piece_of_cake.qos was started on wlan0 successfully
SQM: Starting SQM script: piece_of_cake.qos on wlan0-2, in: 3000 Kbps, out: 3000 Kbps
SQM: Using generic sqm_start_default function.
SQM: piece_of_cake.qos was started on wlan0-2 successfully
Configuring luci-app-sqm.
Configuring collectd-mod-uptime.
Configuring rsyslog.
Configuring iperf3.

Comparing package configs

TODO

References

https://openwrt.org/docs/guide-user/installation/generic.sysupgrade
https://openwrt.org/docs/guide-user/additional-software/opkg#extras
https://openwrt.org/docs/guide-user/installation/sysupgrade.cli
https://openwrt.org/docs/guide-user/base-system/uci#goals