Created
September 9, 2011 20:59
-
-
Save micrypt/1207324 to your computer and use it in GitHub Desktop.
Fix silly "Networking Disabled" issue (Ubuntu 10.04)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
su root | |
# Don't you hate when you need to root to fix dumb issues? | |
service network-manager stop | |
rm /var/lib/NetworkManager/NetworkManager.state | |
service network-manager start | |
reboot -h now |
This didn't help rather installing the 'netplan.io' package fixed this issue (Ubuntu 22.04.3 LTS).
How did I get into this scenario?
Well, I tried 'apt auto-remove python3', and all of a sudden my machine rebooted and landed on the tty1 prompt, couldn't start ubuntu-desktop!
How did I get back to ubuntu-desktop?
Ran 'sudo apt install --reinstall ubuntu-desktop' and got back the GUI. But then the ethernet was not working, 'lshw -c network' showed my ethernet interface 'enp43s0' was unmanaged!
sudo apt install netplan.io
sudo apt install network-manager
sudo cat /var/lib/NetworkManager/NetworkManager.state
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
in my case, no need to delete NetworkManager.state
I cannot believe this thing still works in 2024...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
believe me it'll