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

Raspberry PI Kiosk

Do the usual things after installing an image on the SD card and booting the Pi
for the first time run
sudo raspi-config
then set boot desktop in boot_behaviour

sudo apt-get install chromium x11-xserver-utils unclutter

Edit /etc/xdg/lxsession/LXDE/autostart file and comment out screensaver line, add lines below
@xset s off
@xset -dpms
@xset s noblank
@chromium --kiosk --incognito http://www.google.com # your URL here



File resolv.conf changed on reboot

The file /etc/resolv.conf was being reset and losing the correct nameserver on my Raspberry Pi after a reboot. The unfriendly way of fixing ...