> Does anyone have some pointers on how to change the
> DHCP settings in OpenSolaris to a static ip address?

duhring at maxwell:~$ su
duhring at maxwell:~# svcadm disable nwam
duhring at maxwell:~# cd /etc
duhring at maxwell:/etc# echo "192.168.0.5 ether 0:1d:60:88:d7:8f" > 
hostname.nge0
  # Note that most NICs will require just 'echo host_name > hostname.nic0
duhring at maxwell:/etc# echo "192.168.0.1" > defaultrouter
duhring at maxwell:/etc# chmod u+w inet/hosts
duhring at maxwell:/etc# echo "192.168.0.5        maxwell.domain.tld  maxwell" 
>> inet/hosts
duhring at maxwell:/etc# vi resolv.conf
duhring at maxwell:/etc# cp nsswitch.dns nsswitch.conf
duhring at maxwell:/etc# svcadm enable network/physical:default
duhring at maxwell:/etc# ping yahoo.com
yahoo.com is alive
duhring at maxwell:/etc#
-- 
This message posted from opensolaris.org

Reply via email to