View
 

Wi-Fi Setup Using Belkin F5D7050 USB

Page history last edited by Will 1 year, 9 months ago

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.

 

Create the /etc/wpa_supplicant/wpa_supplicant.conf file like this:

 

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

 

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:

 

# 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

 

Make sure to comment out any previous iface wlan0 section entries.

 

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

 

Comments (0)

You don't have permission to comment on this page.