manually fixing IPs

Bill Nottingham notting at redhat.com
Mon Mar 28 19:15:15 UTC 2011


Jon Masters (jonathan at jonmasters.org) said: 
> Right. This is exactly what I do on non-laptops. But I find NM useful
> for WiFi sometimes so I keep it installed...but now it seems it's
> becoming very difficult to just temporarily configure an interface that
> won't be touched when I plug/unplug a cable or whatnot.
> 
> Really, there should be a better way that turning off every network
> service and script for the 5 minutes I want this. I have other machines,
> etc. and this is rawhide, but it's also the future.

It depends on what you want to do.

If you want NM to never touch your wired device, add:

NM_CONTROLLED="no"

to its config file.

If you want that device to just have a static IP, edit the config
file appropriately, and NM will handle that.

If you want to disable NM entirely, 'systemctl disable
NetworkManager.service'. 

Bill


More information about the devel mailing list