Instructions for setting up Wi-Fi in Linux with WPA security using the Belkin F5D7050 USB module. This assumes your kernel has the RT73, ieee80211, etc. modules already installed and running. If not, see the Liquidware BeagleBoard Linux Kernel for more information on configuring the kernel.
WPA Setup
Use the wpa_supplicant application, to assist in setting up a Wi-Fi connection based on WPA security.
Screen into the beeagleboard using your usb -> serial adapter, or USB mini cable connection on the BeagleTouch panel.
On my Mac, the command looks like this:
Christophers-MacBook-Pro:~ chris$ screen /dev/tty.usbserial-AE00GP9C 115200
On first boot, you'll see the Angstrom login screen:
Angstrom 2009.X-stable beagleboard ttyS2
beagleboard login:
Next, create the /etc/wpa_supplicant/wpa_supplicant.conf file like this:
Paste the following text command:
root@beagleboard:~# echo '
ap_scan=1 ctrl_interface=/var/run/wpa_supplicant
network={ ssid="<your ssid here>" scan_ssid=0 proto=WPA key_mgmt=WPA-PSK psk="<your password here>" pairwise=TKIP group=TKIP
}
' > /etc/wpa_supplicant/wpa_supplicant.conf
|
Make sure to edit the ssid="<your ssid here>" and psk="<your password here>" fields to match your network.
Update your /etc/network/interfaces file by modifying the wireless section to look like this:
$ vi /etc/network/interfaces
type i for insert mode to edit text
Paste the following text into /etc/network/interfaces file:
# A WPA1 or WPA2 encrypted connection using an external configuration file # for wpa-supplicant. This is the way to go if you need to configure multiple # networks with different keys and / or WPA settings and roaming support. # iface wlan0 inet dhcp wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf wpa-driver wext pre-up killall -q wpa_supplicant ; sleep 1 ; killall -q wpa_supplicant ; wpa_supplicant -B -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf post-down killall -q wpa_supplicant
|
NOTE: Make sure to comment out any previous iface wlan0 section entries using the # at the beginning of the line
To save, type:
escape
shift semi colon
w q
root@beagleboard:~#
Starting Wi-Fi
Start the interface
$ ifup wlan0
Try a ping
$ ping www.google.com
PING www.google.com (173.194.33.104): 56 data bytes
64 bytes from 173.194.33.104: seq=0 ttl=55 time=23.987 ms
64 bytes from 173.194.33.104: seq=1 ttl=55 time=21.546 ms
3 major WIFI cards made by Belkin
WiFi_IC_types.pdf
Comments (0)
You don't have permission to comment on this page.