On Tue, Jul 18, 2006 at 06:33:05AM +0200, Julien TOUCHE wrote:
> 
> is there any script in the wild to fix the local IP of a box to the one
> given by dhcp (all parameters, that is: IP, netmask, router, DNS, DNS
> suffix) ?
> 
> thanks
> Regards
> 
>               Julien
> 

Here is snippit from my unattend.txt
-----------------
[NetAdapters]
    Adapter1=params.Adapter1

[params.Adapter1]
    INFID=*

[NetClients]
    MS_MSClient=params.MS_MSClient

[NetProtocols]
    MS_TCPIP=params.MS_TCPIP

[params.MS_TCPIP]
    DNS=Yes
    UseDomainNameDevolution=No
    EnableLMHosts=Yes
    DNSDomain=cs.yorku.ca
    DNSSUffixSearchOrder=cs.yorku.ca, yorku.ca
    AdapterSections=params.MS_TCPIP.Adapter1

[params.MS_TCPIP.Adapter1]
    SpecificTo=Adapter1
    DHCP=Yes
    WINS=No
    NetBIOSOptions=1
    DisableDynamicUpdate=Yes
----------------------

I have not looked at this for awhile but I think you can combine
[params.MS_TCPIP] and [params.MS_TCPIP.Adapter1] into one. For example

------
[params.MS_TCPIP]
    DNS=Yes
    UseDomainNameDevolution=No
    EnableLMHosts=Yes
    DNSDomain=cs.yorku.ca
    DNSSUffixSearchOrder=cs.yorku.ca, yorku.ca
    DHCP=Yes
    WINS=No
    NetBIOSOptions=1
    DisableDynamicUpdate=Ye

----------

But you will have to test.

Thanks
Paul



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
unattended-info mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to