For those that want to plug in Wifi Adapter to the RPi, here is my instructions / setting for ASUS USB-N10 Wifi Adapter..
It is a small Wireless-N adapter...
*** I'm running Rasbian Oct released.... so most of the drivers are included ....
Step 1. Check dmesg for h/w detection :-
CODE
$ dmesg
[ 388.020831] usb 1-1.3.1: Product: ASUS EZ N Network Adapter
[ 388.020844] usb 1-1.3.1: Manufacturer: Manufacturer Realtek
[ 388.020857] usb 1-1.3.1: SerialNumber: 00e04c000001
[ 388.029637] r8712u: DriverVersion: v7_0.20100831
[ 388.029735] r8712u: register rtl8712_netdev_ops to netdev_ops
[ 388.029755] r8712u: USB_SPEED_HIGH with 4 endpoints
[ 388.030860] r8712u: Boot from EFUSE: Autoload OK
[ 388.769196] r8712u: CustomerID = 0x0010
[ 388.769225] r8712u: MAC Address from efuse = 30:85:a9:6e:1d:7e
[ 388.769241] r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
[ 389.738094] r8712u: 1 RCR=0x153f00e
[ 389.738943] r8712u: 2 RCR=0x553f00e
Step 2. Check for loadable modules
CODE
$ lsmod
r8712u 165407 0
Step 3. Check to make sure USB is detected
CODE
$ lsusb
Bus 001 Device 007: ID 0b05:1786 ASUSTek Computer, Inc. USB-N10 802.11n Network Adapter [Realtek RTL8188SU]
Step 4. Generate WPA PSK from command line :- ( I assume your Wifi security is WPA/WPA2 )
passphrase is the password for your Wifi WPA settings
CODE
$wpa_passphrase <SSID> <passphrase>
Copy and paste the long strings into below :-
Edit the below file with your favourite editor, mine is vi
sudo vi /etc/network/interfaces
# Wifi settings with WPA PSK
auto wlan0
iface wlan0 inet dhcp
wireless-mode managed
wireless-essid <SSID>
wpa-ssid <SSID>
# strings from wpa_passphrase
wpa-psk <pass phrase strings output from above steps>
iface default inet dhcp
Step 5. Check ifconfig for wlan0 interface
CODE
$ ifconfig
wlan0 Link encap:Ethernet HWaddr 30:85:a9:6e:1d:7e
inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:464 errors:0 dropped:0 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:47289 (46.1 KiB) TX bytes:1590 (1.5 KiB)
6. Check iwconfig for wireless settings
CODE
$ iwconfig
wlan0 IEEE 802.11bgn ESSID:"XXXXX" Nickname:"rtl_wifi"
Mode:Managed Frequency:2.437 GHz Access Point: BC:AE:C5:E7:D9:86
Bit Rate:150 Mb/s Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Power Management:off
Link Quality=100/100 Signal level=100/100 Noise level=0/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
7. Restart the wlan0 interface
CODE
$ sudo ifdown wlan0 && sudo ifup wlan0
8. Check status on your Wireless router to make sure RPi wifi is associated to the wireless with WPA turned on
Make sure your DHCP Server on your Wireless router is turned on...
This post has been edited by stan001: Nov 28 2012, 01:19 PM