Results 1 to 6 of 6

Thread: wireless card says either "unmanaged" or "disabled"

  1. #1
    Join Date
    Aug 2008
    Beans
    88
    Distro
    Ubuntu

    Cool wireless card says either "unmanaged" or "disabled"

    my wireless card on kubuntu works perfectly, until a few weeks later when it for some reason randomly stops working with seemingly no cause. saying either the network manager is "unmanaged" or the wireless card is "disabled", i edited the configuration file in /etc/NetworkManager/ and set the value from false to true, however that didn't work, and reinstalling for the third time is just dodging the issue.

    I'm running on an hp pavilion dv7-3085dx

    and an Intel WiFi Link 5100AGN card.
    ~tak
    http://www.taksmind.org/
    irc.esper.net - tak
    irc.freenode.com - tak11

  2. #2
    Join Date
    Aug 2008
    Beans
    88
    Distro
    Ubuntu

    Re: wireless card says either "unmanaged" or "disabled"

    bump, please >.< I'm sick of using windows, but ubuntu is unusable with this bug, and I need the help of someone wiser than myself =(
    ~tak
    http://www.taksmind.org/
    irc.esper.net - tak
    irc.freenode.com - tak11

  3. #3
    Join Date
    Oct 2007
    Location
    Japan
    Beans
    40
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: wireless card says either "unmanaged" or "disabled"


  4. #4
    Join Date
    May 2010
    Beans
    7

    Re: wireless card says either "unmanaged" or "disabled"

    Try checking these, should be set as:

    /etc/NetworkManager/nm-system-settings.conf

    [main]
    plugins=ifupdown,keyfile

    [ifupdown]
    managed=true

    -------
    and

    /var/lib/NetworkManager/NetworkManager.state

    [main]
    NetworkingEnabled=true
    WirelessEnabled=true
    WWANEnabled=true

  5. #5
    Join Date
    Aug 2008
    Beans
    88
    Distro
    Ubuntu

    Re: wireless card says either "unmanaged" or "disabled"

    Quote Originally Posted by chaosgrimm View Post
    Try checking these, should be set as:
    c

    [main]
    plugins=ifupdown,keyfile

    [ifupdown]
    managed=true

    -------
    and

    /var/lib/NetworkManager/NetworkManager.state

    [main]
    NetworkingEnabled=true
    WirelessEnabled=true
    WWANEnabled=true


    sorry for the late response, I reinstalled for like the 8th time, then the bug came back up. thank you SOOO much, i checked
    /etc/NetworkManager/nm-system-settings.conf before, however not the other file, the combination of the two solved the problem. I'll write a script to check / repair this on startup so it doesn't happen again, and for people who also have this issue.
    ~tak
    http://www.taksmind.org/
    irc.esper.net - tak
    irc.freenode.com - tak11

  6. #6
    Join Date
    Aug 2008
    Beans
    88
    Distro
    Ubuntu

    Re: wireless card says either "unmanaged" or "disabled"

    Wrote the script
    can be found at:

    http://pastebin.com/raxb300P

    Code:
    #!/bin/bash
    #repair interwebs.
    #by: tak 6/2/2010
    
    #Repairs occasional networking bug in kubuntu.
    
    ROOT_UID=0  
    
    echo "Checking for root..."
    
    if [ "$UID" -eq "$ROOT_UID" ]  
    then
      echo "You are root. moving on"
    else
      echo "Run as root."
      exit 1
    fi
    
    if [ -n `cat /etc/NetworkManager/nm-system-settings.conf | grep false` ]
    then
      echo "Problem found.."
      sed 's/false/true/g' /etc/NetworkManager/nm-system-settings.conf > /etc/NetworkManager/nm-system-settings.temp
      rm /etc/NetworkManager/nm-system-settings.conf
      mv /etc/NetworkManager/nm-system-settings.temp /etc/NetworkManager/nm-system-settings.conf
      echo "Problem repaired."
    fi
    
    if [ -z `cat /etc/NetworkManager/nm-system-settings.conf | grep ifupdown,keyfile` ]
    then
      echo "Problem found.."
      sed 's/plugins=.*$/plugins=ifupdown,keyfile/g' /etc/NetworkManager/nm-system-settings.conf > /etc/NetworkManager/nm-system-settings.temp
      rm /etc/NetworkManager/nm-system-settings.conf
      mv /etc/NetworkManager/nm-system-settings.temp /etc/NetworkManager/nm-system-settings.conf
      echo "Problem repaired."
    fi
    
    if [ -n `cat /var/lib/NetworkManager/NetworkManager.state | grep false` ]
    then
      echo "Problem found.."
      sed 's/false/true/g' /var/lib/NetworkManager/NetworkManager.state > /var/lib/NetworkManager/NetworkManager.temp
      rm /var/lib/NetworkManager/NetworkManager.state
      mv /var/lib/NetworkManager/NetworkManager.temp /var/lib/NetworkManager/NetworkManager.state
      echo "Problem repaired."
    fi
    
    exit 0
    Last edited by Tak11; June 3rd, 2010 at 05:23 AM. Reason: Bug in the code
    ~tak
    http://www.taksmind.org/
    irc.esper.net - tak
    irc.freenode.com - tak11

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •