Hi Björn ,

Thanks for assistance.

I effectively found such an option, but with ipconfig (/setclassid <your-dhcp-user-class-id>). Besides, I realized that a DHCPClassId parameter can also be set under the [params.MS_TCPIP.adapter_instance] of unattend.txt file, which is exactly what I wanted! So now I can easily set which parameters have to be sent to the installing client. Thanks a lot for pointing me out in the right direction!

A note for Patrick:
While analyzing the DHCP packet traces sent by udhcp-client once client booted with networked linux ISO, as stated in post http://www.mail-archive.com/[email protected]/msg02367.html, a DHCP user class option was effectively set to the string "Unattended", but not exactly this string: it seems there is garbage on the first character of the string, because the following statement does not work:

if option user-class = "Unattended" {
    ... set specific params...
}

which should be the same as doing

if substring(option user-class, 0, 10) = "Unattended" {
    ... set specific params...
}


Instead, this one is working:

if substring(option user-class, 1, 11) = "Unattended" {
    ...set specific params...
}


HTH!

Best regards,
Fred.

Björn Kaiser a écrit :
Am Mittwoch, den 12.07.2006, 16:09 +0200 schrieb
Frederic.Soriano@<...>:
  
Is it possible to set network parameters on client's interface before
first reboot so that installation can still keep on going? I looked
for a way of setting another DHCP option to MSFT client without
success. I am also wondering if I could set up a RunOnceEx command
(with correct netsh parameters) and run it at 12 minutes stage of
Windows installation with start /wait rundll32.exe
iernonce.dll,RunOnceExProcess

All options / advices welcome!

Thanks for help.

Fred.

    

Hi Fred,
there should be a netsh command, which sets the user-class of the
MS-DHCP-Client. Maybe that will help you. To bad i dont know the exact
command.

--
Björn Kaiser

  
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
unattended-info mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to