Raspberry Pi Wi Fi

To setup a wireless KA Lite server, Follow these instructions. 


Two Wi Fi USB modules have been tested with KA Lite on the Raspberry Pi
  • Raspberry Pi WiPi adaptor
  • Edimax EW-7811Un

In our tests, we found that the WiPi adaptor supported a higher number tablet connections.


Before installation begins

Important: The Raspberry Pi may crash if the USB adaptor is inserted or removed while the computer is switched on.

Shutdown and remove the power from the Raspberry Pi

Insert the wireless USB adaptor

Switch on the Raspberry Pi


1. Make sure the Raspberry Pi operating system is up-to-date

Login with the account used to install KA Lite.

Update the Raspberry Pi operating system

sudo apt-get update
sudo apt-get upgrade


2. Get the installation scripts

cd /opt
sudo git clone https://github.com/learningequality/ka-lite-pi-scripts.git



3. Install and configure the access point

cd /opt/ka-lite-pi-scripts

sudo ./configure.sh

Note: If using the Edimax EW-7811Un, ignore the "hostapdSegmentation fault" error


4. Install the USB adaptor software

If using the WiPi, run this command:
cd /opt/ka-lite-pi-scripts
sudo ./use_wipi
.sh


If using the Edimax EW-7811Un
cd /opt/ka-lite-pi-scripts
sudo ./use_edimax.


5. Complete the access point configuration


sudo python ./configure_network_interfaces.py
sudo insserv hostapd

sudo nano /etc/default/ifplugd

Amend these two settings:

...
INTERFACES="eth0"
HOTPLUG_INTERFACES="eth0"
...



6. Set wireless to start automatically

sudo nano /etc/network/interfaces

Then add the "auto wlan0" option and save the file

...
auto wlan0
iface wlan0 inet static
  address 1.1.1.1

...



7. Finally

sudo reboot

A wireless network named "kalite" should be available
Connect to this network

If the KA Lite server is started, browse to 1.1.1.1

Comments