Thierry de Coulon composed on 2021-08-16 21:01 (UTC+0200):
Other story here: total disaster. No error while
upgrading, but then no DM
(dpkg-reconfigure returns "broken or partially installed" for everything) and
no network access either (apparently, the upgrade killed/removed WICD and
setup nothing...).
I'll probably have to do as usual, clean install
and complete setup - this
will have to wait.
I've been converting my Tumbleweed and 15.3 installations, all of which use static
IP wired ethernet, over to using systemd-networkd in recent months. After reading
this, I decided to try the same on a freshly upgraded Bullseye. What I did:
1-# systemctl list-unit-files | grep net
to ensure
systemd-networkd.service
systemd-network-generator.service
systemd-networkd-wait-online.service
systemd-networkd.socket
existed.
2-deleted /etc/network/interfaces
3-deleted /etc/udev/rules.d/70-persistent-net.rules
4-ensured a valid regular file /etc/resolv.conf existed
5-created /etc/systemd/network/eth0.network
containing (IPs changed to # for security):
[Match]
Name=eth0
[Network]
Address=###.###.###.###/24
DNS=###.###.###.### 1.1.1.1 1.0.0.1
Gateway=###.###.###.###
IPv6AcceptRA=no
LinkLocalAddressing=no
6-verified systemd-resolved.service was disabled
7-rebooted to find network working normally.
I have no idea where routing information is configured or coming from in this
configuration.
--
Evolution as taught in public schools is, like religion,
based on faith, not based on science.
Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
Felix Miata