SunOS truth 5.11 snv_94 i86pc i386 i86xpv
After getting the NIC driver installed, NWAM was working correctly. However, I
want to set a static IP. So, I did the following
Created /etc/hostname.nfo0 with the following contents:
truth
10.0.0.17 netmask 255.255.255.0
Created /etc/inet/hosts file with the following content:
127.0.0.1 localhost localhost.localdomain
10.0.0.17 truth loghost
Disabled dwam and enabled physical according to instructions in nwamd man page.
During boot, I receive the following error:
svc.startd "svc:/network/physical:default" Method
"/lib/svc/method/net-physical" failed with exit status: 96.
NOTE: The error may not be in the exact format since this comes up on the
console and I don't know how to access the information once the display manager
starts up.
I investigated this further by looking at the process in the net-physical
script. It appears that because the hostname.nfo0 exists, the script does not
bring up the interface.
Excerpt from script:
# In order to avoid bringing up the interfaces that have
# intentionally been left down, perform RARP only if the system
# has no configured hostname in /etc/nodename
hostname="`shcat /etc/nodename 2>/dev/null`"
if [ "$_INIT_NET_STRATEGY" = "rarp" -o -z "$hostname" ]; then
/sbin/ifconfig -adD4 auto-revarp netmask + broadcast + up
fi
I don't see any other place were network interfaces with static IP addresses
are brought up other than by setting the network-interface device property.
I think this is a bug and would like the input from others on the forum to make
sure I am not overlooking something obvious.
This message posted from opensolaris.org
_______________________________________________
networking-discuss mailing list
[email protected]