>   Hugh,
> hanks. But some how this didn't work. I did try this
> before itself.
> 
> The NWAM applet shows some error and then switches to
> Automatic and DHCP :(

Hugh's answer was correct for NWAM phase 0 and 0.5  But NWAM
phase 1 integrated into build 135, so things are a little different
now (though you shouldn't see errors; if that continues please
follow up on nwam-discuss).

NWAM configuration is now stored in profiles.  Link and interface
configuration is in the Network Configuration Profile (NCP).  The
Automatic NCP is created by the system and uses DHCP.  If you'd
like a static configuration, you can create an alternate NCP.  From
the GUI, choose 'Network Profile' on the "Show:" menu at the top.
You can the select or create a different profile, and can choose dhcp
and/or static IP addressing for each interface.

You can independently choose whether or not you want to use dhcp
to configure dns and/or nis.  More general network configuration for
things like name services and security is part of the Location profile.
You get to those via the "Locations..." button on the "Connection
Status" page in the GUI.

There's a lot more information about NWAM phase 1 on our project
page:
http://hub.opensolaris.org/bin/view/Project+nwam/WebHome

Also, the nwam-discuss mailing list is a good place to ask questions.

-renee


> 
> -Siva
> 
> 
> On 07/26/10 01:11 PM, Hugh McIntyre wrote:
> > Sivakumar Shanmugasundaram wrote:
> >>
> >>
> >> Hello All!
> >>
> >> This is for my desktop. I want to change default
> behaviour of DHCP to
> >> static IP.
> >>
> >> I am aware of the steps by using the
> physical:default instead of NWAM.
> >>
> >> But, is there a way to set the hostname and static
> IP using NWAM?
> >
> > Yes, see below.
> >
> >> I am running the latest internal build. The
> configuration dialogs are
> >> different from what I was using before.
> >>
> >> So, what is the 'official' way of doing it? Thanks
> >
> > I'm not sure if this is the official way or not,
> but what I did was:
> >
> > 1.  Leave svc:/network/physical:nwam enabled.  You
> don't need to and 
> > should not switch to svc:/network/physical:default.
> >
> > 2.  Edit /etc/nwam/llp, replacing the "atge0 dhcp"
> line with something 
> > like the following (replace "atge0" with your
> network interface name):
> >
> >     atge0 static 1.2.3.4
> >
> > 3.  Then:
> >
> >       # svcadm restart nwam
> >       # route add -p 1.2.3.1    # default route IP
> address
> >
> > 4.  Then configure DNS, etc.  You may also want to
> add the IP/hostname 
> > to /etc/inet/hosts and /etc/inet/ipnodes -- I have
> this configured 
> > (and it's recommended) but I also have the local
> host in DNS via a 
> > local DNS server.
> >
> > Hugh.
> >
> >
> > _______________________________________________
> > opensolaris-discuss mailing list
> > [email protected]
> _______________________________________________
> opensolaris-discuss mailing list
> [email protected]
>
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to