Beagle MAC80211 Connectivity

Summary
Provided you have the Beagle Board and the associated WLAN daughter card it is quite easy to get the WiLink up and running on it. This page provides you the relevant information to do that. (The OpenLink.org site provides information on the open source software development effort for it.)

For background information on the Beagle Board visit:


 * BeagleBoard Wiki

To get WiLink on the Beagle Board you have to have the WLAN daughter card for it. This expansion card enables the wireless connectivity functionality:


 * BeagleToy WLAN adapter at boardzoo.com

Hardware information
To obtain a Beagle Board you can visit the vendor sites linked on this page:


 * BeagleBoard Hardware

The following page has the vendor information for the new BeagleBoard-xM (see Buy-xM page):


 * About BeagleBoard-xM

Board Setup
First steps:
 * Pre-requisite: minicom (or another terminal app)
 * Insert the micro-SD card
 * Connect the USB-serial adapter
 * Connect the USB cable (power supply)

Start minicom:
 * Use: minicom -s -o
 * Use: /dev/ttyUSB0
 * Set: 115200 8N1
 * Set: No HW/SW flow control

Log in to the serial console.

Beagle Board uses a two-phase boot:
 * First phase: X-Loader (MLO)
 * Second phase: u-boot.bin
 * 1) Sets up the environment
 * 2) Kernel parameters given to this for booting of kernel.

Software:
Which (Linux) Kernel should I use?:
 * Mainline-based Linux: 2.6.39-rc1
 * One patch for the WLAN daughter card: [[File:0001-omap-beagle-add-support-for-wl1271-on-the-board-file.patch.gz]]

Connecting to an open Access Point
Once you have the Beagle Board (with the WLAN daughter card) up and running a variant of Linux (with the WLAN patches applied) you are almost home. The following steps show you how to get the interface up.

Set your own MAC address:

ifconfig wlan0 hw ether 08:00:28:00:00: ifconfig wlan0 up

Using the iw tool to scan:

iw wlan0 scan

Connecting to an open AP:

iw wlan0 connect -w OpenLink dhclient wlan0 ping 192.168.1.1

Disconnect:

iw wlan0 disconnect

Connecting to a WEP AP
Connecting with iw using a pre-defined key: iw wlan0 connect -w OpenLinkWEP key 0:00deadbeef

Connecting with wpa_supplicant: vim wep.conf ctrl_interface=DIR=/var/run/wpa_supplicant network={ ssid="OpenLinkWEP" scan_ssid=1 key_mgmt=NONE wep_key0=00deadbeef }

wpa_supplicant -B -i wlan0 -c wep.conf wpa_cli status dhclient wlan0 ping 192.168.1.1

Downloads:
Patch to get WLAN working (for Linux kernels):
 * One patch for the WLAN daughter card: [[File:0001-omap-beagle-add-support-for-wl1271-on-the-board-file.patch.gz]]

Current known issues:

 * Performance results:
 * Errata:
 * Miscellaneous:
 * Support:

Related Links
Wlan Adapter Wiki Support Page:
 * http://beagleboardtoys.com/wlan/support/index.php?title=Main_Page

Register your project to win a BeagleBoard + Wi-Fi™ card:
 * http://OpenLink.org

Linuxwireless.org – visit for additional information:
 * http://wireless.kernel.org/en/users/Drivers/wl12xx

Linuxwireless.org – visit for additional BeagleBoard related:
 * Ubuntu - http://elinux.org/BeagleBoardUbuntu
 * Debian - http://elinux.org/BeagleBoardDebian

PandaBoard related:
 * http://www.pandaboard.org/content/resources/software

wl12xx.git:
 * git://git.kernel.org/pub/scm/linux/kernel/git/luca/wl12xx.git

Back to Connectivity Home Page