Bug 744363

Summary: NetworkManager does not permit wireless cards to be turned off.
Product: [Fedora] Fedora Reporter: Kurt Driver <kurtdriver>
Component: NetworkManagerAssignee: Dan Williams <dcbw>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 15CC: dcbw, jklimes, samuel-rhbugs
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-07 16:05:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Kurt Driver 2011-10-08 04:05:17 UTC
Description of problem:
Network manager has no way of disabling one of my wireless cards at a time. I put it down with Ifconfig and NetworkManager brings it back up. Annoying as hell when you want to put the card in Promiscuous mode.
I type ifconfig and the pop up window with cancel/connect buttons takes focus, I re-click in gnome-terminal and type wlan2 and the NM window takes focus, type down and, etc.



Release number of selected component (if applicable):
NetworkManager-0.9.1.90-3.git20110927.fc15.x86_64

How reproducible:
Every such attempt over the last several months.

Steps to Reproduce:
1.Start Gnome-3. Runlevel 3 is great.
2.
3.
  
Actual results:
Described above, additionally I yell swear and become quite apoplectic. My neighbours probably suspect me of mental illness.

Expected results:
I ought to be able to turn the damnable thing off.

Additional info: The only thing to turn off in the gnome interface is networking overall.

Comment 1 Jirka Klimes 2011-10-10 13:00:10 UTC
There are several ways how to disable or ignore WiFi or interfaces in NM, depending on what you want:
1. you can disable wireless, which will soft-block Wi-Fi interface via RFKill
  - either right-click on nm-applet and uncheck "Enable Wireless"
  - set Wireless to OFF in GnomeShell indicator
  - nmcli nm wifi off
2. if you want NM don't auto-connect, you have to edit your Wi-Fi connection
   profiles so that they are not marked for auto-connection. Or you can 
   explicitly disconnect the interface and it won't auto-connect until next
   explicit connection will be made.
   You can disconnect using GUI or from command line: nmcli dev disconnect wlan0
3. say NM not to manage particular interface
   - add NM_CONTROLLED=no to your ifcfg-wlan2 (or whatever file you use)
4. disable NM and manage network via legacy 'network' service

I guess, 2. or 3. is what you want.

Comment 2 Kurt Driver 2011-10-11 03:44:40 UTC
Thanks, but disabling  the adapter is not what I have in mind, just using it for a non-NetworkManager process. I have two adapters in the computer, I ought to be able to do different things with them. A workaround is to put the commands in a script, which does work. I guess I'll erase it and use WICD instead.

Comment 3 Samuel Sieb 2012-02-08 18:47:50 UTC
With NetworkManager-0.9.2-1.fc16, if you have more than one wifi adapter, there is the option to either disable all wireless or you can disable individual adapters.  Then you can do whatever you want with the adapter and NM will ignore it.

Comment 4 Fedora End Of Life 2012-08-07 16:06:00 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping