Home » Wireless setup

Wireless setup

How to set up Wireless on a Raspberry Pi

Raspbian Wheezy and Debian Wheezy

Option 1: The Hard way (that doesn’t require any external packages)

  1. Plug in your AusPi Technologies 802.11b/g/n Raspberry Pi Wireless adaptor
  2. Plug in a USB keyboard
  3. Boot up your Raspberry Pi
  4. Log into Wheezy using the credentials:
    Username: pi
    Password: raspberry
  5. Check the wireless adaptor by running: sudo iwconfig
  6.  Check that your wireless adaptor has been assigned ‘wlan0’ (if it isn’t just change all references below to ‘wlan0’ to the correct interface)
  7. Scan for your wireless network by running: sudo iwlist wlan0 scan
  8. Check and note the following:
    • ESSID: the “name” of the access point.
    • Quality: in general try something above 40/70.
    • Encryption key: if it is “on”, check if you can see any line regarding
      • WEP, WPA, or RSN. Note that RSN and WPA2 are different names for the protocol.
      • Group cipher: value in TKIP, CCMP, both, others.
      • Pairwise ciphers: value in TKIP, CCMP, both, others. Not necessarily the same value than Group cipher.
      • Authentication Suites: value in PSK, 802.1x, others. For home router, you’ll usually find PSK (i.e. passphrase). In universities, you are more likely to find 802.1x suite which requires login and password. Then you will need to know which key management is in use (e.g. EAP), and what encapsulation it uses (e.g. PEAP). Find more details at Wikipedia:List_of_authentication_protocols and the sub-articles.
  9. Now, associate to the network with the following command:
    • Open Network: sudo iwconfig wlan0 essid “MyEssid” enc off
    • WEP Hex Key: sudo iwconfig wlan0 essid “MyEssid” key 1234567890
    • WEP Ascii Key: sudo iwconfig wlan0 essid “MyEssid” key s:asciikey
    • WPA: Read this Guide
  10. Check you are associated to the network by running: sudo iwconfig wlan0
  11. Now get an IP address from the DHCP server by running: sudo dhclient wlan0
  12. Congratulations, you are now connected to the wireless network.

Option 2: The Easy Way

  1. Plug in your AusPi Technologies 802.11b/g/n Raspberry Pi Wireless adaptor
  2. Plug in a USB keyboard
  3. Boot up your Raspberry Pi
  4. Log into Wheezy using the credentials:
    Username: pi
    Password: raspberry
  5. Install wicd from the Linux repository: sudo apt-get install wicd wicd-curses
  6. Follow the install instructions, and add ‘pi’ to the group of WiFi administrators
  7. Run: wicd-curses
  8. Use the GUI to connect.

 

OpenELEC

Please see our article here, at AusPi TV for how to setup in OpenELEC (it’s the same operating system).

 

More Information?

Raspberry Pi Tutorials in the UK have a great guide for wireless setup.

http://www.raspberrypi-tutorials.co.uk/set-raspberry-pi-wireless-network/