J
Jeff
I did a search for "netsh, Incorrect function" and I didn't see
anything matching what I'm seeing.
I'm trying to set a static IP using netsh.
Running CMD-shell only, I do the following (after FBA successfully
completes):
:>Rundll32 netshell.dll HrRenameConnection
:>netsh interface ip set address "Local Area Connection" static
164.101.60.115 255.255.0.0 none
--Response:
"WARNING: Could not obtain host information from machine: [OEM-...].
Some commands may not be available.
Class not registered
Incorrect Function"
--To test the interface name, I can misspell "Local Area Connion" in
the netsh command above and it returns:
""WARNING: Could not obtain host information from machine: [OEM-...].
Some commands may not be available.
Class not registered
Invalid interface "Local Area Connion" specified"
-To test the netsh, I do a "netsh interface ip show address" and get
the following:
"WARNING: Could not obtain host information from machine: [OEM-...].
Some commands may not be available.
Class not registered
No more data is available."
-I try and do an ipconfig (or ipconfig /all) and all I get is:
"Windows IP Configuration
"
No info is generated.
If I boot teh same PC from the WinXPe install CD, DHCP is configured
and works properly (I can ipconfig, map a drive, use network).
-Netsh /? Returns the proper help topics, so I'm pretty sure I have
the correct components installed for netsh.
Am I making a stupid mistake or missing a component??
My runtime PC has two NICs.. Is this a problem?
Any help is greatly appreciated…
- Jeff
anything matching what I'm seeing.
I'm trying to set a static IP using netsh.
Running CMD-shell only, I do the following (after FBA successfully
completes):
:>Rundll32 netshell.dll HrRenameConnection
:>netsh interface ip set address "Local Area Connection" static
164.101.60.115 255.255.0.0 none
--Response:
"WARNING: Could not obtain host information from machine: [OEM-...].
Some commands may not be available.
Class not registered
Incorrect Function"
--To test the interface name, I can misspell "Local Area Connion" in
the netsh command above and it returns:
""WARNING: Could not obtain host information from machine: [OEM-...].
Some commands may not be available.
Class not registered
Invalid interface "Local Area Connion" specified"
-To test the netsh, I do a "netsh interface ip show address" and get
the following:
"WARNING: Could not obtain host information from machine: [OEM-...].
Some commands may not be available.
Class not registered
No more data is available."
-I try and do an ipconfig (or ipconfig /all) and all I get is:
"Windows IP Configuration
"
No info is generated.
If I boot teh same PC from the WinXPe install CD, DHCP is configured
and works properly (I can ipconfig, map a drive, use network).
-Netsh /? Returns the proper help topics, so I'm pretty sure I have
the correct components installed for netsh.
Am I making a stupid mistake or missing a component??
My runtime PC has two NICs.. Is this a problem?
Any help is greatly appreciated…
- Jeff