How to enabe/disable WEP and 802.1x in XP SP1

You can do this by utilizing zero conf to set the wireless oid.
Huy

Hi everyone,

I am writing an application on XP SP1 with Cisco Aironet Wireless LAN
Card.

In the application, I hope I can enable/disable WEP and 802.1x
programatically. How should I do it?

I know there is a “Wireless Networks” property page which can do this. But
I hope I can do it in my application.

Any suggestion is appreciated.

Thank you in advance

Elton


Important things are always simple; simple things are always hard.


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

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

How can I make use of the so-called zero-conf? Is there any API that I can
call? Could you explain it in more details?

Thanks and regards
Elton

----- Original Message -----
From:
To: “Windows System Software Devs Interest List”
Sent: Thursday, November 27, 2003 10:46 AM
Subject: [ntdev] Re: How to enabe/disable WEP and 802.1x in XP SP1

> You can do this by utilizing zero conf to set the wireless oid.
> Huy
> > Hi everyone,
> >
> > I am writing an application on XP SP1 with Cisco Aironet Wireless LAN
> > Card.
> >
> > In the application, I hope I can enable/disable WEP and 802.1x
> > programatically. How should I do it?
> >
> > I know there is a “Wireless Networks” property page which can do this.
But
> > I hope I can do it in my application.
> >
> > Any suggestion is appreciated.
> >
> > Thank you in advance
> >
> > Elton
> >
>
> --------------------------------------------------------------------------
----------------------
> > Important things are always simple; simple things are always hard.
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: xxxxx@dslextreme.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@i2r.a-star.edu.sg
> To unsubscribe send a blank email to xxxxx@lists.osr.com

Do you mean I just use OID_802_11_WEP_xxx and OID_802_11_AUTHENTICATION_MODE
bula~bula~~ to do it? Is that simple? then great!!!

Seems there is no problem to control WEP with these OIDs. Now, I am worring
about the 802.1x – can it also be controlled by some OIDs. Seems only
OID_802_11_AUTHENTICATION_MODE and OID_802_11_PRIVACY_FILTER have something
to do with 802.1x.

Thanks and regards
elton

----- Original Message -----
From:
To: “Windows System Software Devs Interest List”
Sent: Thursday, November 27, 2003 10:46 AM
Subject: [ntdev] Re: How to enabe/disable WEP and 802.1x in XP SP1

> You can do this by utilizing zero conf to set the wireless oid.
> Huy
> > Hi everyone,
> >
> > I am writing an application on XP SP1 with Cisco Aironet Wireless LAN
> > Card.
> >
> > In the application, I hope I can enable/disable WEP and 802.1x
> > programatically. How should I do it?
> >
> > I know there is a “Wireless Networks” property page which can do this.
But
> > I hope I can do it in my application.
> >
> > Any suggestion is appreciated.
> >
> > Thank you in advance
> >
> > Elton
> >
>
> --------------------------------------------------------------------------
----------------------
> > Important things are always simple; simple things are always hard.
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: xxxxx@dslextreme.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@i2r.a-star.edu.sg
> To unsubscribe send a blank email to xxxxx@lists.osr.com

You can access zeroConfig through WMI. I think the 801_11_OID_XXX is the
object that you have to manipulate. Once I remember what it is, I will let
you know.
Huy

How can I make use of the so-called zero-conf? Is there any API that I can
call? Could you explain it in more details?

Thanks and regards
Elton

----- Original Message -----
From:
> To: “Windows System Software Devs Interest List”
> Sent: Thursday, November 27, 2003 10:46 AM
> Subject: [ntdev] Re: How to enabe/disable WEP and 802.1x in XP SP1
>
>
>> You can do this by utilizing zero conf to set the wireless oid.
>> Huy
>> > Hi everyone,
>> >
>> > I am writing an application on XP SP1 with Cisco Aironet Wireless LAN
>> > Card.
>> >
>> > In the application, I hope I can enable/disable WEP and 802.1x
>> > programatically. How should I do it?
>> >
>> > I know there is a “Wireless Networks” property page which can do this.
> But
>> > I hope I can do it in my application.
>> >
>> > Any suggestion is appreciated.
>> >
>> > Thank you in advance
>> >
>> > Elton
>> >
>>
>> --------------------------------------------------------------------------
> ----------------------
>> > Important things are always simple; simple things are always hard.
>> >
>> >
>> > —
>> > Questions? First check the Kernel Driver FAQ at
>> > http://www.osronline.com/article.cfm?id=256
>> >
>> > You are currently subscribed to ntdev as: xxxxx@dslextreme.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@i2r.a-star.edu.sg
>> 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@dslextreme.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

well,
you can use WZCSAPI on Pocket PC 2003 and above - it is documented for this
OS - but not for other OS’s.
for OS’s below that you can use NDISUIO protocol or RawEther.
Zero Conf is not documented for XP , do not use that- MS purposes not to
use that.
YOu cannot set 802_11 OID’s thru WMI ,though you can query.
Regards
Tarun
----- Original Message -----
From:
To: “Windows System Software Devs Interest List”
Sent: Friday, November 28, 2003 4:48 AM
Subject: [ntdev] Re: How to enabe/disable WEP and 802.1x in XP SP1

> You can access zeroConfig through WMI. I think the 801_11_OID_XXX is the
> object that you have to manipulate. Once I remember what it is, I will let
> you know.
> Huy
> > How can I make use of the so-called zero-conf? Is there any API that I
can
> > call? Could you explain it in more details?
> >
> > Thanks and regards
> > Elton
> >
> >
> > ----- Original Message -----
> > From:
> > To: “Windows System Software Devs Interest List”
> > Sent: Thursday, November 27, 2003 10:46 AM
> > Subject: [ntdev] Re: How to enabe/disable WEP and 802.1x in XP SP1
> >
> >
> >> You can do this by utilizing zero conf to set the wireless oid.
> >> Huy
> >> > Hi everyone,
> >> >
> >> > I am writing an application on XP SP1 with Cisco Aironet Wireless LAN
> >> > Card.
> >> >
> >> > In the application, I hope I can enable/disable WEP and 802.1x
> >> > programatically. How should I do it?
> >> >
> >> > I know there is a “Wireless Networks” property page which can do
this.
> > But
> >> > I hope I can do it in my application.
> >> >
> >> > Any suggestion is appreciated.
> >> >
> >> > Thank you in advance
> >> >
> >> > Elton
> >> >
> >>
>
>> -------------------------------------------------------------------------
-
> > ----------------------
> >> > Important things are always simple; simple things are always hard.
> >> >
> >> >
> >> > —
> >> > Questions? First check the Kernel Driver FAQ at
> >> > http://www.osronline.com/article.cfm?id=256
> >> >
> >> > You are currently subscribed to ntdev as: xxxxx@dslextreme.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@i2r.a-star.edu.sg
> >> 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@dslextreme.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@gric.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com

Thank you guys, I am going to do it by sending OID set/query via ndisuio
first.

Thanks and regards
elton

----- Original Message -----
From: “Tarundeep Singh Kalra”
To: “Windows System Software Devs Interest List”
Sent: Friday, November 28, 2003 12:06 PM
Subject: [ntdev] Re: How to enabe/disable WEP and 802.1x in XP SP1

> well,
> you can use WZCSAPI on Pocket PC 2003 and above - it is documented for
this
> OS - but not for other OS’s.
> for OS’s below that you can use NDISUIO protocol or RawEther.
> Zero Conf is not documented for XP , do not use that- MS purposes not to
> use that.
> YOu cannot set 802_11 OID’s thru WMI ,though you can query.
> Regards
> Tarun
> ----- Original Message -----
> From:
> To: “Windows System Software Devs Interest List”
> Sent: Friday, November 28, 2003 4:48 AM
> Subject: [ntdev] Re: How to enabe/disable WEP and 802.1x in XP SP1
>
>
> > You can access zeroConfig through WMI. I think the 801_11_OID_XXX is the
> > object that you have to manipulate. Once I remember what it is, I will
let
> > you know.
> > Huy
> > > How can I make use of the so-called zero-conf? Is there any API that I
> can
> > > call? Could you explain it in more details?
> > >
> > > Thanks and regards
> > > Elton
> > >
> > >
> > > ----- Original Message -----
> > > From:
> > > To: “Windows System Software Devs Interest List”
> > > Sent: Thursday, November 27, 2003 10:46 AM
> > > Subject: [ntdev] Re: How to enabe/disable WEP and 802.1x in XP SP1
> > >
> > >
> > >> You can do this by utilizing zero conf to set the wireless oid.
> > >> Huy
> > >> > Hi everyone,
> > >> >
> > >> > I am writing an application on XP SP1 with Cisco Aironet Wireless
LAN
> > >> > Card.
> > >> >
> > >> > In the application, I hope I can enable/disable WEP and 802.1x
> > >> > programatically. How should I do it?
> > >> >
> > >> > I know there is a “Wireless Networks” property page which can do
> this.
> > > But
> > >> > I hope I can do it in my application.
> > >> >
> > >> > Any suggestion is appreciated.
> > >> >
> > >> > Thank you in advance
> > >> >
> > >> > Elton
> > >> >
> > >>
> >
>
>> -------------------------------------------------------------------------
> -
> > > ----------------------
> > >> > Important things are always simple; simple things are always hard.
> > >> >
> > >> >
> > >> > —
> > >> > Questions? First check the Kernel Driver FAQ at
> > >> > http://www.osronline.com/article.cfm?id=256
> > >> >
> > >> > You are currently subscribed to ntdev as:
xxxxx@dslextreme.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@i2r.a-star.edu.sg
> > >> 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@dslextreme.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@gric.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@i2r.a-star.edu.sg
> To unsubscribe send a blank email to xxxxx@lists.osr.com