Re: Getmac reports ERROR Provider type not defined.
- From: "KM" <konstmor@xxxxxxxxxxxxxxxx>
- Date: Fri, 29 Jul 2005 12:16:45 -0700
MJ,
Well.. If it is failing in your code, check out WSAGetLastError for the error code.
Also, test the network with some other apps (ping, trace, net.exe, etc.).
--
Regards,
KM
> There definitely aren't any problems with the script. I even know that the
> Static IP was set correctly, because I can connect to my shell from another
> PC. However, my shell can't connect to another pc. The socket connect()
> call fails.
>
> MJ
>
> "KM" wrote:
>
>> MJ,
>>
>> Do you know where and how it is failing now?
>> What error you are getting from netsh?
>> Do you use you customer script (batch, wsh?) to work with netsh? If so, can you show us the script?
>> Just in case you use "Local Area Network" interface name there, make sure to register the name first with command like:
>> rundll32 netshell.dll HrRenameConnection
>>
>> --
>> Regards,
>> KM
>>
>> > KM,
>> > I had an image where my netsh setup worked perfectly at the end of FBA. It
>> > had Winlogon (XP Explorer User Interface component) and Explorer Shell. I
>> > changed it to Minlogon and a Custom Shell, but now my static ip config
>> > doesn't work. I didn't have all of these components in my build before, so
>> > how did it work?
>> >
>> > Thanks!
>> > MJ
>> >
>> > "KM" wrote:
>> >
>> >> Make sure that you have the networking driver installed properly and running
>> >> fine. (use devcon or SetupApi.log)
>> >> Or you can use "snetcfg -v -s a" to list installed NICs.
>> >>
>> >> Also, make sure you've got the following components included:
>> >> Network Command Shell
>> >> Network Command Shell Interface Context
>> >> IP Router Monitor Library
>> >> Network Diagnostics
>> >> Remote Access Monitory
>> >> IP Security Services
>> >> Primitive: W32topl
>> >>
>> >>
>> >> KM
>> >>
>> >> > Btw, NETSH Command reports:
>> >> > WARNING: Could not obtain host information from machine XXXXX. Some
>> >> > commands
>> >> > may not be available. Provider type not defined.
>> >> >>netsh
>> >> >
>> >> > Exit command returns command line prompt.
>> >> > When I use netsh at a large build everything goes OK. There must be
>> >> > missing
>> >> > a Component (or Components), which one?
>> >> >
>> >> > V. Pohnetal
>> >> >
>> >> > "V. Pohnetal" wrote:
>> >> >
>> >> >> Well, the goal is to minimize Flash space for System.
>> >> >> I have made some large Builds that run OK on that HW. But now there is
>> >> >> only
>> >> >> one thing I need - to execute a program from Server. I tried to build
>> >> >> system
>> >> >> that consist from MinLogon, TCP/IP Networking, EWF and TCP/IP ARP only.
>> >> >> Getmac was included. When I want to get MAC addresse Getmac reports
>> >> >> ERROR
>> >> >> Provider type not defined.
>> >> >>
>> >> >> Vlastimil
>> >> >>
>> >> >> "KM" wrote:
>> >> >>
>> >> >> > Vlastimil,
>> >> >> >
>> >> >> > >I have Minlogon, TCP/IP Networking, EWF and TCP/IP ARP.
>> >> >> > > Need to enter static IP by ARP.
>> >> >> >
>> >> >> > Could you expand what you want to accomplish?
>> >> >> > If just fix the GetMac problems, please see below.
>> >> >> >
>> >> >> > > Any advice?
>> >> >> >
>> >> >> > Does the network driver got installed and working properly on your
>> >> >> > build?
>> >> >> >
>> >> >> > KM
>> >> >> >
>> >> >> >
>> >> >> >
>> >>
>> >>
>> >>
>>
>>
>>
.
- References:
- Prev by Date: Re: Missing msvbvm60.dll
- Next by Date: Re: Question on Cloning tools
- Previous by thread: Re: Getmac reports ERROR Provider type not defined.
- Next by thread: Performance Issues With Media Player 10
- Index(es):
Relevant Pages
|
|