Pocket PC Networking >> How to get adapter name

by Vijay Visana » Sat, 03 Sep 2005 18:21:46 GMT

One more question : How to get adapter name as I need it as parameter for
SetDevicePower. IP Helper is not of much use as it will give me name of
adapter only when adapter is power on and I am using SetDevicePower to
switch on wireless adapter (kind of chicken-egg problem)
:)




Pocket PC Networking >> How to get adapter name

by Adam Dyba [MSFT] » Sat, 10 Sep 2005 09:16:55 GMT


You can retrieve adapter name from the NDIS adapter list. Review
documentation for DeviceIoControl( IOCTL_NDISUIO_QUERY_BINDING ).

Adam Dyba
Software Design Engineer
Microsoft Corp.
_____________________________________________________________
This posting is provided "AS IS" with no warranties, and confers no rights.









Similar Threads

1. Getting IP from a given network adapter name

2. Network adapter gets DHCP addr via wireless adapter

Hello

I'm diagnosing a XP Home machine not showing up on other 
machines via file sharing. 

I notice that the DHCP router provides an address for the 
hardwired network adapter as well as the wireless adapter 
when connecting via the wireless adapter.

Thus this machine has two entries in DHCP while using 
only one wireless adapter.

When the machine first boots up, it will show up in 
workgroup computers on other machines, but then promptly 
disappears.

Since I have had a lot of problems with this machine I 
think there may be a hardware issue. But the machine was 
zapped at least twice by infestations of adware, spyware, 
etc. So networking was zapped repeatedly by porn dialers.

Will appreciate any suggestions.

3. Problems getting online via wireless adapter.

4. getting two subnets on the same ethernet adapter

I have ethernet adapters that have twin MAC addresses: one for the regular 
use and the other for a Baseboard Management Controller (IPMI) that can be 
used to reboot hung machines etc. 

All my normal eth cards are assigned to a 10.0.x.x network by DHCP. So far 
so good. 

Now if I try to set the second IP address to something in the 10.0.x.x 
range then things work. Say 10.0.5.3. I can ping the same physical server 
(and the same physical card) on twin IP addresses from any remote machine. 

arp from the remote pinging machine shows:
Address                    HWaddress           Flags Mask  Iface
10.0.0.3                   00:26:B9:58:E6:46   C           eth0
10.0.4.3                   00:26:B9:58:E6:48   C           eth0

10.0.0.3 is the normal ethernet IP assigned via DHCP and 10.0.4.3 is for 
the BMC.

But let's say I wanted the BMC to respond on the 172.16.x.x subnet. I can 
set this address fine. Say, 172.16.0.3 But if I try to ping 172.16.0.3 then 
there is no response. 

Surprisingly, arp still shows both addresses but the remote ping does not 
work. 

Address                 HWaddress           Flags Mask Iface
10.0.0.3             00:26:B9:58:E6:46   C          eth0
172.16.0.3           00:26:B9:58:E6:48   C          eth0

Do I have to do something else to make this work? How do I have two subnets 
on the same adapter?

-- 
Rahul

5. Getting network adapter configuration information in win2k and win2k03

6. Getting DHCP to see wireless adapter

Hi there,
I have a very nice IBM wireless adapter that works fine and dandy in W2k 
and mostly does in OS/2. Launching WiFiState connects to my secure home 
wireless or open roaming gateways like it should but the DHCP monitors 
only seem to see LAN0 which is T23's internal 10/100 adapter and not 
LAN2 which is the wireless card which of course means that SeaMonkey or 
FF can't fine the connection...

Tried using TCPIP settings (local) to move 'Use DHCP' from LAN0 to LAN2, 
save & reboot, no go DHCP still only shows LAN0 - check the TCPIP 
settings and they still say it should be using LAN2.

Don't know if it matters but the internal LAN0 adapter is ran through 
the Innotek virtual Switch Protocol for VPC.

Any ideas?
TIA,
Richard Budd

7. Win XP wireless network adapter gets released and then connects ba

8. Getting SSIDs list and Setting SSID on adapter

I amtrying to set the SSID on the Wireles adapter using WMI but no success 
even the scanssids phenomenon returns garbage. What can I do I neeed to 
programmatically configure SSId and Scan avaiable ssids.

Please Help..

Avnish.