Re: Connecting to a WPA2 network (was: How to see which SSID I'm connected to, or join one from a group of available SSIDs)

Kevin <lists-rlw6wC9k61x8UrSeD/[email protected]> Thu, 11 Jan 2007 19:59:35 -0500
Newsgroups gmane.comp.handhelds.openzaurus.user
Message-ID <[email protected]>
Kevin wrote:
>> To check its hostap use:
>> hostap_diag wlan0
> 
> Thanks for your reply, Tom.  It seems that mine loads the orinoco driver by
> default too, but I also see hostap modules in the kernel after inserting the
> card:
> 
> Module                  Size  Used by
> hostap_cs              56596  0
> hostap                112804  1 hostap_cs
> ieee80211_crypt         5056  1 hostap
> orinoco_cs             14884  2
> orinoco                40180  1 orinoco_cs
> hermes                  6336  2 orinoco_cs,orinoco
> 
> when I do hostap_diag wlan0, I get this:
> 
> ioctl[PRISM2_IOCTL_HOSTAPD]: No such device
> Could not communicate with the kernel driver.
> 
> How do I force the use of hostap when orinoco loads by default?

Though I've been told there is an answer to this FAQ on the wiki, I've been
unable to access the wiki for a long time now.  It looks like there is a
transition in progress with the web services, so I'm guessing that's why the
wiki is down.

Philipp wrote that the answer is: ipkg remove -recursive *orinoco*, but I
have packages dependencies that rely on orinoco that I don't understand well
enough to want to remove them or break the dependencies right now.

But anyway, I seem to have figured this out on my own.  I ejected the card
using Opie tools, physically removed the card, removed all these modules
(above), then did a modprobe hostap_cs, and then re-inserted the card.  I
noticed that only hostap and ieee80211_crypt were loaded automatically
(simultaneous with hostap_cs) this way (no modules loaded automatically on
physical card insert this time), and I now see wlan0 in dmesg, and it looks
like (from hostap_diag wlan0) I have a PRISM III card.  Output is:

NICID: id=0x.... v1.0.0 (PRISM III PCMCIA (SST parallel flash))
PRIID: id=0x.... v1.1.1
STAID: id=0x.... v1.8.0 (station firmware)

So the next question is: How do I upgrade the firmware?  I for one would
have welcomed that digression in your post, Tom, but I'm afraid I don't know
what you mean by "temp ram download."  Or maybe I don't need to upgrade with
a PRISM III card?

And the last question: I have no need for WEP, but would you mind sharing
some of the non-sensitive details from your wpa_supplicant.conf file, Tom?
For more than a week now, I've been working on getting my 3200 connected to
my WPA2 (Radius) network (which I've successfully connected all sorts of
other devices to (WiFi VoIP phone, Windows, and Mac computers), but haven't
yet connected to it using Linux, so I'm not very familiar with
wpa_supplicant yet.  I know I can connect to open WiFi networks, but WPA2
configuration with wpa_supplicant is escaping me despite much reading and
many attempts.

Thanks again, Tom.

-Kevin


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV