HP-UX: How Do I configure the new Lan card configuration?
HP-UX desktop is very sensitive to networking changes such as hostname and IP address, I learned it hard way
So first you need to kill HP-UX desktop (CDE) with following command (login as root and open terminal) :
# /sbin/init.d/dtlogin.rc stop
Next open the /etc/rc.config.d/netconf file and make changes to HOSTNAME and IP address. Save the file.
# vi /etc/rc.config.d/netconf
HOSTNAME=myhpux INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=202.54.10.20 SUBNET_MASK[0]=255.255.255.0 BROADCAST_ADDRESS[0]=""
DHCP_ENABLE[0]="0"
Finally, you need to update the /etc/hosts file with correct IP and hostname:
# vi /etc/hosts
Reboot the system
# shutdown -ry 0
Want to stay up to date with the latest Linux tips, news and announcements? Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
You may also be interested in other helpful articles:
- HP-UX networking related tools and commands
- Importance of Linux PCI ID Repository
- Create a xorg.conf file
- Linux Configure WPA2 for RT61 based Wireless Card
- New 19″ Viewsonic Widescreen LCD Monitor
Discussion on This Article:
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!


HP-UX: How Do I de-configure one of my 2 Lan cards?