Go Back   Velocity Reviews > Newsgroups > Wireless Networking
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

Wireless Networking - Cannot set SSID

 
Thread Tools Search this Thread
Old 07-23-2004, 10:51 PM   #1
Default Cannot set SSID


hi all,

I am currently writing code for an application on PPC 2003, and I have one
small, but serious problem for wireless connections. My application will
allow user to scan and find APs and PCs with 802.11 card, and connect one of
them. My code works well when scan the network: it will return a correct
list. When I try to establish a connection (I only tested ad-hoc connection
so far), it has following problems:

1) if I turn WZC on, it cannot connect to desired computer (or ad-hoc
network);
2) if I turn WZC off, it does connect to the computer, but I cannot send msg
to that computer with Winsock 16 seconds after the connection.

The following is the steps for connection:

1) set network infrastructure mode (OID_802_11_INFRASTRUCTURE_MODE)
2) Set authentication mode to
Ndis802_11AuthModeOpen(OID_802_11_AUTHENTICATION_M ODE);
3) set WEP status to Ndis802_11WEPDisabled(OID_802_11_WEP_STATUS);
4) set ssid (OID_802_11_SSID);

Is there any errors? Thanks.....




Eric
  Reply With Quote
Old 07-26-2004, 03:22 PM   #2
Benoît Bousquet
 
Posts: n/a
Default Re: Cannot set SSID
Are you releasing/renewing DHCP?

-BB

"Eric" <> wrote in message
news:...
> hi all,
>
> I am currently writing code for an application on PPC 2003, and I have one
> small, but serious problem for wireless connections. My application will
> allow user to scan and find APs and PCs with 802.11 card, and connect one

of
> them. My code works well when scan the network: it will return a correct
> list. When I try to establish a connection (I only tested ad-hoc

connection
> so far), it has following problems:
>
> 1) if I turn WZC on, it cannot connect to desired computer (or ad-hoc
> network);
> 2) if I turn WZC off, it does connect to the computer, but I cannot send

msg
> to that computer with Winsock 16 seconds after the connection.
>
> The following is the steps for connection:
>
> 1) set network infrastructure mode (OID_802_11_INFRASTRUCTURE_MODE)
> 2) Set authentication mode to
> Ndis802_11AuthModeOpen(OID_802_11_AUTHENTICATION_M ODE);
> 3) set WEP status to Ndis802_11WEPDisabled(OID_802_11_WEP_STATUS);
> 4) set ssid (OID_802_11_SSID);
>
> Is there any errors? Thanks.....
>
>





Benoît Bousquet
  Reply With Quote
Old 07-26-2004, 04:26 PM   #3
Eric
 
Posts: n/a
Default Re: Cannot set SSID
this might be the point. I will try that.. but which case are you refering
to? WZC on or off?



"Benoît Bousquet" <> wrote in message
news:...
> Are you releasing/renewing DHCP?
>
> -BB
>
> "Eric" <> wrote in message
> news:...
> > hi all,
> >
> > I am currently writing code for an application on PPC 2003, and I have

one
> > small, but serious problem for wireless connections. My application will
> > allow user to scan and find APs and PCs with 802.11 card, and connect

one
> of
> > them. My code works well when scan the network: it will return a correct
> > list. When I try to establish a connection (I only tested ad-hoc

> connection
> > so far), it has following problems:
> >
> > 1) if I turn WZC on, it cannot connect to desired computer (or ad-hoc
> > network);
> > 2) if I turn WZC off, it does connect to the computer, but I cannot send

> msg
> > to that computer with Winsock 16 seconds after the connection.
> >
> > The following is the steps for connection:
> >
> > 1) set network infrastructure mode (OID_802_11_INFRASTRUCTURE_MODE)
> > 2) Set authentication mode to
> > Ndis802_11AuthModeOpen(OID_802_11_AUTHENTICATION_M ODE);
> > 3) set WEP status to Ndis802_11WEPDisabled(OID_802_11_WEP_STATUS);
> > 4) set ssid (OID_802_11_SSID);
> >
> > Is there any errors? Thanks.....
> >
> >

>
>





Eric
  Reply With Quote
Old 07-26-2004, 04:47 PM   #4
Benoît Bousquet
 
Posts: n/a
Default Re: Cannot set SSID
My experiences are limited to PCs running XP/2000 and sending NDIS requests
from a filter driver. Everything started behaving properly once I disabled
WZC. But, obviously, you have to release/renew DHCP on the adapter once you
associate to a new AP or you'll keep trying to use the IP that was given to
you by the previous AP's DHCP server.

-BB

"Eric" <> wrote in message
news:%...
> this might be the point. I will try that.. but which case are you refering
> to? WZC on or off?
>
>
>
> "Benoît Bousquet" <> wrote in message
> news:...
> > Are you releasing/renewing DHCP?
> >
> > -BB
> >
> > "Eric" <> wrote in message
> > news:...
> > > hi all,
> > >
> > > I am currently writing code for an application on PPC 2003, and I have

> one
> > > small, but serious problem for wireless connections. My application

will
> > > allow user to scan and find APs and PCs with 802.11 card, and connect

> one
> > of
> > > them. My code works well when scan the network: it will return a

correct
> > > list. When I try to establish a connection (I only tested ad-hoc

> > connection
> > > so far), it has following problems:
> > >
> > > 1) if I turn WZC on, it cannot connect to desired computer (or ad-hoc
> > > network);
> > > 2) if I turn WZC off, it does connect to the computer, but I cannot

send
> > msg
> > > to that computer with Winsock 16 seconds after the connection.
> > >
> > > The following is the steps for connection:
> > >
> > > 1) set network infrastructure mode (OID_802_11_INFRASTRUCTURE_MODE)
> > > 2) Set authentication mode to
> > > Ndis802_11AuthModeOpen(OID_802_11_AUTHENTICATION_M ODE);
> > > 3) set WEP status to Ndis802_11WEPDisabled(OID_802_11_WEP_STATUS);
> > > 4) set ssid (OID_802_11_SSID);
> > >
> > > Is there any errors? Thanks.....
> > >
> > >

> >
> >

>
>





Benoît Bousquet
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Aironet 1130 Transparent Bridge & Repeater gman Hardware 3 09-21-2007 03:33 AM
Windows XP and Disabled Broadcast of SSID superlazy Hardware 0 11-05-2006 06:48 AM
Wireless Network w/ XP Prof SilverSurfer A+ Certification 2 08-08-2003 08:34 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46