Sunday, September 7, 2014

Raspberry Pi - Raspbian - 2015

Windows 7
SDFormatter 4.0
Win32DiskImager
PuTTY 0.63
Raspbian 2015-02-16


Status:

  • 05/04/2015 - Configuring Wi-Fi network
  • 07/09/2014 - Access allowed (SSH through Raspberry Pi ethernet adapter). 

Install:


Configure:
  • Configure keyboard, timezone, ssh service and camera-support (raspi-config).
  • Login with default user and password (pi  raspberry).
  • Configuring Wi-Fi:
  • sudo cp /etc/wpa_supplicant/wpa_supplicant.conf  /etc/wpa_supplicant/wpa_supplicant.conf.orig
  • sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
  • Go to the bottom of the file and add the code bellow.

  • sudo cp /etc/network/interfaces /etc/network/interfaces.orig
  • Allow hotplug and dhcp client to wlan0 network interface:

  • Save the file and reboot system.
  • Check network status:
  • sudo ifconfig wlan0

  • Tip for ubuntu 16.04 Server:
  • Do not need wpa_supplicant.conf file, just config ssid and psk in /etc/network/interfaces file. 
  • auto wlp3s0
  • iface wlp3s0 inet dhcp
  •        wpa-ssid network-name
  •        wpa-psk pre-shared-key
  • Configuring Ethernet cable network:
  • Allow hotplug to eth0 network interface:
  • sudo nano /etc/network/interfaces


  • Connect Ethernet cable to Raspberry Pi board.
  • sudo ifdown eth0
  • sudo ifup eth0
  • Check network status:
  • sudo ifconfig

  • sudo reboot
  • Connect the Raspbian OS through the network using ssh client (Putty for Windows).



  • Update packages:
  • sudo apt-get update
Troubleshoot:

  • With this interfaces file above, cannot use Realtek Wlan Adapter and keyboard at same time ("IRQ32 disabled after an error").
  • see file /var/log/syslog



References: