G
Guest
Guest
Archived from groups: microsoft.public.pocketpc.developer,microsoft.public.pocketpc.developer.networking,microsoft.public.pocketpc.wireless,microsoft.public.windows.networking.wireless (More info?)
hi guys,
I have stuck here for more than one week. I am trying to write code for a
PPC 2003 application which will connect to an AP. It works when I turn off
WEP; but I have a weird problem when I turn on WEP.
Basically I used the following steps for AP connection:
1. open device
2. set authenticaiton mode to 0 (open)
3. set infrastructure mode to 1 (infrastructure mode)
4. set SSID
5. set WEP
6. enable WEP.
I am working on Toshiba E800 and HP IPAQ5450. When WEP is off, everything is
fine; when WEP is on, 5450 cannot establish a connection, E800 works ONLY
when I assign a static IP address to it (192.168.xx.xx). I did not turn off
WZC because both devices do not work if WZC is off.
I found the reason that connection is not successful is device does not have
correct IP address. They have either 169.254.xx.xx or 0.0.0.0. I used
IpReleaseAddress and IpRenewAddress, but they do not work.I tried to
dissociate right after I open divice, but there is not change.
Anybody has such experience? How did you solve it? please drop me a line,
Thanks
Eric
hi guys,
I have stuck here for more than one week. I am trying to write code for a
PPC 2003 application which will connect to an AP. It works when I turn off
WEP; but I have a weird problem when I turn on WEP.
Basically I used the following steps for AP connection:
1. open device
2. set authenticaiton mode to 0 (open)
3. set infrastructure mode to 1 (infrastructure mode)
4. set SSID
5. set WEP
6. enable WEP.
I am working on Toshiba E800 and HP IPAQ5450. When WEP is off, everything is
fine; when WEP is on, 5450 cannot establish a connection, E800 works ONLY
when I assign a static IP address to it (192.168.xx.xx). I did not turn off
WZC because both devices do not work if WZC is off.
I found the reason that connection is not successful is device does not have
correct IP address. They have either 169.254.xx.xx or 0.0.0.0. I used
IpReleaseAddress and IpRenewAddress, but they do not work.I tried to
dissociate right after I open divice, but there is not change.
Anybody has such experience? How did you solve it? please drop me a line,
Thanks
Eric