Could you edit your post to include the solution for anyone else with the same issue coming across this post in the future?
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
This is interesting. I updated my laptop and had a network issue as well, but mine was different - it wanted to use dnsmasq, which I don't need (being an end-point, not a server), and dnsmasq wasn't picking up the dns from dhcp.
Solution turned out to be to disable dnsmasq using systemctl and reboot.
Case sensitivity may be the problem. Try
systemctl status NetworkManager
Sorry, corrected it. Results didnt change
Almost certainly this.
Type nmcli, if it does anything but complain that it can't find that command, you have NetworkManager installed
nmcli returns command not found
sudo systemctl status NetworkManager.service returns: unit NetworkManager.service could not be found.
Seems I dont have that one either
Connect a lan cable and:
ip a (shows network interfaces and ips
ip a a 192.168.<subnet>.<unused ip>/24 dev <interface> (get the subnet from your router or phone WiFi settings, interface is the interface starting with "en" from the first command, for unused ip just try your phone IP +1)
ip r a default via <router IP> (router IP can be seen in your phones WiFi settings under gateway)
Also checkout /etc/resolv.conf, replace its content with "nameserver 8.8.8.8"
For reference, those letters are just short for, respectively
address
address add
route add
Thanks for that
Bring up networking manually?
Or just back up your files and reinstall.
That sounds pretty bad and probably means other things are broken too. The easiest option would probably be a reinstall at this point, but if you want to learn something you can also try to salvage your install.
To recover, it's probably easiest to manually configure your Ethernet connection as described by InnerScientist and then re-install the network-manager
package.
First, you can check the status of the network-manager package using dpgk. It should look like this (ii
at the start, but it sounds like it's not installed in your case):
$ dpkg -l | grep -i network-manager
ii network-manager 1.52.1-1 amd64 network management framework (daemon and userspace tools)
ii network-manager-l10n 1.52.1-1 all network management framework (translation files)
You can also check /var/log/apt/history.log
to see what went wrong and if there are other things you need to fix.
I performed the upgrade in two steps apt upgrade --without-new-pkgs
and apt full-upgrade
(based on the release notes). I can see the following on the line Upgrade:
for the command apt full-upgrade
:
network-manager:amd64 (1.42.4-1+deb12u1, 1.52.1-1)
On the Remove:
line you can see the packages that were removed. Unfortunately, the names of many libraries were changed in this release (e.g., libreadline8:amd64
to libreadline8t64:amd64
), so there's a lot of noise in there. Maybe you can look at that line and ignore everything that starts with lib
to see if any other important packages were removed.
but what worked was what IHave69XiBucks proposed.
Why do I not see his comment?
Your Lemmy instance blocks the lemmygrad instance where IHave69XiBucks resides. My instance does too.
Ah, that explains. Thanks.