Bug 680521

Summary: cannot manually configure the wireless network device
Product: [Fedora] Fedora Reporter: Thomas Meyer <thomas.mey>
Component: systemdAssignee: Lennart Poettering <lpoetter>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: lpoetter, metherid, mschmidt, notting, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-04 18:47:53 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 Thomas Meyer 2011-02-25 19:35:48 UTC
Description of problem:
Before Fedora 15 I could do this on the command line (no GDM or X server started)

1.) stop the NetworkManger service
2.) iwconfig the wireless device
3.) dhclient wlan0

This way I got a running network device on a non X server environment.

This doesn't work anymore in Fedora 15. When I do:

1.) systemctl stop NetworkManager.service
2.) iwconfig the wireless device
3.) dhclient wlan0

the dhclient call seems somehow start the NetworkManager. The NetworkManger takes over the wlan0 and my manual configuration is gone.

I needed to remove the NetworkManger.service file from /lib/systemd/system, to get a working network.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Lennart Poettering 2011-02-28 19:58:29 UTC
This is mostly like fixed by recent changes to NM which make sure that nmctl does not trigger a NM startup, when it is called from the network scripts.


BTW, if you want to completely disable a service, you can "mask" it by symlinking /dev/null to it in /etc. Example: "ln -sf /dev/null /etc/systemd/system/NetworkManager.service".

Comment 2 Lennart Poettering 2011-04-04 18:47:53 UTC
I presume this is fixed in current F15. If not, reopen!