WIFI-G-MINIPCI

From embeddedTS Manuals
WIFI-G-MINIPCI
Accessories Product Page

Overview

The WIFI-G-MINIPCI is a miniPCIE 802.11g WiFi adapter (QCOM Part# Q802XKG) which snaps into a miniPCI connector for a rugged, reliable WiFi solution. This adapter features the Ralink RT2571WF chipset. While this does connect to miniPCIE form factor, it uses a USB interface that is also brought out to this interface so it will work on many ARM systems that do not have a PCIe bus.

Getting Started

The WIFI-G-MINIPCI uses the rt73 driver in our supported TS-7500 image. To get this running from the stock image:

wget ftp://ftp.embeddedTS.com/ts-arm-sbc/ts-7500-linux/binaries/ts-modules/rt73_ts7500_jun012010.ko
mv rt73_ts7500_jun012010.ko /lib/modules/2.6.24.4/kernel/drivers/net/wireless/rt73.ko
depmod
modprobe rt73

Now that it is loaded it should show up in "ifconfig -a" as rausb0.

Usage

Scan for networks

ifconfig rausb0 up
iwlist scan rausb0

Infrastructure Mode

Connect to an Open Access point

ifconfig rausb0 up

# Replace linksys with your network name
iwconfig ra0 essid "linksys" 
# Set a static ip address
#ifconfig rausb00 192.168.1.101

# Request an IP address from a DHCP server
# Depending on your board, this could be pump, dhclient, or udhcpc
pump -i rausb0

Connect to a WEP Encrypted Access point

ifconfig rausb0 up

# Replace linksys with your network name, as well as the 'testing' key.
iwconfig rausb0 essid "linksys" key "testing"

# Set a static ip address
#ifconfig rausb0 192.168.1.101

# Request an IP address from a DHCP server
# Depending on your board, this could be pump, dhclient, or udhcpc
dhclient rausb0

Connect to a WPA Encrypted Access point

ifconfig rausb0 up

# Generate a configuration file for wpa_supplicant to use
wpa_passphrase the_essid the_password > /etc/wpa_supplicant_custom.conf

# Insert "proto=RSN" into "network" block in /etc/wpa_supplicant_custom.conf
vi /etc/wpa_supplicant_custom.conf

# Use wpa_supplicant to associate with AP and run it in the background (-B)
wpa_supplicant -irausb0 -Dralink -c/etc/wpa_supplicant_custom.conf -B

# Set a static ip address
#ifconfig rausb0 192.168.1.101

# Request an IP address from a DHCP server
# Depending on your board, this could be pump, dhclient, or udhcpc
pump -i rausb0

Adhoc Mode

ifconfig rausb0 up

# Set ra0 to adhoc mode.  Change "testing" to set the broadcasted network name.
iwconfig rausb0 mode ad-hoc channel 3 enc off essid "testing"

# Set a static ip address
#ifconfig rausb0 192.168.1.101

Master Mode

Unfortunately this device does not support master mode.