Beagle MAC80211 Connectivity
From OMAPpedia
Contents |
[edit] Beagle Board mac80211 Connectivity
[edit] 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:
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:
[edit] Hardware information
To obtain a Beagle Board you can visit the vendor sites linked on this page:
The following page has the vendor information for the new BeagleBoard-xM (see Buy-xM page):
[edit] 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
- Sets up the environment
- Kernel parameters given to this for booting of kernel.
[edit] 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
[edit] 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:<number> 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
[edit] 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
[edit] 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
[edit] Release Notes
[edit] Current known issues:
- Performance results:
- Errata:
- Miscellaneous:
- Support:
[edit] Related Links
Wlan Adapter Wiki Support Page:
Register your project to win a BeagleBoard + Wi-Fi™ card:
Linuxwireless.org – visit for additional information:
Linuxwireless.org – visit for additional BeagleBoard related:
- Ubuntu - http://elinux.org/BeagleBoardUbuntu
- Debian - http://elinux.org/BeagleBoardDebian
PandaBoard related:
wl12xx.git:
- git://git.kernel.org/pub/scm/linux/kernel/git/luca/wl12xx.git