Showing posts with label dhcp. Show all posts
Showing posts with label dhcp. Show all posts

Friday, April 10, 2009

DHCP in Solaris 10

# Setup DHCP client in Solaris 10

find the interface name.e.g. /etc/hostname.eri0

touch dhcp.eri0

Reboot

Wednesday, November 19, 2008

HP-UX DHCP setup

If there is IP change, do the following if your system does not boot to the CDE desktop any more.

For DHCP:

1. If it takes long time to boot and/or circling between command line boot prompt and CDE blank screen (only see the cross mouse ponter.) Unplug the ethernet cable.

2. Login as root and launch sam
Networking and Communications->Network Interface Cards->Action:Modify
Click on the Enable DHCP Client button. And then reboot.

3. Login failsafe or telnet if it complains about "desktop messaging system could not be started".
$ cd /etc
$ cp nsswitch.files nsswitch.conf
$ chmod u+w nsswitch.conf

change the following line:
hosts: files
to
hosts: dns files

4. Restart the desktop

Static IP

1. When it circles back the command line boot prompt, press Enter quickly. Log in as the root. Find out the ip address by launching sam->Networking and Communications->Network Interface Cards->Action:Modify Click on the Disabble DHCP Client button. And then exit sam.

2. vi /etc/hosts file to check if the ip is correctly listed.

3. Modify hosts line in nsswitch.conf
from
hosts: dns files
to
hosts: files



4. Restart.