![]() |
wpa_supplicant for OS2008
My university uses 802.1X /w WEP and hidden SSIDs. Last night I finally got around to (read: procrastinated while supposedly studying for exams) and compiled wpa_supplicant for OS2008. (wireless-tools also)
Binaries are at http://ified.ca/downloads/maemo/. They were compiled with all options enabled using the WEXT driver. I stuck them in /usr/local/bin and added that to the PATH. I connected successfully with the following steps:
With this /etc/wpa_supplicant.conf: Code:
ap_scan=1 My next goal is to integrate this with wlancond, probably by using a magic WEP key that will tell it to launch wpa_supplicant. My knowledge of wpa_supplicant is minimal, but I believe that this will allow the use of "ap_scan=0" in the config, letting us bypass all the issues with hidden SSIDs. |
Re: wpa_supplicant for OS2008
This is great news for OS2008: previously, we didn't have support in the (closed) wireless kernel module for WEXT and wpa_supplicant.
Time to sort out dummy APs again... |
Re: wpa_supplicant for OS2008
I never found a way on my laptop to roam within a hidden SSID net - short of attaching to a new AP as the old gets completely inaccessible. It does not seem to be possible while maintaining a connection, as nothing short of promiscuous sniffing or a connection attempt (which both severe the existing connection) would tell you the SSID of a hidden AP. If any, you'd have to assume being entirely within range of your hidden network, and hop channels blindly - but that will cause a lost connection whenever you hit upon a foreign hidden net.
|
Re: wpa_supplicant for OS2008
FWIW, I didn't have any trouble roaming with my old T3 w/wi-fi card back when we used hidden SSID at work. Now it's not hidden anymore so I can't test this particular case with my N800.
|
Re: wpa_supplicant for OS2008
Ill try it on our university network (eduroam) with PEAP-MSCHAPv2, i had no luck with connecting to that net :/
|
Re: wpa_supplicant for OS2008
Thanks a lot danguy, i can finally connect to our university network.
i have to do: - connect to the DUMMY AP - ifconfig wlan0 down - ifconfig wlan0 up - start wpa_supplicant - start udhcpd and hurray, iam online :] Quote:
|
Re: wpa_supplicant for OS2008
This is amazing! Thank you so much for uploading those binaries! I can check my mail at school now.
some noob questions: I'm a bit confused about the whole "dummy ap" thing. can you explain it further? right now i'm connecting to an imaginary ad-hoc network, but i lose my connection to it after 20-30 seconds. is this a problem with the ap or with something else? also, do you know if there is any difference between your wirelesstools and the one in the mulliner.org repo? --edit: i just realized you need to do this for the dummy iap to work |
Re: wpa_supplicant for OS2008
Danguy,
I downloaded the binaries and put them in /usr/local/bin and tried to run wpa_supplicant. I get the following errors: ioctl[SIOCSIWAUTH]: Operation not supported WEXT auth param 7 value 0x1 - ioctl[SIOCSIWENCODEEXT]: Operation not supported ioctl[SIOCSIWENCODEEXT]: Operation not supported it continues with similar errors with different param values (0-9) until I quit using ctrl-c it appears to be a driver issue, do I need to download a different driver? I'm on an n800 with the new os2008 release. |
Re: wpa_supplicant for OS2008
Quote:
I tried it with a basic WPA setup (PSK, no EAP thingy). Eric |
Re: wpa_supplicant for OS2008
Quote:
I just compiled wireless-tools because at the time, they were not available. I would recommend the mulliner.org package for the sole reason that it is a package. Quote:
I'll look into it more. |
Re: wpa_supplicant for OS2008
weird. i'm now getting the same
"ioctl[SIOCSIWAUTH]: Operation not supported" errors. i definitely haven't reflashed or changed anything about my system except use gconftool to activate the dummy iap and install a bunch of non-connection-related software (gpe and maemomapper updates, bash, free42). maybe when i have time, i'll reflash and see if that helps. |
Re: wpa_supplicant for OS2008
Any new info on this issue? If I can help somehow in making this work, let me know, getting this working is the only way I'll be able to connect to my campus wireless.
|
Re: wpa_supplicant for OS2008
Could this be due to the wireless driver not supporting Linux Wireless Extensions (WEXT)? I had to patch the driver before I could use wpasupplicant with wpa-psk on Debian on my N800. The patch is here: https://garage.maemo.org/pipermail/c...er/000005.html
|
Re: wpa_supplicant for OS2008
I really need to start monitoring those lists...
Yes. That sounds like it would solve the problem, although I'm not sure what other problems it might create --- later posts on that list talk about issues with the patch. |
Re: wpa_supplicant for OS2008
1 Attachment(s)
well, just make sure you don't replace the real module with it. If things end up getting screwed up you're just one reboot away from the fix. Here it is, compiled for the N800 OS2008 50-2 kernel. IIRC 51-3 is the same kernel, so it should work. Good luck. :)
|
Re: wpa_supplicant for OS2008
your driver did the trick for me!
many thanks! |
Re: wpa_supplicant for OS2008
On side note has anybody gotten LEAP working?
|
Re: wpa_supplicant for OS2008
btw heres a little brute script to connect via wpa supplicant, assuming the driver is in /root/ and dummy network is already active:
Code:
killall wpa_supplicant |
Re: wpa_supplicant for OS2008
Can somebody tell me, where is problem with 802.1x?
I tried to connect to my university network, it shows that it will connect with PEAP/LEAP and MSCHV2, it asked me user/password. And after a moment it says that wlan network is uncompatible. |
Re: wpa_supplicant for OS2008
I have recived some information from my university. They said that the problem with my device that it cannot understand migration mode. It means, that it cannon work well in networks which have same ssid but different 802.1x: wpa2 and automatic wep. Does anybody know something about it. Where can I read about that?
|
Re: wpa_supplicant for OS2008
Here at my university they also have TTLS/PAP and I have used the wpa_supplicant and the patched kernel module from this thread with success for a while under Chinook. Unfortunately it stopped working after I updated to Diablo. Wpa_supplicant seems still to work (I needed to create two symlinks for libssl and libcrypto), but the kernel module stopped working. Is there a chance that somebody could update this for the current kernel? TIA!
EDIT: I should also mention that the old gconftool trick to add a dummy IAP does not work anymore for me under Diablo. It adds a connection that I can also see under "Connectivity Settings->Connections" but not under "Select Connections". Is there any way to see all the connections in the select dialog? |
Re: wpa_supplicant for OS2008
|
Re: wpa_supplicant for OS2008
anyone manage to get this working on Diablo? I tried the link above, and it didn't work :(
|
Re: wpa_supplicant for OS2008
I need full WPA support on the N810 OS2008 Diablo. Will Maemo release full WPA support in the future? Any good tutorials on how to get full WPA support? My univ does not have a certificate.
|
Re: wpa_supplicant for OS2008
Quote:
|
Re: wpa_supplicant for OS2008
Still haven't managed to get this to work. For some reason, the network is detected as WEP. Has anyone had any success?
|
All times are GMT. The time now is 14:08. |
vBulletin® Version 3.8.8