Re: script set static ip



Thanks.

NM stores stuff in both gconf and files.

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)



On Fri, May 27, 2011 at 9:48 AM, Elias <elias linexa de> wrote:
> Hi Carl,
>
> I think the easiest way is to create the corresponding config file.
>
> Here is how to do that:
> http://trac.linexa.de/wiki/development/BootCD-booting#Createastaticnetworkmanagerfileforeth0
>
> I hope this is what you want...
>
> Regards,
> Alex
>
> On 05/27/2011 04:34 PM, Carl Karsten wrote:
>>
>> how do I create additional 'connections' - the thing that gets created
>> by the 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 am expecting to use gconftool-2 but when I looked at gconf-editor I
>> could not find the static IP I created using the GUI.
>>
>
>
> _______________________________________________
> networkmanager-list mailing list
> networkmanager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list
>



-- 
Carl K


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