3 ms·
"Gateways Rich networking and comms make Ubuntu the perfect choice for your industrial gateways." "Raspberry Pi 2, 3 and 4 For fun, for education and for profi
by tssva 4y ago
"Gateways
Rich networking and comms make Ubuntu the perfect choice for your industrial gateways."
"Raspberry Pi 2, 3 and 4
For fun, for education and for profit, the RPi makes device development personal and entertaining. With support for both the Pi2, Pi3 and the new Pi4, Ubuntu Core supports the world’s most beloved board."
I find this amusing as Canonical has managed to screw up vlans, which I would argue are a basic networking feature but certainly would be one expected of a gateway with rich networking features, on RPi's using Ubuntu 22.04.
In 22.04 on the RPI they decided to move some kernel modules from the standard linux-modules package to a linux-modules-extra package to reduce initrd image size. Among these is the 80211q module needed for vlans. The result is that if you upgrade an existing Ubuntu installation that uses vlans you will lose connectivity to your system because systemd-networkd, the default network setup system for Ubuntu server and Core, does not assign an IP address to an interface when vlans are configured on the interface and vlan creation fails. Should networkd fail in this manner I'm not sure but these types of interactions are what I expect a distribution creator to test and handle. I certainly expect a distribution to test the possible effects of removing kernel modules to an optional package which were previously in a package installed by default.
In my case it was a pain but I had local access to the device and it was a home lab device so it wasn't a disaster. I was able to transfer the linux-modules-extras package to the sdcard and install it from there. However subsequently I did an `apt update` and `apt upgrade` which resulted in the kernel package being upgraded but the linux-modules-extras package not being. This again left me without network connectivity. I recovered again and pinned the packages to avoid future issues.
My advice is if you need a gateway with rich networking features and want to use a RPi for now look elsewhere. Canonical doesn't seem to perform the level of testing I would expect of an offering in this space.