Networking Forums

Networking Forums > Wireless Networking > Wireless Networks > Cannot set SSID

Reply
Thread Tools Display Modes

Cannot set SSID

 
 
Eric
Guest
Posts: n/a

 
      07-23-2004, 09:51 PM
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.....


 
Reply With Quote
 
 
 
 
Benoît Bousquet
Guest
Posts: n/a

 
      07-26-2004, 02:22 PM
Are you releasing/renewing DHCP?

-BB

"Eric" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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.....
>
>



 
Reply With Quote
 
Eric
Guest
Posts: n/a

 
      07-26-2004, 03:26 PM
this might be the point. I will try that.. but which case are you refering
to? WZC on or off?



"Benoît Bousquet" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Are you releasing/renewing DHCP?
>
> -BB
>
> "Eric" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > 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.....
> >
> >

>
>



 
Reply With Quote
 
Benoît Bousquet
Guest
Posts: n/a

 
      07-26-2004, 03:47 PM
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" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> this might be the point. I will try that.. but which case are you refering
> to? WZC on or off?
>
>
>
> "Benoît Bousquet" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Are you releasing/renewing DHCP?
> >
> > -BB
> >
> > "Eric" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > 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.....
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is hiding your home SSID actually a privacy flaw (broadcasting yourhome SSID at public hotspots)? Aaron FIsher Wireless Internet 40 03-26-2011 11:39 AM
SSID called HOME even though I have configured another SSID mrwong Wireless Networks 0 03-26-2006 10:50 PM
non-ssid, changed ssid, wpa on network; what else can i do? Go Tyler Wireless Internet 4 12-17-2005 07:36 PM
Preferred SSID - Hidden SSID rcb Wireless Networks 4 09-29-2005 11:57 AM
SSID = SSID but NO connection Vinny Wireless Internet 4 07-06-2004 06:05 AM



1 2 3 4 5 6 7 8 9 10 11