#1) Ensuring your usb WiFi Card is connected/recognized
=============================================
A) run: lsusb
- Code: Select all
lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 1737:0078 Linksys WUSB100 v2 RangePlus Wireless Network Adapter [Ralink RT3070]
Bus 001 Device 005: ID 03f0:0f0c Hewlett-Packard Wireless Keyboard and Optical Mouse receiver
- Code: Select all
dmesg | grep 1737
usb 1-1.2: New USB device found, idVendor=1737, idProduct=0078
- Code: Select all
dmesg | grep 1-1.2
usb 1-1.2: new high speed USB device number 4 using dwc_otg
usb 1-1.2: New USB device found, idVendor=1737, idProduct=0078
usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.2: Product: Linksys RangePlus Wireless Network USB Adapter
usb 1-1.2: Manufacturer: Cisco-Linksys LLC
usb 1-1.2: reset high speed USB device number 4 using dwc_otg
Caveat: Mine worked OOB, so I do not have instructions for installing drivers from scratch. (I can add them if someone goes through that pain)
#2) Acquire Wireless Tools
======================
This one is crazy simple:
- Code: Select all
pacman -S wireless_tools iwconfig
Note from the Arch wiki:
Note: wireless_tools may not be required depending on the age of your hardware and whether your hardware/drivers support wpa_supplicant. If your configuration is supported well enough to work using only wpa_supplicant, then it is recommended to stick with wpa_supplicant only.
#3) Check if iwconfig can see your card
==============================
- Code: Select all
iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:on
#4)Configure Wpa via wpa_passphrase:
===============================
First the Man Page:
- Code: Select all
WPA_PASSPHRASE(8) WPA_PASSPHRASE(8)
NAME
wpa_passphrase - Generate a WPA PSK from an ASCII passphrase for a SSID
SYNOPSIS
wpa_passphrase [ ssid ] [ passphrase ]
OVERVIEW
wpa_passphrase pre-computes PSK entries for network configuration blocks of a wpa_supplicant.conf file. An ASCII passphrase and SSID are used to generate a 256-bit PSK.
OPTIONS
ssid The SSID whose passphrase should be derived.
passphrase
The passphrase to use. If not included on the command line, passphrase will be read from standard input.
SEE ALSO
wpa_supplicant.conf(5) wpa_supplicant(8)
LEGAL
wpa_supplicant is copyright (c) 2003-2007, Jouni Malinen <j@w1.fi> and contributors. All Rights Reserved.
This program is dual-licensed under both the GPL version 2 and BSD license. Either license may be used at your option.
- Code: Select all
wpa_passphrase <SSID> <Passphrase> >> wpa_supplicant.conf
#and cat the file:
cat wpa_supplicant.conf
network={
ssid="SSID"
#psk="PASSPHRASE"
psk=38497220976092fc2707a838e4d4385019256149f99f935be22c90159d3b8373
}
#5)Now Connect:
=============
- Code: Select all
sudo wpa_supplicant -Dwext -iwlan0 -c /home/pi/wpa_supplicant.conf &
#6)Now renew dhcp:
================
- Code: Select all
dhcpcd wlan0
That *should* do it. I have to run away, but I'll update/fix when I can look at this later.
Peace!