Re: Issue with Auto eth0



On Fri, Apr 3, 2009 at 12:59, Hooker, Jonathan
<Jonathan Hooker garmin com> wrote:
> Ok. One more question... Is there a reason why I can not just create a file in /etc/NetworkManager/system-connections that has all of the right settings and NM just pick it up? I am having to change certain fields in the config and I just figured I could just use a perl script to replace the whole file...

Sure you can, it's a .ini-like file. I didn't suggest it in the first
place because it's not documented anywhere what the known keys and
value formats are. But if you've already created it once, you see the
keys and value formats and you can change it using any text editor or
script. nm-system-settings daemon monitors the
/etc/NetworkManager/system-connections directory and automatically
adds new connections. It also monitors the file changes there to
automatically update the connection data in NetworkManager as soon the
files change.

Tambet


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