On Mon, Apr 28, 2008 at 2:34 PM, Frank-Stefan Meyer <fmeyer at gmxpro.de> wrote:
> In Belenix 0.7 I tried to switch from DHCP to static IP - without
>  success. I did all the steps (that are normal for Solaris) described in
>  the FAQ (No. 22), but all this had no effect. After reboot, it's DHCP again.
>
>  Also the "svcadm disable network/inetmenu" command (see FAQ) does not
>  work, as inetmenu obviously doesn't exist on the system.
>
>  The normal way in Solaris to activate DHCP for an interface is, to
>  create an empty file /etc/dhcp.<interface>, which in my case would be
>  /etc/dhcp.e1000g0. Of course, I didn't create it, so this file doesn't
>  exist in my /etc. My /etc/nodename, /etc/hosts, /etc/hostname.e1000g0,
>  /etc/defaultrouter, /etc/resolv.conf and /etc/nsswitch.conf are as they
>  should be for static IP. But the system ignores all: the interface
>  remains under DHCP control...
>
>  So where is the setting to turn off the DHCP client? I didn't find a way
>  to prevent "dhcpadm" to start :(

   The FAQ needs a bunch of changes. In 0.7 you have to disable NWAM:
   svcadm disable network/physical:nwam

   and enable default networking for static IP to work:
   svcadm enable network/physical:default

   It is NWAM that brings up DHCP. Inetmenu is no longer bundled.

Regards,
Moinak.

>
>  Any idea?
>
>  Thanks,
>  Frank
>  _______________________________________________
>  belenix-discuss mailing list
>  http://mail.opensolaris.org/mailman/listinfo/belenix-discuss
>  http://groups.google.com/group/belenix-discuss
>

Reply via email to