Go Down

Topic: Connecting Linino to a 802.1X authenticated WiFi network, as a client (Read 1 time) previous topic - next topic

p4010

Hi,
Anyone having success in connecting  to a wifi net with 802.1X authentication (username+password)?

Thanks.

Federico Fissore

Never tried. Have you tried using the advanced control panel?
Have you upgraded the Yún? If you've just got it, then it needs to be upgraded! Check out the tutorial

p4010


Federico Fissore

I'm not an expert about all the flavours of wifi, but just to be sure: is it a particular wifi security mechanism or you mean that whenever you access this wifi with you computer, the browser shows you a form with user and password fields?
If that's the case, that's called captive portal. There is no common recipe for making the yun work with such portals (everyone is different). You need to mimic your browser behaviour, for example making a sketch that invokes curl with method POST and fields user/password
Have you upgraded the Yún? If you've just got it, then it needs to be upgraded! Check out the tutorial

p4010

Nope, that is not a captive authentication. Rather it is a WiFi authentication based on username/password credentials (insetead of having a single shared secret as for plain WPA/WPA2).

noblepepper

It looks like you need wpad and only wpad-mini shows as available on my Yun. You would probably need to compile on your own, here are some instructions http://wiki.openwrt.org/doc/devel/crosscompile.

Poke around in the OpenWrt world and you'll find more info.

Federico Fissore

#6
Oct 23, 2013, 10:47 pm Last Edit: Oct 23, 2013, 11:04 pm by Federico Fissore Reason: 1
It should work http://wiki.openwrt.org/doc/uci/wireless but we still have to set up a test environment and verify if it really works.
You may try connecting to the yun via the ethernet cable connection then play with wifi configuration via "uci" or directly editing /etc/config/wireless
Have you upgraded the Yún? If you've just got it, then it needs to be upgraded! Check out the tutorial

p4010

Thanks @Federico for pointing out the right starting page. There is still something that does not work though. After editing
Code: [Select]
/etc/config/wireless I get that:
Code: [Select]

root@ArduinoPB:~# wifi
command failed: Device or resource busy (-16)
Command failed: Not found
Successfully initialized wpa_supplicant
Line 20: unknown network field 'eap'.
Line 25: unknown network field 'phase2'.
Line 26: unknown network field 'identity'.
Line 27: unknown network field 'password'.
Line 33: failed to parse network block.
Failed to read or parse configuration '/var/run/wpa_supplicant-wlan0.conf'.
enable_mac80211(radio0): Failed to set up wpa_supplicant for interface wlan0


Something not working with the spa_supplicant thing I suppose. It's hard to give you more details, for I have no complete control overt the wifi environment...

Federico Fissore

Yeah, that's what we got too when we tried to connect to a university wpa2 enterprise. I need to set up a test wireless network and figure out what's wrong
Have you upgraded the Yún? If you've just got it, then it needs to be upgraded! Check out the tutorial

Go Up
 

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.
Name:
Email:

shortcuts: alt+s submit/post or alt+p preview