Showing posts with label Wifi. Show all posts
Showing posts with label Wifi. Show all posts

Saturday, February 14, 2015

Raspberry pi adding USB dongle Realtek RTL8188CUS


I received today my Realtek dongle for my Raspberry pi.

To have a reminder. I write this short post.

Recipe

  • Power off raspberry pi
  • Put add your wifi dongle
  • Use lsusb command to see if your peripheral is right detected. Your should see something like

Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp.
 RTL8188CUS 802.11n WLAN Adapter


Then in /etc/network edit in sudo mode the interfaces file

allow-hotplug
wlan0
auto wlan0
iface wlan0 inet dhcp
wpa-conf etc/${path_to_your_wpa_supplicant.conf}


Then edit your wpa_supplicant.conf. see here for more informations or here. Be carreful when setting up network parameter, that depends of your wifi point authentification (WEP,WPA or WPA2)
network={
     ssid="your_ssid_box_for_example"
     psk="your_password"
     proto=RSN
     key_mgmt=WPA-PSK
     pairwise=CCMP TKIP
     group=CCMP TKIP
 }
At the end shutdown your raspberry, disconnect your previous ethernet conection (if exists). Restart your RPi.
After restart you should have an IP adress for your wlanYY interface (use ifconfig command).