Thursday, 4 April 2013

Raspberry PI Enterprise Wifi

The dongle I used was the Farnell WiPi this was identified by the PI using
the command lsusb as a
Bus 001 Device 005: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter

I put the required certificate in the /etc/cert directory.
The wpa_supplicant.conf file was edited as follows:-
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
ctrl_interface_group=root
update_config=1
network={
ssid="myAP"
key_mgmt=WPA-EAP
eap=PEAP
identity="myuser"
password="mypassword"
ca_cert="/etc/cert/cacert.crt"
phase2="auth=MSCHAPV2"
priority=0
}

The file /etc/network/interfaces was edited as follows :-
auto lo
iface lo inet loopback
iface eth0 inet dhcp
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant.conf
iface default inet dhcp
gateway 192.168.1.1
up route add default gw 192.168.1.1

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home