Re: traditional static ip with nm



On Fri, 2009-12-04 at 13:33 -0800, David Griffith wrote:
> I have machines that must be set up with static IP addresses the 
> traditional way, that is, edit /etc/resolv.conf and 
> /etc/network/interfaces.  Recently I've been wondering if it's possible to 
> run Network Manager such that it's not possible to mess with those files. 
> Why?  Soon I plan to make much more use of VPNs and I would like to use 
> Network Manager to handle that.

See more details about "system settings" here:

http://live.gnome.org/NetworkManager/SystemSettings

Basically, you can use the ifupdown plugin to translate the settings
from /etc/network/interfaces into configuration that NM uses.  That
should already be set up for you if you are getting your NM through your
distro.  Otherwise, you can
use /etc/NetworkManager/nm-system-settings.conf to specify the ifupdown
plugin.  ifupdown has only limited support for configuration though, and
the 'keyfile' plugin provides support for all connection types NM
supports.

NM natively supports static IP addresses; so you can either configure
them via /etc/network/interfaces as you normally would, or you can use
nm-connection-editor along with the 'keyfile' plugin to set up a
system-wide configuration for your  machines without touching /e/n/i.

Dan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]