802.11ac SOWN Zepler

From SOWNWiki
Jump to: navigation, search

This is a project to build a new SOWN Zepler node that provides wireless access using the 802.11ac, as well as the 802.11n Wi-Fi standards. It also now has has a couple of USB SDRs added to it that can be viewed on Sown-data1 as the Zepler WebSDR. Currently this is only available if you are connected to the ECS network at the University of Southampton.

SOWN-Zepler base unit 1.jpg SOWN-Zepler base unit 2.jpg

Task List

  • Configure interfaces, Hostapd and RADIUS for Wi-Fi.
  • Label coax cables

Serial Console

The serial console is a DB9 male, set to 115200 baud, and needs a null modem cable.

Component List

This lists all the items we already have for building the new 802.11ac Zepler node.


To make it easier to install and configure the SDRs, a 64-bit version of Debian 8 (Jessie) has been installed on the MSATA SSD.

Installing the Operating System

Netbooting Debian

Netbooting is the easiest method to install debian on the APU board. This is because it allows for easy modification of the installation files to force the board to install over a serial cable rather than using a video output. The APU board we were using is a difficult one as it also has a graphics processor with no display connector. Hence, the installer tries to use this and we get no idea what's going on.

To netboot the board, I used instructions from this link. [1]

During the installation, select the following options at the package selection stage:

  • DISABLE Debian Desktop Environment (extra overhead for a server device)
  • ENABLE SSH Server
  • ENABLE Standard System Utilities . Seemed like we could need them at some point.

Remember to install grub.

Post-installation setup

Check everything's up to date

su root
<password entered during setup>
apt-get update

If you used the guide I suggested above, you've now ended up with Debian 7 (Wheezy) installed. Let's update it to Debian 8 (Jessie) Now, edit /etc/apt/sources.list, replacing all instances of 'wheezy' with 'jessie' Then,

apt-get update
apt-get upgrade
apt-get dist-upgrade

Now, install a newer kernel. In this case, we upgraded to 4.9 from 3.2. I used this [2]

Edit sources.list to include backports

deb http://ftp.debian.org/debian jessie-backports main
apt-get update
apt-cache search linux-image
apt-get install -t jessie-backports linux-image linux-image-amd64

And now we're running a really recent kernel.

Now, add non-free to each of the items in /etc/apt/sources.list (I did this for the first two (jessie) and also the (jessie backports) entry)

Now to install the drivers for the Broadcom NIC

apt-get install broadcom-sta-dkms wireless-tools

It's likely time for a reboot now....

sudo reboot

(Hopefully it'll come back up)

ssh user@<sown-zepler-ip>

It lives! Let's just check it's running the new kernel we installed...

uname -r

Ok so the kernel upgrade broke the broadcom firmware. Install these things first and then reinstall the firmware.

Basically, install as many headers as you can, (sudo apt-cache search linux-headers) and it works


sudo apt install broadcom-sta-dkms

Now to install ath10k with associated firmware.


Configuring as a SOWN node

To be completed

The steps required to configure the system to work as a SOWN node should be saved as Puppet scripts, so that these can be reused if we want to build a second node or need to rebuilt this node after a failure.

The general day-to-day configuration should still be manageable through the SOWN admin system. Therefore, the configuration needs to include a script that can pull down configuration files to update aspects of the system, such as wireless channels to use.