Attended Sysupgrade x86
{ "url": "https://sysupgrade.openwrt.org", "branch": "SNAPSHOT", "revision": "r28437-84ca1c28f7", "efi": null, "advanced_mode": "0", "request_hash": "", "sha256_unsigned": "", "client": "luci/25.108.47023~852fc23", "packages": { "adguardhome": "0.107.53-r1", "apk-mbedtls": "3.0.0_pre20241130-r2", "base-files": "1649~84ca1c28f7", "busybox": "1.37.0-r4", "ca-bundle": "20240203-r1", "dnsmasq": "2.90-r3", "dropbear": "2024.86-r1", "e2fsprogs": "1.47.0-r2", "firewall4": "2024.12.18~18fc0ead-r1", "fstools": "2024.12.02~49d36ba2-r1", "fwtool": "2019.11.12~8f7fe925-r1", "getrandom": "2024.04.26~85f10530-r1", "grub2": "2.12-r1", "grub2-bios-setup": "2.12-r1", "grub2-efi": "2.12-r1", "iperf3": "3.18-r1", "jansson4": "2.14-r3", "jshn": "2024.03.29~eb9bcb64-r1", "jsonfilter": "2024.01.23~594cfa86-r1", "kernel": "6.6.67~54fd923165b8f40cab22983101edb6f9-r1", "kmod": "32-r1", "kmod-amazon-ena": "6.6.67-r1", "kmod-amd-xgbe": "6.6.67-r1", "kmod-bnx2": "6.6.67-r1", "kmod-bonding": "6.6.67-r1", "kmod-button-hotplug": "6.6.67-r3", "kmod-crypto-acompress": "6.6.67-r1", "kmod-crypto-crc32c": "6.6.67-r1", "kmod-crypto-hash": "6.6.67-r1", "kmod-dwmac-intel": "6.6.67-r1", "kmod-e1000": "6.6.67-r1", "kmod-e1000e": "6.6.67-r1", "kmod-forcedeth": "6.6.67-r1", "kmod-fs-vfat": "6.6.67-r1", "kmod-igb": "6.6.67-r1", "kmod-igc": "6.6.67-r1", "kmod-input-core": "6.6.67-r1", "kmod-ixgbe": "6.6.67-r1", "kmod-lib-crc-ccitt": "6.6.67-r1", "kmod-lib-crc32c": "6.6.67-r1", "kmod-lib-lzo": "6.6.67-r1", "kmod-nf-conntrack": "6.6.67-r1", "kmod-nf-conntrack6": "6.6.67-r1", "kmod-nf-flow": "6.6.67-r1", "kmod-nf-log": "6.6.67-r1", "kmod-nf-log6": "6.6.67-r1", "kmod-nf-nat": "6.6.67-r1", "kmod-nf-reject": "6.6.67-r1", "kmod-nf-reject6": "6.6.67-r1", "kmod-nfnetlink": "6.6.67-r1", "kmod-nft-core": "6.6.67-r1", "kmod-nft-fib": "6.6.67-r1", "kmod-nft-nat": "6.6.67-r1", "kmod-nft-offload": "6.6.67-r1", "kmod-nls-base": "6.6.67-r1", "kmod-nls-cp437": "6.6.67-r1", "kmod-nls-iso8859-1": "6.6.67-r1", "kmod-nls-utf8": "6.6.67-r1", "kmod-ppp": "6.6.67-r1", "kmod-pppoe": "6.6.67-r1", "kmod-pppox": "6.6.67-r1", "kmod-r8169": "6.6.67-r1", "kmod-slhc": "6.6.67-r1", "kmod-tg3": "6.6.67-r1", "libblkid1": "2.40.2-r1", "libblobmsg-json20240329": "2024.03.29~eb9bcb64-r1", "libc": "1.2.5-r4", "libcomerr0": "1.47.0-r2", "libe2p2": "1.47.0-r2", "libext2fs2": "1.47.0-r2", "libf2fs6": "1.16.0-r3", "libgcc1": "13.3.0-r4", "libjson-c5": "0.18-r1", "libjson-script20240329": "2024.03.29~eb9bcb64-r1", "libmbedtls21": "3.6.2-r1", "libmnl0": "1.0.5-r1", "libnftnl11": "1.2.8-r1", "libnl-tiny1": "2023.12.05~965c4bf4-r1", "libpthread": "1.2.5-r4", "librespeed-go": "1.1.5-r4", "librt": "1.2.5-r4", "libsmartcols1": "2.40.2-r1", "libss2": "1.47.0-r2", "libubox20240329": "2024.03.29~eb9bcb64-r1", "libubus20241020": "2024.10.20~252a9b0c-r1", "libuci20130104": "2024.11.26~10f7996e-r1", "libuclient20201210": "2024.10.22~88ae8f20-r1", "libucode20230711": "2024.12.06~209f041f-r1", "libudebug": "2023.12.06~6d3f51f9", "libustream-mbedtls20201210": "2024.07.28~99bd3d2b-r1", "libuuid1": "2.40.2-r1", "logd": "2024.04.26~85f10530-r1", "luci": "24.362.82743~6404f3a", "luci-app-adblock": "24.362.82743~6404f3a", "luci-app-attendedsysupgrade": "25.108.47023~852fc23", "luci-app-sqm": "25.014.55016~7046a1c", "luci-mod-dashboard": "24.362.82743~6404f3a", "luci-ssl": "24.362.82743~6404f3a", "mkf2fs": "1.16.0-r3", "mtd": "26", "netifd": "2024.12.17~ea01ed41-r1", "nftables-json": "1.1.1-r1", "odhcp6c": "2024.09.25~b6ae9ffa-r1", "odhcpd-ipv6only": "2024.05.08~a2988231-r1", "openwrt-keyring": "2024.11.01~fbae29d7-r1", "partx-utils": "2.40.2-r1", "ppp": "2.5.1-r1", "ppp-mod-pppoe": "2.5.1-r1", "procd": "2024.12.22~42d39376-r1", "procd-seccomp": "2024.12.22~42d39376-r1", "procd-ujail": "2024.12.22~42d39376-r1", "tailscale": "1.78.1-r1", "ubox": "2024.04.26~85f10530-r1", "ubus": "2024.10.20~252a9b0c-r1", "ubusd": "2024.10.20~252a9b0c-r1", "uci": "2024.11.26~10f7996e-r1", "uclient-fetch": "2024.10.22~88ae8f20-r1", "ucode": "2024.12.06~209f041f-r1", "ucode-mod-fs": "2024.12.06~209f041f-r1", "ucode-mod-ubus": "2024.12.06~209f041f-r1", "ucode-mod-uci": "2024.12.06~209f041f-r1", "uhttpd": "2023.06.25~34a8a74d-r4", "urandom-seed": "3", "urngd": "2023.11.01~44365eb1-r1", "usign": "2020.05.23~f1f65026-r1", "zlib": "1.3.1-r1" }, "profile": "dell-inc-poweredge-r210-ii", "target": "x86/64", "version": "SNAPSHOT", "diff_packages": true, "filesystem": "ext4" } STDERR: Generate local signing keys... WARNING: can't open config file: /builder/shared-workdir/build/staging_dir/host/etc/ssl/openssl.cnf WARNING: can't open config file: /builder/shared-workdir/build/staging_dir/host/etc/ssl/openssl.cnf read EC key writing EC key WARNING: opening /builder/packages/packages.adb: No such file or directory Package list missing or not up-to-date, generating it.
Building package index... ERROR: unable to select packages: libblobmsg-json20240329 (no such package): required by: world[libblobmsg-json20240329] libjson-script20240329 (no such package): required by: world[libjson-script20240329] libubox20240329 (no such package): required by: world[libubox20240329] libubus20241020 (no such package): required by: world[libubus20241020] libuci20130104 (no such package): required by: world[libuci20130104] make[2]: *** [Makefile:226: package_install] Error 5 make[1]: *** [Makefile:167: _call_manifest] Error 2 make: *** [Makefile:344: manifest] Error 2
That's the well-known issue with apk not handling packages with ABI versioned names properly. The LuCI Attended Sysupgrade app has no mechanism for dealing with that. For a solution using owut, see https://forum.openwrt.org/t/owut-openwrt-upgrade-tool/200035/678
I thought I had an issue with my all the packages that it says don't exist so I made the mistake of trying to remove libblobmsg-json20240329 so that I could install a version that did exist. Well I lost the WebUI altogether so I tried to access via CLI but that was not working either. I tried ssh but my username and password no longer worked. I am rebuilding from scratch right now. I am using a better version that was not a snapshot. I have had this running on a Dell Poweredge 210 II for about a year but have been unable to upgrade the firmware. It was probably fine to leave alone but I messed with it and broke it. I have it reloaded but with a different firmware version. I am just about to switch back over to it. My kids are playing a game so I told them I would wait until they are done. I downloaded 24.10.1 and copied it over to the hard drive using DD command. I chose this version [generic-ext4-combined-efi.img.gz] and made sure I turned on UEFI boot in BIOS. I was able to resize the volume before using the legacy bios and older version but when I try to do it now it breaks something. I was booting into finnix live USB and using the fdisk command to delete the partition and recreate bigger then use the resize2fs command. I am following a procedure that was for a legacy bios version so that was likely the issue. I don't know if the switch from a legacy boot version to one that supports UEFI broke something. I am also not sure there is much to gain there. I am sure I am doing something wrong but I don't think I need the added harddrive size. I have thought about virtualizing this bit with proxmox but trying to pass through the 4 port 2.5GB card may or may not be tricky. It was recognized and working well before. I should have just left it alone but was worried about it becoming vulnerable somehow. I appreciate the guide to upgrade but unfortunately my cowboy ways broke something. That version I was running doesn't seem that old but I am unsure. I try to keep firmware upgraded as much as is possible.
I am using a better version that was not a snapshot.
Good plan, snapshot is still pretty fragile right now as you've found out the hard way. The apk issues are almost resolved, but still there's always that risk. 24.10 is definitely the way to go, since it uses opkg and doesn't suffer from those ABI version naming issues.
Regarding root file system size, the 104 mb default is usually sufficient, unless you're adding a lot of big packages. Although it feels like you're "wasting" all that space, it's really not useful to increase its size unless you have a pressing need as it just adds things you need to mess with on every upgrade. (Once you've got things working, if you find that you do in fact need more space, check out https://openwrt.org/docs/guide-user/installation/sysupgrade.owut#expanding_root_file_system, which works on 24.10 and later.)
I would have thought that an r210 II (2013 vintage?) would have EFI boot by default???
EFI boot can definitely be turned on. I will probably leave it turned on. I was watching a 4 year old Youtube Video that his machine didn't do efi or he was choosing not to do it and I have gotten burned trying to make a minor change and it ends up burning me later. I think I like the idea of efi being on but not sure how much more secure it will make things. I have another question. It is probably not worth trying to load my backup of the configuration since I was built on the Snapshot when I made the backup. I have a pretty specific setup I use the 4 ports of the 2.5G card as the WAN and LAN ports and I had the (2) built in 1 Gig ports built in setup to make a double bandwidth connection to a ProxMOX machine. It took me the better part of a day to figure it out and it was so long ago I don't think I remember exactly how to do it but I can muddle my way through it again. I really don't plan on adding many packages. I had an ad blocker turned on before but I have since stood up a Pi-hole on my Proxmox. Getting all the interface setup like I wanted was a little tricky. I have a TPLINK Mesh that I used as ACCESS Points but did all the DHCP on the openWRT. I started to make the switch a bit earlier and hit a snag but that was my own mess. I couldn't get the openWRT router to pull a new IP from my ISP. I think i did MAC spoofing before. I think if I reboot or cycle the power on my ONT It will give me a new IP IF not I have figured out how to spoof it if need be. I am now waiting for everyone to go to sleep and I will redo my home network. I have 3 kids all trying to game or stream and my wife streaming as well. When I tried to make the switch earlier and I was struggling with the IP I reverted back to running the TPlink in Router mode just to get internet working. I did all this as I upgraded to 2G fiber but the router my ISP provided only had 1 2.5g port and the other was 1g. I have some ethernet running throughout my home so figured I should make as much of the backhaul 2.5g. The Wireless is WiFi 6E but some of my devices can't even use all of it.
It is probably not worth trying to load my backup of the configuration since I was built on the Snapshot when I made the backup
Actually that should be ok to restore, as 24.10 and apk-based snapshots haven't deviated very much (if at all) for configurations, especially on something as vanilla as x86. Now if it was some weird RISC-V with a recent WiFi chip/SoC where someone's doing rapid development, then maybe not, but for our Plain Old PCs, it should be fine.
I had an ad blocker
They almost always store all the transient data in /tmp/, which is RAM, so use hardly any drive space. I run the adblock package, which is only 86k (and a mere 20k when stored in a squashfs partition).
Thank You for all the info it has been really helpful. At about 12:30 AM everyone was asleep but I was now tired and didn't want to make some foolish mistake because I was tired. I have yard work to get done then I plan on making the change back to openWRT as my router. Since I keep my firmware updated and passwords changed on the TPlink Decco stuff ((3) X55 Pro's & (3) XE5300's) I doubt there is anything too nefarious going on. I would like to change these out at some point but I had just spent the money when I saw all the news and reports of these devices being used as BOTs and all manner of such. I know a backdoor could still exist but I need to continue to use them for the time being. It is a shame I can't load openWRT on them. I know it is in the relm of possible but I couldn't find a guide or anyone that had tried it. I have some aging ASUS Routers that I could use but most are even older than Dell 210 II. I think almost all are at least dual band and 1 is tri band. Getting them to all work together is alot messier than the TPLINK Mesh environment.
So I succesfully made the switch back to openWRT Router. I did restore the backup but it caused a few problems that were pretty quickly sorted once I found them. So how my interfaces were numbered changed. This is probably do to how it was originally built. I originally just had the 2 built in 1 gig ethernet ports as a prrof of concept and I then added a 4 port 2.5g ethernet card after the fact. They were Eth2 - Eth5. This was while I was running on the snapshot. My original 2 1 GIG ethernet were Eth0 and Eth1 after reinstalling the 24.10.1 version and the card being in the PC from the start the 2.5G card got eth0 - eth3 and the built in 1 gig ethernet ports got eth4 & Eth5. I could not figure out why I was unable to get an IP address but it was trying on the wrong port. The only other weirdness I encountered in the BOND interface I created on the built in 1G ethernet ports were all messed up now. I also had to install a package something like kmod-bonding or something like that. I had to reboot before I could edit my bond port and it was attached to the wrong 2 interfaces as the numbering and naming had changed. All in all I am happy so far. My TPlink Wireless access point was trying to use the same IP address as the router. I had to unplug it and get my wire part of the network up and working then plug it in and it quickly changed to a different IP address. So far so good. I may do some iperf testing in a bit but seems to be fast and stable. This PC does not have a 2.5G card but I am getting this for a speedtest.