Book Image

Banana Pi Cookbook

By : Ryad El-Dajani
Book Image

Banana Pi Cookbook

By: Ryad El-Dajani

Overview of this book

Table of Contents (13 chapters)

Wireless network on the Banana Pro


This recipe explains how to configure a wireless network on the Banana Pro.

Getting ready

The following ingredients are required for this recipe.

  • A Banana Pro with the wireless LAN antenna attached

  • An SD card containing the Raspbian operating system for the Banana Pro

  • An attached keyboard, mouse, and display to configure WLAN via the desktop

  • Alternatively, an SSH connection to configure WLAN manually

To attach the WLAN antenna, flip your Banana Pro, and carefully plug in the antenna into its slot beneath the Micro SD slot. The following image shows the Banana Pro and the wireless LAN antenna plugged in correctly:

How to do it…

We need to do two things to configure the wireless network.

Loading the ap6210 module

The wireless LAN interface depends on a special module named ap6210. The following are the steps to load this module:

  1. Open a shell.

  2. Load the module by typing:

    $ sudo modprobe ap6210
    
  3. Type the following command to list all the currently loaded modules:

    $ lsmod...