Wednesday, May 8, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 8164  / 3 Years ago, fri, may 14, 2021, 9:57:52

I upgraded a Ubuntu system from 11.04 to 11.10 via do-release-uprade.



Now some things does not work as before.



For example now, my user needs to be part of the scanner group to be able to use xsane etc. - with < 11.10 this apparently was not necessary.



To be able to use nm-applet again (for wired networking) I needed to add the user to the group netdev after the upgrade.



But WLAN management still does not work via NetworkManager - nm-applet just does not display any wireless devices.



In the logs there is:



NetworkManager wlan0 deactivating device reason managed


(inter-punctuation removed)



But why it is suddenly managed?



I checked /etc/network/interfaces and it does not contain any wlan0 entries.



And /etc/NetworkManager/NetworkManager.conf just contains:



[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=true


Is there some other group the user needs to be part of? Or what else could be messed up after an upgrade?



Manually connecting to a WLAN-AP via wpasupplicant and dhclient (after stopping NetworkManager) works perfectly fine.



Edit: Btw, this Ubuntu system is a little bit non-standard:




  • wdm is configured as display manger instead of lightdm

  • as window manager I use awesomewm


More From » wireless

 Answers
5

Please backup before you use the commands below, I don't know if you will have internet afterwards.



Connect using ethernet cable.




  1. Download the packages so you have a way to reinstall them even without internet:



    cd
    apt-get download network-manager-gnome network-manager

  2. Then I'd suggest to purge your network manager configuration:



    sudo apt-get purge network-manager-gnome network-manager
    sudo rm -rf /etc/NetworkManager
    sudo rm -rf /usr/lib/NetworkManager
    sudo rm -rf /var/lib/NetworkManager

  3. And reinstall network manager:



    sudo apt-get install network-manager-gnome network-manager


    If you don't have internet anymore try installing the local packages we downloaded with the first command:



    cd
    sudo dpkg -i network-manager*.deb

  4. Restart the computer.




If the above commands did not fix the internet, we need more info:




  1. Run these commands and provide the output (edit your question):



    sudo apt-get dist-upgrade
    cat /etc/network/interfaces
    iwconfig
    ifconfig
    lspci -nn
    lsusb
    nm-tool
    sudo lshw -C network
    rfkill list all

  2. Check that you have all the dependencies installed correctly, reinstall the ubuntu meta-packages:



    sudo dpkg -P --force-all ubuntu-desktop ubuntu-standard ubuntu-minimal
    sudo apt-get install ubuntu-desktop ubuntu-standard ubuntu-minimal

  3. You never mentioned which Ubuntu version you used before you upgraded to 11.10.




Note: By the way, AFAIK the do-release-uprade command should be used when upgrading server installations, not desktop. You should prefer downloading the alternate cd of the through update-manager.


[#41255] Friday, May 14, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
fulild

Total Points: 239
Total Questions: 103
Total Answers: 112

Location: Papua New Guinea
Member since Thu, Jul 9, 2020
4 Years ago
fulild questions
Sat, Dec 11, 21, 20:10, 2 Years ago
Thu, Jun 17, 21, 12:05, 3 Years ago
Sat, Nov 19, 22, 16:28, 2 Years ago
Sat, Feb 25, 23, 22:59, 1 Year ago
Wed, Oct 12, 22, 04:04, 2 Years ago
;