ifconfig nfo0 plumb (do a ifconfig -a to see if it is nfo0 or anything else)
ifconfig nfo0 10.0.0.3 netmasks 255.255.255.0 up (I decided to give it 10.0.0.3)
echo "10.0.0.138" > /etc/defaultrouter (My router IP)
echo "10.0.0.0 255.255.255.0" > /etc/netmasks
dawbckup:/etc# cp nsswitch.conf nsswitch.conf.original
dawbckup:/etc# cp nsswitch.dns nsswitch.conf
Remove the file if present: /etc/dhcp.nfo0
edit /etc/hosts
add 10.0.0.3 dawbckup
vi /etc/defaultrouter
(add '10.0.0.138' on its own line)
vi /etc/hostname.nfo0
(add dawbckup)
everything should be okay when you'll reboot,
=========== reset config =====
In contemporary (Solaris 8/Solaris 9) days, "sys-unconfig" is the correct answer
==============================
step 1 select NIC nfo0
step 2. setup nameservers
edit /etc/resolv.conf
domain qstudio.nl (to get rid of the FQDN message)
nameserver 195.121.1.34 (Use DNS from your Internet Provider)
nameserver 195.121.1.66
step 3.Switch to using the DNS servers...
dawbckup:/etc# cp nsswitch.conf nsswitch.conf.original
dawbckup:/etc# cp nsswitch.dns nsswitch.conf
dawbckup:/etc# svcadm restart svc:/network/dns/client:default
Step 4: Switch to a static IP
gedit /etc/nwam/llp
change the 'nfo0 dhcp' to 'nfo0 static 10.0.0.3/24'
svcadm restart svc:/network/physical:nwam
step5.
edit /etc/hosts
add 10.0.0.3 dawbckup
vi /etc/defaultrouter
(add '10.0.0.138' on its own line)
(Hmmm, I realise I used two ways to edit/change files, one time using vi and started with "echo" Whichever you prefer)
step 6 (I did not need to do step 6, but it was mentioned by a user)
# pfexec svcadm enable svc:/network/physical:default
# pfexec svcadm restart network/routing-setup