Airbear on Linux
Alrighty, here's the instructions. Here's the mentioned security certificate.
---
Setting up Airbear under Linux
Date: 2006-11-30
Author: Mitchell Mebane
Email: Mitchell_Mebane@baylor.edu
Revision 1.0
This document explains how to set up Airbear under Linux. These directions in
particular are for Ubuntu, but the supplied certificate and wpa_supplicant
configuration should work for any modern distribution.
1) What you need
- wpa_supplicant
Should be installed by default with most modern distributions.
I have 0.5.4.
- A wireless card supported by Linux and wpa_supplicant
I have an Intel 2915 chipset in my laptop, which uses the 'wext' driver
in wpa_supplicant.
2) The security certificate
Tracking down the proper security certificate was one of the more
annoying parts of the process. Lucky for you, I'm including it in this
archive. I don't know if there's a canonical location for security
certificates, but I created a directory /etc/certs/ and placed it
in there.
3) The wpa_supplicant config
The config file is generally located at /etc/wpa_supplicant.conf.
Make sure you have 'fast_reauth=1' somewhere, then place the following
at the bottom:
network={
ssid="AIRBEAR"
key_mgmt=IEEE8021X
auth_alg=OPEN
eap=PEAP
identity="your_bearid"
password="yourpassword"
ca_path="/etc/certs"
ca_path2="/etc/certs"
ca_cert="/etc/certs/airbear.pem"
ca_cert2="/etc/certs/airbear.pem"
phase1="peaplabel=0"
phase2="auth=MSCHAPV2"
priority=50
}
4) The distro-specific configuration
Ubuntu 6.10 is fairly easy. I followed the guide here:
https://help.ubuntu.com/community/WifiDocs/WPAHowTo
Look for the Final installation section.
Here is the relevant information:
---
Final installation (Ubuntu 6.10 (Edgy))
Telling Ubuntu Edgy to use WPA supplicant is pleasingly easy.
First find the interface in /etc/network/interfaces. It should look like this:
auto ath0
iface ath0 inet dhcp
Now add these two lines immediately below that:
wpa-driver madwifi
wpa-conf /etc/wpa_supplicant.conf
Where, as above, you have to use your driver and interface in place of the
example madwifi and ath0. That's it! Now when you ifup/ifdown the interface
(of Ubuntu does it for you on boot/shutdown), wpa_supplicant will be
correctly started and stopped.
---
So, for example, I have:
auto eth1
iface eth1 inet dhcp
wpa-driver wext
wpa-conf /etc/wpa_supplicant.conf
Then on reboot (or ifdown eth1 && ifup eth1), everything just works.
---
Setting up Airbear under Linux
Date: 2006-11-30
Author: Mitchell Mebane
Email: Mitchell_Mebane@baylor.edu
Revision 1.0
This document explains how to set up Airbear under Linux. These directions in
particular are for Ubuntu, but the supplied certificate and wpa_supplicant
configuration should work for any modern distribution.
1) What you need
- wpa_supplicant
Should be installed by default with most modern distributions.
I have 0.5.4.
- A wireless card supported by Linux and wpa_supplicant
I have an Intel 2915 chipset in my laptop, which uses the 'wext' driver
in wpa_supplicant.
2) The security certificate
Tracking down the proper security certificate was one of the more
annoying parts of the process. Lucky for you, I'm including it in this
archive. I don't know if there's a canonical location for security
certificates, but I created a directory /etc/certs/ and placed it
in there.
3) The wpa_supplicant config
The config file is generally located at /etc/wpa_supplicant.conf.
Make sure you have 'fast_reauth=1' somewhere, then place the following
at the bottom:
network={
ssid="AIRBEAR"
key_mgmt=IEEE8021X
auth_alg=OPEN
eap=PEAP
identity="your_bearid"
password="yourpassword"
ca_path="/etc/certs"
ca_path2="/etc/certs"
ca_cert="/etc/certs/airbear.pem"
ca_cert2="/etc/certs/airbear.pem"
phase1="peaplabel=0"
phase2="auth=MSCHAPV2"
priority=50
}
4) The distro-specific configuration
Ubuntu 6.10 is fairly easy. I followed the guide here:
https://help.ubuntu.com/community/WifiDocs/WPAHowTo
Look for the Final installation section.
Here is the relevant information:
---
Final installation (Ubuntu 6.10 (Edgy))
Telling Ubuntu Edgy to use WPA supplicant is pleasingly easy.
First find the interface in /etc/network/interfaces. It should look like this:
auto ath0
iface ath0 inet dhcp
Now add these two lines immediately below that:
wpa-driver madwifi
wpa-conf /etc/wpa_supplicant.conf
Where, as above, you have to use your driver and interface in place of the
example madwifi and ath0. That's it! Now when you ifup/ifdown the interface
(of Ubuntu does it for you on boot/shutdown), wpa_supplicant will be
correctly started and stopped.
---
So, for example, I have:
auto eth1
iface eth1 inet dhcp
wpa-driver wext
wpa-conf /etc/wpa_supplicant.conf
Then on reboot (or ifdown eth1 && ifup eth1), everything just works.
Labels: airbear linux


0 Comments:
Post a Comment
<< Home