DHCP and Solaris 9 - hostname issue

From: patrik.koch@philips.com
Date: Mon Sep 22 2003 - 06:31:04 EDT


Dear Managers,

I set up a new Sun Blade 2000 as a DHCP client. DHCP server is a Windows server .
Everything works EXCEPT the hostname assignment. Parameters like IP address,
submask, DNS domain and server, default router, ... are assigned, but not the hostname.
Therefore the Blade gives itself the name "unknown".

As far as I understood you fill in the name in the files /etc/default/dhcpagent and /etc/hostname.eri0
(in the form "inet <desired_name>"). The request is sent to the DHCP server, the DHCP server
initiates a dynamic DNS update BUT does not return the requested hostname!
Therefore "/sbin/dhcpinfo Hostname" returns nothing and the scripts /etc/rcS.d/S30network.sh
and /etc/rc2.d/S72inetsvc assign the hostname "unknown".

Is there a way to force the DHCP client to use a special hostname without the necessity that the
DHCP server returns the requested hostname as a DHCP option?

I'll summarize.

Bets regards,

Patrik
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:09 EDT