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)
Philipp Sieweck <[email protected]> Fri, 12 Jan 2007 13:53:30 +0100
| Newsgroups | gmane.comp.handhelds.openzaurus.user |
|---|---|
| Message-ID | <[email protected]> |
Am Donnerstag, den 11.01.2007, 19:59 -0500 schrieb Kevin:
> 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)
This is the same thing I did before "ipkg remove -recursive *orinoco*".
But this is, as you already know, only a temporary solution :( I looked
into the /etc/pcmcia (iirc) directory too, but couldn't figure out what
was wrong. So I was satisfied with the ipkg solution although it is
certainly not the optimal solution.
>
> 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
>
I have an openwrt router and use my Zaurus to connect via WPA2+Radius,
too, so I can at least give you my wpa_supplicant.conf file:
--------------------------------------------------------------
ctrl_interface=/var/run/wpa_supplicant_own
ctrl_interface_group=adm
network={
ssid="swifi"
scan_ssid=1
key_mgmt=WPA-EAP
pairwise=CCMP TKIP
group=CCMP TKIP
eap=TLS
identity="Philipp Sieweck"
ca_cert=".../demoCA/cacert.pem"
client_cert=".../lan/psi-cert.pem"
private_key=".../lan/psi-key.pem"
private_key_passwd="XXX"
}
---------------------------------------------------------------
Hope this helps.
Philipp
-------------------------------------------------------------------------
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