network-manager setup

Carl Karsten carl at personnelware.com
Fri May 27 15:54:53 UTC 2011


net installer, late_command, wget/run late.sh

So in the installer environment, is there a recommended way to create
additional network connection configs? (the things that gets created
by the NM gui "Edit Connections...", "New")

I would like to create 3:
dhcp (same as default Auto)
static: 10.0.0.1
local IP: link-local only

I created them with the gui and found NM stores the settings in
different places:

/etc/NetworkManager/system-connections$ sudo cat 10.0.0.1

[connection]
id=10.0.0.1
uuid=29fe67ac-cb75-4433-9bee-dd329e614a03
type=802-3-ethernet
autoconnect=false

[ipv4]
method=manual
addresses1=10.0.0.1;8;0.0.0.0;

[802-3-ethernet]
duplex=full
mac-address=0:24:81:b1:d:90

[ipv6]
method=ignore


(veyepar)juser at pc9d:~$ gconftool-2 --dump /system/networking/connections/3/ipv4
<gconfentryfile>
  <entrylist base="/system/networking/connections/3/ipv4">
    <entry>
      <key>addresses</key>
      <value>
        <list type="int">
        </list>
      </value>
    </entry>
    <entry>
      <key>dns</key>
      <value>
        <list type="int">
        </list>
      </value>
    </entry>
    <entry>
      <key>method</key>
      <value>
        <string>link-local</string>
(snip)

Should I be concerned about "3" in
"/system/networking/connections/3/ipv4" - if I use 3 in my late.sh
script, I fear I may step on some other 3 some day.

-- 
Carl K



More information about the Ubuntu-installer mailing list