SEARCH
TOOLBOX
LANGUAGES
modified on 17 August 2010 at 17:28 ••• 71,846 views

Using Wireless USB Adapters

From Manuals

(Difference between revisions)
Jump to: navigation, search
(Procedure to Enable Wireless USB Adapters on Electrum100)
(Procedure to Enable Wireless USB Adapters on Electrum100)
Line 4: Line 4:
'''Electrum100''' with a battery provides our Customers with an option to Deploy the board and access it without any wires, making the Deployment very easy and convenient. Feel Free to contact support@micromint.com for further queries and support.
'''Electrum100''' with a battery provides our Customers with an option to Deploy the board and access it without any wires, making the Deployment very easy and convenient. Feel Free to contact support@micromint.com for further queries and support.
 +
 +
The Following procedure helps in configuring the Wireless USB adapters for your Electrum100 board.
The Following procedure helps in configuring the Wireless USB adapters for your Electrum100 board.

Revision as of 18:01, 17 June 2010

Contents

Procedure to Enable Wireless USB Adapters on Electrum100

Electrum100 no longer needs a wired connection to communicate to the outside world. Wireless access to the board is a very convenient option for many practical scenarios where deployment is remote.

Electrum100 with a battery provides our Customers with an option to Deploy the board and access it without any wires, making the Deployment very easy and convenient. Feel Free to contact support@micromint.com for further queries and support.


The Following procedure helps in configuring the Wireless USB adapters for your Electrum100 board.

Tested on

- LINKSYS WUSB54GC Version 1; Chipset & Driver: Ralink RT2501USB / RT73

- BELKIN F5D9050; Chipset & Driver: Ralink RT2501USB / RT73

- SMC EX Connect g 802.11g Wireless USB 2.0 Adapter; Chipset & Driver: ZyDAS / ZD1211


1) Make sure that the Kernel has Configurations required to enable Wireless USB. ( In this example RT2X00, RT73USB, ZD1211 modules are enabled.)

CONFIG_CFG80211=y
CONFIG_NL80211=y
CONFIG_WIRELESS_EXT=y
CONFIG_WIRELESS_EXT_SYSFS=y

CONFIG_MAC80211=y
CONFIG_MAC80211_RC_PID=y
CONFIG_MAC80211_RC_DEFAULT_PID=y
CONFIG_MAC80211_RC_DEFAULT="pid"

CONFIG_WLAN_80211=y

CONFIG_RT2X00=m
CONFIG_RT2X00_LIB=m
CONFIG_RT2X00_LIB_USB=m
CONFIG_RT2X00_LIB_FIRMWARE=y
CONFIG_RT2X00_LIB_LEDS=y
 
CONFIG_RT73USB=m
CONFIG_ZD1211RW=m

CONFIG_RT73USB_LEDS=y

CONFIG_CRYPTO=y
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_BLKCIPHER=y
CONFIG_CRYPTO_MANAGER=y
CONFIG_CRYPTO_ECB=y
CONFIG_CRYPTO_AES=y
CONFIG_CRYPTO_ARC4=y
CONFIG_CRYPTO_HW=y
CONFIG_CRC_ITU_T=y

2) Start Electrum100 with the newly Built Kernel.

3) Update the list of available packages, then install the firmware-ralink, wireless-tools, wpasupplicant packages:

Electrum100~# apt-get update

Electrum100~# apt-get install firmware-ralink wireless-tools wpasupplicant

4) Add appropriate lines for your wireless network connection and restart the board.

Electrum100~# vi /etc/network/interfaces  
#Wirless USB
auto wlan0
iface wlan0 inet dhcp
wpa-psk password
wpa-driver wext
wpa-key-mgmt WPA-PSK
wpa-proto WPA2
wpa-ssid micromint

5) If not already performed, connect the device to your system.

The necessary kernel module should be automatically loaded. If necessary, it can be manually loaded using(example):

Electrum100~# modprobe rt73usb

6) Verify If your device has an available interface:

Electrum100~# iwconfig

Note: You can disable the Wired-Network by using "ifconfig eth0 down".

7) Bring your interface up. This will start wpa_supplicant as a background process.

Electrum100# ifup wlan0

8) To go back to Wired Network:

Electrum100/# ifdown wlan0

Unplug the wireless device and connect the LAN cable

Electrum100/# ifconfig eth0 up


For Support contact support@micromint.com