DHCP client service with option 12



Hi,

I have a problem with DHCP Client Service component in an XPe image. I
need to request the target hostname to a DHCP Server, but I don't know
how to configure the option 12 on the DHCP request.

I have seen on this component some registry entries in the following
path:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\DHCP\Parameters
\Options\

Below this path, there are some values for each option, but I don't
know the right data configuration of KeyType (REG_DWORD) and
RegLocation(REG_MULTI_SZ) for option 12.

Does anybody know these configurations?.

In addition, I don't know if once I have received the hostname, I
could set it without a machine reboot. Does anybody know how can I set
a new hostname on XPe without a reboot?

Thanks in advance.

Ruben
.



Relevant Pages

  • Re: hostname with DHCP
    ... > Just rebooted my system and apparently only entering a hostname ... > in /etc/nodename did not seem to work under my DHCP client ... value ends up being used for this interface. ... configuration and get it to install most of the DHCP stuff using its ...
    (comp.unix.solaris)
  • RE: hostname and dhcp
    ... pretty sure my smtp server requires me to log in), and every once in a while ... >Subject: RE: hostname and dhcp ... >FBSD built in DHCP client to get an lease from your ISP. ... >server with your FQDN and it's being sent to your system when you ...
    (freebsd-questions)
  • Re: Security flaw in ALCATEL/THOMSON Speed Touch Pro ADSL modems
    ... | because it's a way DHCP and DNS are supposed to work and it's ... firmware simply doesn't validate any further Hostname given to it, ... this flaw allows to corrupt the local zone file ...
    (Bugtraq)
  • Re: hostname with DHCP
    ... This assumes that the DHCP server (in my case a Linksys router ... hostname to be 'eagle' and my registered domain is 'mydomain.com' ... The DHCP hostname configuration does not work out of the box ... in Solaris when the server does not provide a hostname. ...
    (comp.unix.solaris)
  • SUMMARY: Solaris 9 DHCP client hostname / DNS Update
    ... echo "Setting hostname to $HOSTNAME... ... The Solaris DHCP client will not directly send updates to a DNS server; ... DNS on its behalf. ... hostname from the DHCP server, and most DHCP servers won't provide it. ...
    (SunManagers)