Re: Netsh- "Incorrect Function" trying to set IP.
From: KM (konstmor_at_nospam_yahoo.com)
Date: 07/09/04
- Next message: James Beau Cseri: "Re: icon missing in control panel"
- Previous message: Slobodan Brcin \(eMVP\): "Re: Netsh- "Incorrect Function" trying to set IP."
- In reply to: Jeff: "Netsh- "Incorrect Function" trying to set IP."
- Next in thread: James Beau Cseri: "Re: Netsh- "Incorrect Function" trying to set IP."
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 9 Jul 2004 12:59:55 -0700
Jeff,
Check if you have these components in your configuration:
- IP Router Monitor Library
- Network Command Shell
- Network Command Shell Interface Context
--
Regards,
KM, BSquare Corp.
> 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
- Next message: James Beau Cseri: "Re: icon missing in control panel"
- Previous message: Slobodan Brcin \(eMVP\): "Re: Netsh- "Incorrect Function" trying to set IP."
- In reply to: Jeff: "Netsh- "Incorrect Function" trying to set IP."
- Next in thread: James Beau Cseri: "Re: Netsh- "Incorrect Function" trying to set IP."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|