Thank you, Mike.

I did know such an intent of static. I understood how to use my own profile 
settings for inetmenu.

I created /etc/inetmenu/mynet.

IPADDR=192.168.aa.bb
NETMASK=255.255.255.0
DNS_SERVERS=192.168.cc.dd
DEFAULTROUTER=192.168.aa.1

And I found "mynet" is listed in inetmenu. Thanks again.


> Hi Nakaji,
> 
> That's the intent of static, it only asks you about
> the IP address and 
> subnet mask.
> 
> If you want to plumb up a static IP address with DNS
> and default route, 
> then you should create a new profile in /etc/inetmenu
> using the file 
> called SAMPLE as a template and calling it what you
> want e.g. "home". 
> This will then appear as a choice in the menu.
> 
> Mike
> 
> NAKAJI Hiroyuki wrote:
> > When using static network setting, inetmenu sets
> only IP address and subnet mask. I think default
> route and DNS server must be set, too. In addition,
> /etc/{nsswitch,resolv}.conf should be set with proper
> value.
> > 
> > I had to type these commands:
> > 
> > # route add default 192.168.xx.yy
> > # vi /etc/nsswitch.conf
> > (add "dns" on hosts line)
> > # cat >>/etc/resolv.conf <<EOF
> > nameserver 192.168.aa.bb
> > EOF
> >  
> >  
> > This message posted from opensolaris.org
> > _______________________________________________
> > laptop-discuss mailing list
> > laptop-discuss at opensolaris.org
> _______________________________________________
> laptop-discuss mailing list
> laptop-discuss at opensolaris.org
>
 
 
This message posted from opensolaris.org

Reply via email to