After update, cannot enable/disable networking
Forum rules
Before you post please read how to get help
Before you post please read how to get help
After update, cannot enable/disable networking
More precisely: after a recent update of network-manager package in Mint 13 MATE, an annoying glitch has appeared on my system, in that I can start the network manager (I have it disabled on boot) and connect to the internet, but after that if I want to disconnect or restart the network manager from the GUI (using the nm applet in the panel) I can't because these options are greyed out.
To make things work again, I have to go to System-->Admnistration-->Network and enter my password to make changes, then things are (apparently) back to normal -but only until the next reboot.
Since I have made modifications to the standard settings, also including disabling dnsmasq, I imagine that the update may have changed some configuration file or maybe some setting that network manager normally expects to find isn't there.
Any ideas on what may be causing this and what to check?
To make things work again, I have to go to System-->Admnistration-->Network and enter my password to make changes, then things are (apparently) back to normal -but only until the next reboot.
Since I have made modifications to the standard settings, also including disabling dnsmasq, I imagine that the update may have changed some configuration file or maybe some setting that network manager normally expects to find isn't there.
Any ideas on what may be causing this and what to check?
- kukamuumuka
- Level 15
- Posts: 5936
- Joined: Tue Sep 03, 2013 4:51 am
- Location: Finland
- Contact:
Re: After update, cannot enable/disable networking
http://forums.linuxmint.com/viewtopic.php?f=42&t=191551
With Mint 13 and Ubuntu 12.04 the newest NetworkManager can cause a situation where you cannot edit or disconnect. The solution is to downgrade NetworkManager.
1. Download network-manager-gnome_0.9.4.1-0ubuntu2_i386.debfor 32-bit system or network-manager-gnome_0.9.4.1-0ubuntu2_amd64.deb for 64-bit system.
2. Downgrade NetworkManager via command line.
.. or
3. Prevent upgrading the package.
With Mint 13 and Ubuntu 12.04 the newest NetworkManager can cause a situation where you cannot edit or disconnect. The solution is to downgrade NetworkManager.
1. Download network-manager-gnome_0.9.4.1-0ubuntu2_i386.debfor 32-bit system or network-manager-gnome_0.9.4.1-0ubuntu2_amd64.deb for 64-bit system.
2. Downgrade NetworkManager via command line.
Code: Select all
cd /path/the-package.deb (eg. network-manager-gnome_0.9.4.1-0ubuntu2_i386.deb)
Code: Select all
sudo dpkg -i network-manager-gnome_0.9.4.1-0ubuntu2_i386.deb ## for 32-bit
Code: Select all
sudo dpkg -i network-manager-gnome_0.9.4.1-0ubuntu2_amd64.deb ## for 64-bit
Code: Select all
sudo apt-mark hold network-manager-gnome
Re: After update, cannot enable/disable networking
Thank you very much, I thought it was an issue on my system only.
Are there any disadvantages (other than having to go through System settings each time,obviously) or maybe security issues in keeping the current package?
Are there any disadvantages (other than having to go through System settings each time,obviously) or maybe security issues in keeping the current package?
- kukamuumuka
- Level 15
- Posts: 5936
- Joined: Tue Sep 03, 2013 4:51 am
- Location: Finland
- Contact:
Re: After update, cannot enable/disable networking
The same bug is infected in Ubuntu 12.04 too, and it has come within new updates. The new NetworkManager works with root privileges, so it a clear bug. Anyway, older version is better than the new one.mark1mint wrote:Thank you very much, I thought it was an issue on my system only.
Are there any disadvantages (other than having to go through System settings each time,obviously) or maybe security issues in keeping the current package?

I think that unnecessary sudoing with network connection does not add any security.
- Pjotr
- Level 21
- Posts: 13856
- Joined: Mon Mar 07, 2011 10:18 am
- Location: The Netherlands (Holland)
- Contact:
Re: After update, cannot enable/disable networking
It's all about risk profile.... I assume that the faulty update was level 4 or even 5. Which means: relatively high risk of breakage by installing the new package, and relatively low risk of security problems by keeping the old package.mark1mint wrote:Are there (.....) security issues in keeping the current package?

Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
- kukamuumuka
- Level 15
- Posts: 5936
- Joined: Tue Sep 03, 2013 4:51 am
- Location: Finland
- Contact:
Re: After update, cannot enable/disable networking
It was not level 4 or 5 package. I think that it is an irritating bug, which prevents you edit or disconnect. If you install that updated NetworkManager, you can edit connections by editing /etc/NetworkManager/system-connections/someconnection file.Pjotr wrote:It's all about risk profile.... I assume that the faulty update was level 4 or even 5. Which means: relatively high risk of breakage by installing the new package, and relatively low risk of security problems by keeping the old package.mark1mint wrote:Are there (.....) security issues in keeping the current package?
Re: After update, cannot enable/disable networking
To be fair, I don't care for level 4 or 5 updates: after breaking my Mint 13 installation a couple of times (and recovering it from backups) I think (or hope?) that I more or less got the hang of what can break it again, so I just upgrade the packages I want from a terminal and eventually put on hold the risky ones.
Network manager caught me by surprise, I can only agree with this
Network manager caught me by surprise, I can only agree with this
and especially thisThe new NetworkManager works with root privileges, so it a clear bug.
thinking of it, that's the exact kind of apparently harmless albeit annoying issues that can sometimes mask huge security holes...I think that unnecessary sudoing with network connection does not add any security.
Re: After update, cannot enable/disable networking
I was going to fix this, but in the process a couple of doubts surfaced:administrollaattori wrote:
With Mint 13 and Ubuntu 12.04 the newest NetworkManager can cause a situation where you cannot edit or disconnect. The solution is to downgrade NetworkManager.
1. Download network-manager-gnome_0.9.4.1-0ubuntu2_i386.debfor 32-bit system or network-manager-gnome_0.9.4.1-0ubuntu2_amd64.deb for 64-bit system.
- I currently have both network-manager 0.9.4.0-0ubuntu4.4.1 and
network-manager-gnome 0.9.4.1-0ubuntu2.5 installed in my system, is that normal?
Code: Select all
dpkg-query -W -f '${STATUS}\t${PACKAGE}\t${VERSION}\n' *network-manager* |sort -k1,1
install ok installed network-manager 0.9.4.0-0ubuntu4.4.1
install ok installed network-manager-gnome 0.9.4.1-0ubuntu2.5
install ok installed network-manager-pptp 0.9.4.0-0ubuntu1
install ok installed network-manager-pptp-gnome 0.9.4.0-0ubuntu1
I'd just like to know that I'm doing this right before causing any other issue.
Re: After update, cannot enable/disable networking
I'll answer myself this time: digging in the /var/cache/apt/archives (I try not to delete anything) I've retrieved an older network-manager-gnome package, so I've re-installed it with dpkg and then put it on hold.