NetworkManager refuses to manage my WLAN interface Announcing the arrival of Valued Associate...

How do I use the new nonlinear finite element in Mathematica 12 for this equation?

Disembodied hand growing fangs

How can I reduce the gap between left and right of cdot with a macro?

A term for a woman complaining about things/begging in a cute/childish way

Should I use a zero-interest credit card for a large one-time purchase?

Do any jurisdictions seriously consider reclassifying social media websites as publishers?

Using audio cues to encourage good posture

What initially awakened the Balrog?

Performance gap between vector<bool> and array

How to write the following sign?

What is the difference between globalisation and imperialism?

What do you call the main part of a joke?

Why is the AVR GCC compiler using a full `CALL` even though I have set the `-mshort-calls` flag?

Most bit efficient text communication method?

How to react to hostile behavior from a senior developer?

Why should I vote and accept answers?

If Windows 7 doesn't support WSL, then what does Linux subsystem option mean?

Question about debouncing - delay of state change

How would a mousetrap for use in space work?

Effects on objects due to a brief relocation of massive amounts of mass

Find 108 by using 3,4,6

Why weren't discrete x86 CPUs ever used in game hardware?

Project Euler #1 in C++

Why do we need to use the builder design pattern when we can do the same thing with setters?



NetworkManager refuses to manage my WLAN interface



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Bridging: Loosing WLAN network connection with 4addr on option - Why?Setting proxy variables automatically for different Network ProfilesNo NetworkManager applet and serviceWifi stop working after while on Ubuntu 14.04.2Error in setting wlan sensitivityWired network - device not managed after upgrade to 17.04Configuring networking with network managerassign static IP to secondary wifi controller Ubuntu Mate 16.04Ubuntu 18 Network Manager Adhoc WifiHave successfully created AP in network-manager, but cannot change the channel





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







7
















I'm using Ubuntu 12.10 with Gnome 3.6 on a brand-new Samsung NP900X4C.



The installer detected the wireless adapter, took in the SSID and WPA passphrase, wrote these into /etc/network/interfaces and connected perfectly.



Once installation was finished I wanted to switch to using NetworkManager to manage the wireless adapter, since this is much more convenient than fiddling with /etc/network/interfaces every time I find a new hotspot.



Therefore I edited /etc/NetworkManager/NetworkManager.conf to set:



[ifupdown]
managed=true


When I rebooted NetworkManager, the problems started:
- The NetworkManager tray applet changed from saying device not managed to device not ready
- I lost all internet connectivity as wlan0 would not associate to the Access Point
- if I set managed=false in NetworkManager.conf and restarted both NetworkManager and networking services from the command-line, the Gnome desktop "semi-crashed" and lost all its Window Decorations, the panel, the launcher and basically became unusable.



However if I restart the computer completely after setting managed=false, wlan0 once again works perfectly.










share|improve this question

























  • In managed=false mode, wlan0 works after reboot because ifup configures it at boot time (if /e/n/i contains auto wlan0). In managed=true mode, ifup doesn't bring interfaces up automatically; but then NetworkManager should do so. I don't know why it said device not ready.

    – jdthood
    Mar 20 '13 at 9:34




















7
















I'm using Ubuntu 12.10 with Gnome 3.6 on a brand-new Samsung NP900X4C.



The installer detected the wireless adapter, took in the SSID and WPA passphrase, wrote these into /etc/network/interfaces and connected perfectly.



Once installation was finished I wanted to switch to using NetworkManager to manage the wireless adapter, since this is much more convenient than fiddling with /etc/network/interfaces every time I find a new hotspot.



Therefore I edited /etc/NetworkManager/NetworkManager.conf to set:



[ifupdown]
managed=true


When I rebooted NetworkManager, the problems started:
- The NetworkManager tray applet changed from saying device not managed to device not ready
- I lost all internet connectivity as wlan0 would not associate to the Access Point
- if I set managed=false in NetworkManager.conf and restarted both NetworkManager and networking services from the command-line, the Gnome desktop "semi-crashed" and lost all its Window Decorations, the panel, the launcher and basically became unusable.



However if I restart the computer completely after setting managed=false, wlan0 once again works perfectly.










share|improve this question

























  • In managed=false mode, wlan0 works after reboot because ifup configures it at boot time (if /e/n/i contains auto wlan0). In managed=true mode, ifup doesn't bring interfaces up automatically; but then NetworkManager should do so. I don't know why it said device not ready.

    – jdthood
    Mar 20 '13 at 9:34
















7












7








7


3







I'm using Ubuntu 12.10 with Gnome 3.6 on a brand-new Samsung NP900X4C.



The installer detected the wireless adapter, took in the SSID and WPA passphrase, wrote these into /etc/network/interfaces and connected perfectly.



Once installation was finished I wanted to switch to using NetworkManager to manage the wireless adapter, since this is much more convenient than fiddling with /etc/network/interfaces every time I find a new hotspot.



Therefore I edited /etc/NetworkManager/NetworkManager.conf to set:



[ifupdown]
managed=true


When I rebooted NetworkManager, the problems started:
- The NetworkManager tray applet changed from saying device not managed to device not ready
- I lost all internet connectivity as wlan0 would not associate to the Access Point
- if I set managed=false in NetworkManager.conf and restarted both NetworkManager and networking services from the command-line, the Gnome desktop "semi-crashed" and lost all its Window Decorations, the panel, the launcher and basically became unusable.



However if I restart the computer completely after setting managed=false, wlan0 once again works perfectly.










share|improve this question

















I'm using Ubuntu 12.10 with Gnome 3.6 on a brand-new Samsung NP900X4C.



The installer detected the wireless adapter, took in the SSID and WPA passphrase, wrote these into /etc/network/interfaces and connected perfectly.



Once installation was finished I wanted to switch to using NetworkManager to manage the wireless adapter, since this is much more convenient than fiddling with /etc/network/interfaces every time I find a new hotspot.



Therefore I edited /etc/NetworkManager/NetworkManager.conf to set:



[ifupdown]
managed=true


When I rebooted NetworkManager, the problems started:
- The NetworkManager tray applet changed from saying device not managed to device not ready
- I lost all internet connectivity as wlan0 would not associate to the Access Point
- if I set managed=false in NetworkManager.conf and restarted both NetworkManager and networking services from the command-line, the Gnome desktop "semi-crashed" and lost all its Window Decorations, the panel, the launcher and basically became unusable.



However if I restart the computer completely after setting managed=false, wlan0 once again works perfectly.







wireless 12.10 network-manager






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 3 '12 at 14:04









Eliah Kagan

83.5k22229369




83.5k22229369










asked Nov 3 '12 at 11:27









user104167user104167

164116




164116













  • In managed=false mode, wlan0 works after reboot because ifup configures it at boot time (if /e/n/i contains auto wlan0). In managed=true mode, ifup doesn't bring interfaces up automatically; but then NetworkManager should do so. I don't know why it said device not ready.

    – jdthood
    Mar 20 '13 at 9:34





















  • In managed=false mode, wlan0 works after reboot because ifup configures it at boot time (if /e/n/i contains auto wlan0). In managed=true mode, ifup doesn't bring interfaces up automatically; but then NetworkManager should do so. I don't know why it said device not ready.

    – jdthood
    Mar 20 '13 at 9:34



















In managed=false mode, wlan0 works after reboot because ifup configures it at boot time (if /e/n/i contains auto wlan0). In managed=true mode, ifup doesn't bring interfaces up automatically; but then NetworkManager should do so. I don't know why it said device not ready.

– jdthood
Mar 20 '13 at 9:34







In managed=false mode, wlan0 works after reboot because ifup configures it at boot time (if /e/n/i contains auto wlan0). In managed=true mode, ifup doesn't bring interfaces up automatically; but then NetworkManager should do so. I don't know why it said device not ready.

– jdthood
Mar 20 '13 at 9:34












2 Answers
2






active

oldest

votes


















6














I ended up fixing this myself, see the exact steps below.



Note that there may be an easier solution but these steps definitely worked.




  1. Make sure network-manager is the latest version (I have 0.9.6.0-0ubuntu7 ).
    You can check this with: sudo dpkg -l | grep network-manager


  2. Right-click on Network Manager tray icon -> Edit Connections -> Wireless -> Add
    Manually add the parameters for connecting to your WLAN.



  3. Edit /etc/NetworkManager/NetworkManager.conf to set...
    [ifupdown]
    managed=true



    DO NOT restart network-manager service.




  4. Edit /etc/network/interfaces to deactivate the auto-start of your Wireless interface (probably called wlan0).

    For example:



    From this: auto wlan0
    .... to this: #auto wlan0



  5. Run /etc/init.d/network-manager force-reload







share|improve this answer





















  • 1





    Interesting. Commenting out auto wlan0 should cause NetworkManager not to consider the interface an "autoconnect" interface. Yet you say that NetworkManager does bring it up automatically. Sounds like a bug.

    – jdthood
    Mar 20 '13 at 9:37











  • Did you by any chance also define the wireless connection using the NM Connection Editor?

    – jdthood
    Mar 20 '13 at 9:43











  • Guy, you are my savior: managed=true was exactly what I was sought for. My NM refuses to manage all a network connections, and I recalled that it was needed to turn it on in some config, but couldn't remember where.

    – Hi-Angel
    Sep 6 '14 at 15:53











  • This doesn't work for me on Ubuntu 14.04. Boot still takes forever with the message "Waiting for network configuration" and afterwards Network Manager and my wifi is still disabled. Nothing works until I manually run nmcli nm wifi on.

    – Cerin
    Jul 25 '15 at 22:12











  • @jdthood I guess it is rather an issue with poor NetworkManager documentation by Debian.

    – Serge Stroobandt
    Oct 8 '17 at 18:03



















2














Uninstall wicd if you intalled it along with network-manager



If both are installed at a time, then there will be a conflict and only one will be able to use the device at a time.






share|improve this answer
























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f211347%2fnetworkmanager-refuses-to-manage-my-wlan-interface%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    6














    I ended up fixing this myself, see the exact steps below.



    Note that there may be an easier solution but these steps definitely worked.




    1. Make sure network-manager is the latest version (I have 0.9.6.0-0ubuntu7 ).
      You can check this with: sudo dpkg -l | grep network-manager


    2. Right-click on Network Manager tray icon -> Edit Connections -> Wireless -> Add
      Manually add the parameters for connecting to your WLAN.



    3. Edit /etc/NetworkManager/NetworkManager.conf to set...
      [ifupdown]
      managed=true



      DO NOT restart network-manager service.




    4. Edit /etc/network/interfaces to deactivate the auto-start of your Wireless interface (probably called wlan0).

      For example:



      From this: auto wlan0
      .... to this: #auto wlan0



    5. Run /etc/init.d/network-manager force-reload







    share|improve this answer





















    • 1





      Interesting. Commenting out auto wlan0 should cause NetworkManager not to consider the interface an "autoconnect" interface. Yet you say that NetworkManager does bring it up automatically. Sounds like a bug.

      – jdthood
      Mar 20 '13 at 9:37











    • Did you by any chance also define the wireless connection using the NM Connection Editor?

      – jdthood
      Mar 20 '13 at 9:43











    • Guy, you are my savior: managed=true was exactly what I was sought for. My NM refuses to manage all a network connections, and I recalled that it was needed to turn it on in some config, but couldn't remember where.

      – Hi-Angel
      Sep 6 '14 at 15:53











    • This doesn't work for me on Ubuntu 14.04. Boot still takes forever with the message "Waiting for network configuration" and afterwards Network Manager and my wifi is still disabled. Nothing works until I manually run nmcli nm wifi on.

      – Cerin
      Jul 25 '15 at 22:12











    • @jdthood I guess it is rather an issue with poor NetworkManager documentation by Debian.

      – Serge Stroobandt
      Oct 8 '17 at 18:03
















    6














    I ended up fixing this myself, see the exact steps below.



    Note that there may be an easier solution but these steps definitely worked.




    1. Make sure network-manager is the latest version (I have 0.9.6.0-0ubuntu7 ).
      You can check this with: sudo dpkg -l | grep network-manager


    2. Right-click on Network Manager tray icon -> Edit Connections -> Wireless -> Add
      Manually add the parameters for connecting to your WLAN.



    3. Edit /etc/NetworkManager/NetworkManager.conf to set...
      [ifupdown]
      managed=true



      DO NOT restart network-manager service.




    4. Edit /etc/network/interfaces to deactivate the auto-start of your Wireless interface (probably called wlan0).

      For example:



      From this: auto wlan0
      .... to this: #auto wlan0



    5. Run /etc/init.d/network-manager force-reload







    share|improve this answer





















    • 1





      Interesting. Commenting out auto wlan0 should cause NetworkManager not to consider the interface an "autoconnect" interface. Yet you say that NetworkManager does bring it up automatically. Sounds like a bug.

      – jdthood
      Mar 20 '13 at 9:37











    • Did you by any chance also define the wireless connection using the NM Connection Editor?

      – jdthood
      Mar 20 '13 at 9:43











    • Guy, you are my savior: managed=true was exactly what I was sought for. My NM refuses to manage all a network connections, and I recalled that it was needed to turn it on in some config, but couldn't remember where.

      – Hi-Angel
      Sep 6 '14 at 15:53











    • This doesn't work for me on Ubuntu 14.04. Boot still takes forever with the message "Waiting for network configuration" and afterwards Network Manager and my wifi is still disabled. Nothing works until I manually run nmcli nm wifi on.

      – Cerin
      Jul 25 '15 at 22:12











    • @jdthood I guess it is rather an issue with poor NetworkManager documentation by Debian.

      – Serge Stroobandt
      Oct 8 '17 at 18:03














    6












    6








    6







    I ended up fixing this myself, see the exact steps below.



    Note that there may be an easier solution but these steps definitely worked.




    1. Make sure network-manager is the latest version (I have 0.9.6.0-0ubuntu7 ).
      You can check this with: sudo dpkg -l | grep network-manager


    2. Right-click on Network Manager tray icon -> Edit Connections -> Wireless -> Add
      Manually add the parameters for connecting to your WLAN.



    3. Edit /etc/NetworkManager/NetworkManager.conf to set...
      [ifupdown]
      managed=true



      DO NOT restart network-manager service.




    4. Edit /etc/network/interfaces to deactivate the auto-start of your Wireless interface (probably called wlan0).

      For example:



      From this: auto wlan0
      .... to this: #auto wlan0



    5. Run /etc/init.d/network-manager force-reload







    share|improve this answer















    I ended up fixing this myself, see the exact steps below.



    Note that there may be an easier solution but these steps definitely worked.




    1. Make sure network-manager is the latest version (I have 0.9.6.0-0ubuntu7 ).
      You can check this with: sudo dpkg -l | grep network-manager


    2. Right-click on Network Manager tray icon -> Edit Connections -> Wireless -> Add
      Manually add the parameters for connecting to your WLAN.



    3. Edit /etc/NetworkManager/NetworkManager.conf to set...
      [ifupdown]
      managed=true



      DO NOT restart network-manager service.




    4. Edit /etc/network/interfaces to deactivate the auto-start of your Wireless interface (probably called wlan0).

      For example:



      From this: auto wlan0
      .... to this: #auto wlan0



    5. Run /etc/init.d/network-manager force-reload








    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited 16 mins ago









    Evan Carroll

    4,912113567




    4,912113567










    answered Nov 9 '12 at 16:51









    user104167user104167

    164116




    164116








    • 1





      Interesting. Commenting out auto wlan0 should cause NetworkManager not to consider the interface an "autoconnect" interface. Yet you say that NetworkManager does bring it up automatically. Sounds like a bug.

      – jdthood
      Mar 20 '13 at 9:37











    • Did you by any chance also define the wireless connection using the NM Connection Editor?

      – jdthood
      Mar 20 '13 at 9:43











    • Guy, you are my savior: managed=true was exactly what I was sought for. My NM refuses to manage all a network connections, and I recalled that it was needed to turn it on in some config, but couldn't remember where.

      – Hi-Angel
      Sep 6 '14 at 15:53











    • This doesn't work for me on Ubuntu 14.04. Boot still takes forever with the message "Waiting for network configuration" and afterwards Network Manager and my wifi is still disabled. Nothing works until I manually run nmcli nm wifi on.

      – Cerin
      Jul 25 '15 at 22:12











    • @jdthood I guess it is rather an issue with poor NetworkManager documentation by Debian.

      – Serge Stroobandt
      Oct 8 '17 at 18:03














    • 1





      Interesting. Commenting out auto wlan0 should cause NetworkManager not to consider the interface an "autoconnect" interface. Yet you say that NetworkManager does bring it up automatically. Sounds like a bug.

      – jdthood
      Mar 20 '13 at 9:37











    • Did you by any chance also define the wireless connection using the NM Connection Editor?

      – jdthood
      Mar 20 '13 at 9:43











    • Guy, you are my savior: managed=true was exactly what I was sought for. My NM refuses to manage all a network connections, and I recalled that it was needed to turn it on in some config, but couldn't remember where.

      – Hi-Angel
      Sep 6 '14 at 15:53











    • This doesn't work for me on Ubuntu 14.04. Boot still takes forever with the message "Waiting for network configuration" and afterwards Network Manager and my wifi is still disabled. Nothing works until I manually run nmcli nm wifi on.

      – Cerin
      Jul 25 '15 at 22:12











    • @jdthood I guess it is rather an issue with poor NetworkManager documentation by Debian.

      – Serge Stroobandt
      Oct 8 '17 at 18:03








    1




    1





    Interesting. Commenting out auto wlan0 should cause NetworkManager not to consider the interface an "autoconnect" interface. Yet you say that NetworkManager does bring it up automatically. Sounds like a bug.

    – jdthood
    Mar 20 '13 at 9:37





    Interesting. Commenting out auto wlan0 should cause NetworkManager not to consider the interface an "autoconnect" interface. Yet you say that NetworkManager does bring it up automatically. Sounds like a bug.

    – jdthood
    Mar 20 '13 at 9:37













    Did you by any chance also define the wireless connection using the NM Connection Editor?

    – jdthood
    Mar 20 '13 at 9:43





    Did you by any chance also define the wireless connection using the NM Connection Editor?

    – jdthood
    Mar 20 '13 at 9:43













    Guy, you are my savior: managed=true was exactly what I was sought for. My NM refuses to manage all a network connections, and I recalled that it was needed to turn it on in some config, but couldn't remember where.

    – Hi-Angel
    Sep 6 '14 at 15:53





    Guy, you are my savior: managed=true was exactly what I was sought for. My NM refuses to manage all a network connections, and I recalled that it was needed to turn it on in some config, but couldn't remember where.

    – Hi-Angel
    Sep 6 '14 at 15:53













    This doesn't work for me on Ubuntu 14.04. Boot still takes forever with the message "Waiting for network configuration" and afterwards Network Manager and my wifi is still disabled. Nothing works until I manually run nmcli nm wifi on.

    – Cerin
    Jul 25 '15 at 22:12





    This doesn't work for me on Ubuntu 14.04. Boot still takes forever with the message "Waiting for network configuration" and afterwards Network Manager and my wifi is still disabled. Nothing works until I manually run nmcli nm wifi on.

    – Cerin
    Jul 25 '15 at 22:12













    @jdthood I guess it is rather an issue with poor NetworkManager documentation by Debian.

    – Serge Stroobandt
    Oct 8 '17 at 18:03





    @jdthood I guess it is rather an issue with poor NetworkManager documentation by Debian.

    – Serge Stroobandt
    Oct 8 '17 at 18:03













    2














    Uninstall wicd if you intalled it along with network-manager



    If both are installed at a time, then there will be a conflict and only one will be able to use the device at a time.






    share|improve this answer




























      2














      Uninstall wicd if you intalled it along with network-manager



      If both are installed at a time, then there will be a conflict and only one will be able to use the device at a time.






      share|improve this answer


























        2












        2








        2







        Uninstall wicd if you intalled it along with network-manager



        If both are installed at a time, then there will be a conflict and only one will be able to use the device at a time.






        share|improve this answer













        Uninstall wicd if you intalled it along with network-manager



        If both are installed at a time, then there will be a conflict and only one will be able to use the device at a time.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Sep 3 '16 at 16:47









        Sanjit Singh ChouhanSanjit Singh Chouhan

        212




        212






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f211347%2fnetworkmanager-refuses-to-manage-my-wlan-interface%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

            Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

            Should I use Docker or LXD?How to cache (more) data on SSD/RAM to avoid spin up?Unable to get Windows File...