Tutorials

WiFi

Wi-Fi Set-up for Raspberry Pi #

Make sure your interface file and wpa_supplicant.conf look like the ones below -


pi@raspberrypi ~ $ sudo nano /etc/network/interfaces

auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp

pi@raspberrypi ~ $ sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
ssid="YOURSSID"
psk="YOURPASSWORD"

# Protocol type can be: RSN (for WP2) and WPA (for WPA1)
proto=WPA

# Key management type can be: WPA-PSK or WPA-EAP (Pre-Shared or Enterprise)
key_mgmt=WPA-PSK

# Pairwise can be CCMP or TKIP (for WPA2 or WPA1)
pairwise=TKIP

#Authorization option should be OPEN for both WPA1/WPA2 (in less commonly used are SHARED and LEAP)
auth_alg=OPEN
}


pi@raspberrypi ~ $ sudo reboot

To view all WiFi networks -

Raspberry Pi

Raspberry Pi Setup #

Steps I followed to set-up my raspberry Pi with Raspbian

Also configure -

  • XBMC (for playing videos)
  • NFS (to access external hard drive from any device in the house)
  • VNC viewer (to access the desktop from any device in the house)

Format SD Card #

  • Windows
  1. Download SD Formatter
  2. Install SD Formatter and run the software
  3. Set “FORMAT SIZE ADJUSTMENT” to ON in the Options menu.
  4. Make sure you have selected the Drive your SD Card is inserted in
  5. Format the memory card
  • Linux
  1. Use gparted (or the command-line version parted if you prefer), if you don’t have it, install it as you usually would.
  2. Format the entire disk as FAT / FAT16 (make sure you select the correct disk)

Install OS #

NOOBS