Jump to content

Recommended Posts

Posted

Is it possible, via winnt.sif or another way, to have 2 sets of networking information.

I have 2 comps... with the IP's of 192.168.0.1 and .0.2. I want to make it fully unattended but I need to be able to do this somehow.

Any ideas?


Posted

if youre using dhcp then turn off both pc's. Start the install on the computer you want to have the .1, then a couple mins later start the install on the other pc and i'll get the .2 ip address.

-gosh

Posted

u can probly with a .cmd file do like

if exist (some distictive file)

then read from a certain file 2 implement your settings?

Posted

@gosh: The network doesn't run on DHCP so that's out of the question.

@MCT: I don't know how this could be accomplished with .cmd file. It'd have to set the gateway, dns domain, ip address and other things.

Posted

wouldnt the info be stored on your pc via reg? or another file?

what i mean is ,

if exist "%windir%\file1111111111111,extenion" GOTO PC1
if exist "%windir%\file2222222222222,extenion" GOTO PC2
GOTO END
:PC1
regedit /S file1.reg
:PC2
regedit /S file2.reg
:END

EDIT 500Posts :):rolleyes:

EDIT2: spelt "exist" wrong :D i had "excist" :embarrassed:

regards

Posted

add the following to winnt.sif

[Networking]    InstallDefaultComponents=Yes

    ProcessPageSections=Yes

[NetAdapters]

    Adapter1=params.Adapter1

    Adapter2=params.Adapter2

[Params.Adapter1]

    InfID=PCI\VEN_10B7&DEV_1700

    ConnectionName="3 Com Gigabit LOM #1"

[Params.Adapter2]

    InfID=PCI\VEN_10D4&DEV_2800

    ConnectionName="3 Com Gigabit LOM #2"

[NetClients]

    MS_MSClient=params.MS_MSClient

[NetServices]

    MS_SERVER=params.MS_SERVER

[NetProtocols]

    MS_TCPIP=params.MS_TCPIP

[params.MS_TCPIP]

    DNS=No

    UseDomainNameDevolution=No

    EnableLMHosts=Yes

    AdapterSections=params.MS_TCPIP.Adapter1,params.MS_TCPIP.Adapter2

[params.MS_TCPIP.Adapter1]

    SpecificTo=Adapter1

    DHCP=No

    IPAddress=192.168.10.1

    SubnetMask=255.255.255.0

    WINS=No

    NetBIOSOptions=0

[params.MS_TCPIP.Adapter2]

    SpecificTo=Adapter2

    DHCP=No

    IPAddress=192.168.10.2

    SubnetMask=255.255.255.0

    WINS=No

    NetBIOSOptions=0

Please specify InfID for each adapter on the two comps,to look for the InfID,just following these steps

1.Right-click My Computer, and then click Manage.

2.Double-click System Tools, double-click System Information, double-click Components, double-click Network, and then click the Adapter folder. A report is generated describing the name of the adapters installed, followed by the "Adapter Type."

For each physical network adapter installed, record the Plug and Play ID string displayed in the "Adapter Type" field.

if the system can not find the specified adapter,it will ignore it,so the above can be used in both comps,and configure the right adapter properly

Posted

So the PnPID will stay the same if I reinstall Windows? What about if I move the adapter to another machine?

Thanks for that info. Will help me a lot.

Edit: Just tried the above method and it doesn't work. I'm using SP2 RC2 so that may be why.

Posted

it cant be..

it works fine for me and i also have an xp sp2 rc2...

just check the InfID....only the first two parts will be needed.. and the IPAdress part can be replaced with anyone as you wish.

the PnPID is permanant and exclusive for each device,and is made by OEM..

Posted

Hmm... well I tried it another 3 times to make sure (all CD burnt from scratch again) and it won't detect the network settings... Just automatically sets the network card to DHCP... hmm...

Posted

Oooh... thankyou very much. Seems I went past it in my searches.

This looks like it will do the job quite nicely. Will try it later on.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...