Saturday, August 30, 2014

Raspberry Pi - Remote Access - Raspbian or Adafruit

Windows 7
Linux 3.1.9adafruit+ armv6l
PuTTY 0.63
WinSCP 5.5.5


Status:
  • 20140906 OS Crashed. Building from scratch.
  • 20140830 Working Wi-Fi, SSH and VNC (manual start).
ToDo:
  • Autostart of VNCServer it's not working.
Install - Wi-Fi:
  • Login using a keyboard (USB) and monitor (HDMI) connected to the raspberry board: 
  • Default user and password:   pi   raspberry
  • Edit the file /etc/network/interfaces  and change SSID and password of Wi-Fi network. See on the References links (below) how to encrypt the password.

  • sudo reboot
Install SSH Server:
  • Already installed by default.
  • To configure:
  • sudo raspi-config
  • Interfacing Options  -> SSH
  • To access: Putty for Windows.


  • To transfer files: WinSCP (for Windows).


Install VNC Server:
  • sudo apt-get update
  • sudo apt-get install tightvncserver
  • tightvncserver
  • vncserver :0 -geometry 1920x1080 -depth 24
  • Configuring Autostart:
  • Create a file (~/vnc.sh):

  • cd ~/
  • chmod +x vnc.sh
  • ./vnc.sh
  • Connect to Raspberry Desktop using VNC Viewer.

  • Configuring Autostart:
  • cd /etc/init.d/
  • Create a file (/etc/init.d/vncboot.sh)

  • chmod 755 vncboot
  • update-rc.d ./vncboot defaults (or update-rc.d /etc/init.d/vncboot defaults)
  • reboot

References: