how do i disable DHCP client in solaris9?
i have installed solaris9. during installation i chosen DHCP. but noa i need to specify IP and host name manually. and i want to speed up startup precess. so how can i delete DHCP query at the startup?
how do i disable DHCP client in solaris9 and set network interface IP and name manually for ever? In suse this configurations implemented in a text file named eth0 in sysconfig directory. is exist such file in solaris? thanks for your helps. |
You simply need to remove the /etc/dhcp.<your-interface-name> file and create a file named /etc/hostname.<your-interface-name> containing the static IP you want to set.
You'll probably also need to set /etc/defaultrouter, /etc/nsswitch.conf and /etc/resolv.conf. |
You can also define the name of your machine in the /etc/hostname.<interface> and then associate it with its ip in /etc/hosts. For instance for my own solaris 9 box, kushana, I have
raub@kushana-109>cat /etc/hostname.hme0 kushana raub@kushana-110> |
thanks for your helps friends
|
All times are GMT -5. The time now is 08:16 PM. |