ted wrote:
> I am a developer getting started with Solaris 10 configuration.  I recently 
> installed Solaris 10 and have run into an issue with network connectivity.
>
> I have done much research on this and I was able to get communiction to the 
> internet established once, but the settings were lost on reboot.
>
> Overview - The Solaris box is connected to a router which is acting as a DHCP 
> server.
> AMD 64 dual 2.6
> nForce4+ integrated NIC
>
>
> 1) I am not able to obtain an address from the router.  Nor do I get a 
> respons back when I ping it.  I get an IP etc if I boot into Windows so 
> phyicial connectivity is fine.
> 2) Upon reboot the device nfo0 as shown using ifconfig -a has an IP of 
> 0.0.0.0.
> 3) If I run ifconfig [hostname] my machine gets the ip from the hosts file, 
> but I would like to obtain this from the router.
>
> GOAL - reach and obtain a DHCP from the router and have the changes stick 
> upon reboot.
>
> /etc/hosts contents
> 127.0.0.1 localhost loghost
> 192.168.1.55 solarisX  /*<-- this is what I get when I do ifconfig nfo0 
> solarisX */
>
> /etc/hosname.nfo0
> netmask + 255.255.255.0
> solarisX
>
> /etc/defaultrouter
> 192.168.1.254
>
> /etc/netmasks
> 192.168.0.0 255.255.2550
>
>   
Try this.

Backup and delete /etc/hostname.nf0, and /etc/defaultrouter.

If you want 'solarisX' as your hostname then:

echo "solarisX" > /etc/nodename

then to get all configuration through DHCP, run:

touch /etc/dhcp.nf0

Then reboot.

NOTE: your nf0 interface needs to work (you need the driver installed,) 
which you have right now, but on a feresh install, you'd need to do the 
driver install again first.

 -Kyle


Reply via email to