RE: how to change the WEP key programmatically??

There isn’t “official” support for 802.11 in operating systems older than
Windows XP. However, some vendors have been known to leave in the 802.11
OID support in their Win2K drivers; but not advertise through the
OID_GEN_SUPPORTED_LIST. You would need to mimic the 802.11 functionality
from the DDK header into a private header, and then access the OIDs from
userspace (IOCTL_NDIS_QUERY_GLOBAL_STATS, via NDISUIO, or some other filter
driver). You would not be able to use WMI, since the functionality is not
present for 802.11 on pre-WinXP flavors.

-----Original Message-----
From: xxxxx@dslextreme.com [mailto:xxxxx@dslextreme.com]
Sent: Tuesday, July 01, 2003 1:40 PM
To: NT Developers Interest List
Subject: [ntdev] RE: how to change the WEP key programmatically??

thanks so much, btw, can I use the same function on windows 2K?
Huy
>
> It is windows OID_802_11_ADD_KEY OID, and not snmp. You can read in XP
> DDK about it.
>
> Good Luck.
>
> -----Original Message-----
> From: xxxxx@dslextreme.com [mailto:xxxxx@dslextreme.com]
> Sent: Tuesday, July 01, 2003 7:32 PM
> To: NT Developers Interest List
> Subject: [ntdev] RE: how to change the WEP key programmatically??
>
>
> This resume that we know the oid (snmp), but if the snmp agent is not
> installed, can I use some windows native api to do this?
> thanks,
> Huy
>>
>>
>> Vendors may store it anywhere in the registry.
>> You should send AddWep oid to the wireless driver to change the wep
>> key programmatically.
>>
>>
>> -----Original Message-----
>> From: xxxxx@dslextreme.com [mailto:xxxxx@dslextreme.com]
>> Sent: Tuesday, July 01, 2003 5:32 PM
>> To: NT Developers Interest List
>> Subject: [ntdev] how to change the WEP key programmatically??
>>
>>
>> I like to be able to change the WEP key on my wireless card
>> programmatically for win2000K. Can I do that without having to write a
>> device driver? How can I know where the vendor store the wep key?
>> thanks,
>> Huy
>>
>>
>>
>>
>> —
>> You are currently subscribed to ntdev as: romang@ti.com
>> To unsubscribe send a blank email to xxxxx@lists.osr.com
>>
>>
>> —
>> You are currently subscribed to ntdev as: xxxxx@dslextreme.com
>> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
>
>
> —
> You are currently subscribed to ntdev as: romang@ti.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@dslextreme.com To
> unsubscribe send a blank email to xxxxx@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@agere.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

I run Win2K professional, SP4, in two machines at home, both on an 802.11g
link to my gateway, which in turn connects to my Comcast cable. Works
beautifully !

Alberto.

-----Original Message-----
From: Zimmermann, Christopher Brian (Chris)
[mailto:xxxxx@agere.com]
Sent: Tuesday, September 09, 2003 12:59 PM
To: Windows System Software Developers Interest List
Subject: [ntdev] RE: how to change the WEP key programmatically??

There isn’t “official” support for 802.11 in operating systems older than
Windows XP. However, some vendors have been known to leave in the 802.11
OID support in their Win2K drivers; but not advertise through the
OID_GEN_SUPPORTED_LIST. You would need to mimic the 802.11 functionality
from the DDK header into a private header, and then access the OIDs from
userspace (IOCTL_NDIS_QUERY_GLOBAL_STATS, via NDISUIO, or some other filter
driver). You would not be able to use WMI, since the functionality is not
present for 802.11 on pre-WinXP flavors.

-----Original Message-----
From: xxxxx@dslextreme.com [mailto:xxxxx@dslextreme.com]
Sent: Tuesday, July 01, 2003 1:40 PM
To: NT Developers Interest List
Subject: [ntdev] RE: how to change the WEP key programmatically??

thanks so much, btw, can I use the same function on windows 2K?
Huy
>
> It is windows OID_802_11_ADD_KEY OID, and not snmp. You can read in XP
> DDK about it.
>
> Good Luck.
>
> -----Original Message-----
> From: xxxxx@dslextreme.com [mailto:xxxxx@dslextreme.com]
> Sent: Tuesday, July 01, 2003 7:32 PM
> To: NT Developers Interest List
> Subject: [ntdev] RE: how to change the WEP key programmatically??
>
>
> This resume that we know the oid (snmp), but if the snmp agent is not
> installed, can I use some windows native api to do this?
> thanks,
> Huy
>>
>>
>> Vendors may store it anywhere in the registry.
>> You should send AddWep oid to the wireless driver to change the wep
>> key programmatically.
>>
>>
>> -----Original Message-----
>> From: xxxxx@dslextreme.com [mailto:xxxxx@dslextreme.com]
>> Sent: Tuesday, July 01, 2003 5:32 PM
>> To: NT Developers Interest List
>> Subject: [ntdev] how to change the WEP key programmatically??
>>
>>
>> I like to be able to change the WEP key on my wireless card
>> programmatically for win2000K. Can I do that without having to write a
>> device driver? How can I know where the vendor store the wep key?
>> thanks,
>> Huy
>>
>>
>>
>>
>> —
>> You are currently subscribed to ntdev as: romang@ti.com
>> To unsubscribe send a blank email to xxxxx@lists.osr.com
>>
>>
>> —
>> You are currently subscribed to ntdev as: xxxxx@dslextreme.com
>> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
>
>
> —
> You are currently subscribed to ntdev as: romang@ti.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@dslextreme.com To
> unsubscribe send a blank email to xxxxx@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@agere.com
To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@compuware.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

The contents of this e-mail are intended for the named addressee only. It
contains information that may be confidential. Unless you are the named
addressee or an authorized designee, you may not copy or use it, or disclose
it to anyone else. If you received it in error please notify us immediately
and then destroy it.

I didn’t say 802.11 didn’t work on Windows Operating Systems older than
Windows XP, I said the 802.11 OIDs aren’t supported on them. Every WLAN
vendor needed to have a proprietary solution prior to WinXP; which is still
available to the user if they decide to not let Windows manage their
wireless network(s).

The 802.11 OIDs are a part of NDIS 5.1; which is currently only supported by
Windows XP. Possible Windows Server 2003, I’m not certain of that.

Windows 2000 supports only NDIS 5.0, as does Windows Me and Windows 98 SE.

-----Original Message-----
From: Moreira, Alberto [mailto:xxxxx@compuware.com]
Sent: Tuesday, September 09, 2003 1:57 PM
To: Windows System Software Developers Interest List
Subject: [ntdev] RE: how to change the WEP key programmatically??

I run Win2K professional, SP4, in two machines at home, both on an 802.11g
link to my gateway, which in turn connects to my Comcast cable. Works
beautifully !

Alberto.

-----Original Message-----
From: Zimmermann, Christopher Brian (Chris)
[mailto:xxxxx@agere.com]
Sent: Tuesday, September 09, 2003 12:59 PM
To: Windows System Software Developers Interest List
Subject: [ntdev] RE: how to change the WEP key programmatically??

There isn’t “official” support for 802.11 in operating systems older than
Windows XP. However, some vendors have been known to leave in the 802.11
OID support in their Win2K drivers; but not advertise through the
OID_GEN_SUPPORTED_LIST. You would need to mimic the 802.11 functionality
from the DDK header into a private header, and then access the OIDs from
userspace (IOCTL_NDIS_QUERY_GLOBAL_STATS, via NDISUIO, or some other
filter
driver). You would not be able to use WMI, since the functionality is not
present for 802.11 on pre-WinXP flavors.

> -----Original Message-----
> From: xxxxx@dslextreme.com [mailto:xxxxx@dslextreme.com]
> Sent: Tuesday, July 01, 2003 1:40 PM
> To: NT Developers Interest List
> Subject: [ntdev] RE: how to change the WEP key programmatically??
>
> thanks so much, btw, can I use the same function on windows 2K?
> Huy
> >
> > It is windows OID_802_11_ADD_KEY OID, and not snmp. You can read in XP
> > DDK about it.
> >
> > Good Luck.
> >
> > -----Original Message-----
> > From: xxxxx@dslextreme.com [mailto:xxxxx@dslextreme.com]
> > Sent: Tuesday, July 01, 2003 7:32 PM
> > To: NT Developers Interest List
> > Subject: [ntdev] RE: how to change the WEP key programmatically??
> >
> >
> > This resume that we know the oid (snmp), but if the snmp agent is not
> > installed, can I use some windows native api to do this?
> > thanks,
> > Huy
> >>
> >>
> >> Vendors may store it anywhere in the registry.
> >> You should send AddWep oid to the wireless driver to change the wep
> >> key programmatically.
> >>
> >>
> >> -----Original Message-----
> >> From: xxxxx@dslextreme.com [mailto:xxxxx@dslextreme.com]
> >> Sent: Tuesday, July 01, 2003 5:32 PM
> >> To: NT Developers Interest List
> >> Subject: [ntdev] how to change the WEP key programmatically??
> >>
> >>
> >> I like to be able to change the WEP key on my wireless card
> >> programmatically for win2000K. Can I do that without having to write
a
> >> device driver? How can I know where the vendor store the wep key?
> >> thanks,
> >> Huy
> >>
> >>
> >>
> >>
> >> —
> >> You are currently subscribed to ntdev as: romang@ti.com
> >> To unsubscribe send a blank email to xxxxx@lists.osr.com
> >>
> >>
> >> —
> >> You are currently subscribed to ntdev as: xxxxx@dslextreme.com
> >> To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
> >
> >
> >
> >
> > —
> > You are currently subscribed to ntdev as: romang@ti.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@dslextreme.com
To
> > unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@agere.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@compuware.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

The contents of this e-mail are intended for the named addressee only. It
contains information that may be confidential. Unless you are the named
addressee or an authorized designee, you may not copy or use it, or
disclose
it to anyone else. If you received it in error please notify us
immediately
and then destroy it.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@agere.com
To unsubscribe send a blank email to xxxxx@lists.osr.com