Jump to content

Raspberry Pi: Difference between revisions

From Squirrel's Lair
Ttenbergen (talk | contribs)
Ttenbergen (talk | contribs)
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
See also: [[Internal:Raspberry Pi Pico]]
== setup ==
== setup ==
=== image card ===
'' to get back into this later: sudo raspi-config
* Get imager from [https://www.raspberrypi.org/downloads/ here]
* Image card


=== initial settings ===
=== initial settings ===
Line 11: Line 15:
=== connect ===
=== connect ===
*see assigned IP address during Pi boot
*see assigned IP address during Pi boot
*using [[Putty]]
*using Putty
* ssh pi@192.168.2.X
* ssh pi@192.168.2.X
=== setup VNC[http://edmundofuentes.com/post/45179343394/raspberry-pi-without-keyboard-mouse-nor-screen] ===
==== setup ====
*sudo apt-get install tightvncserver
*tightvncserver
*reboot


=== run updates ===
=== run updates ===
*sudo apt-get update
*sudo ### apt-get ### update


=== setup VNC[http://edmundofuentes.com/post/45179343394/raspberry-pi-without-keyboard-mouse-nor-screen] ===
=== setup VNC[http://edmundofuentes.com/post/45179343394/raspberry-pi-without-keyboard-mouse-nor-screen] ===
==== setup ====
==== setup ====
*sudo apt-get install tightvncserver
*sudo ### apt-get ### install tightvncserver
*tightvncserver
*tightvncserver
*reboot
*reboot


==== start ====
==== start ====
* vncserver :1 -geometry 1024x720 -depth 24
''' manually: ''' vncserver :1 -geometry 1024x720 -depth 24
* see [http://www.penguintutor.com/linux/tightvnc] to automate last step...
 
automatically (see [http://www.penguintutor.com/linux/tightvnc] and [http://learn.adafruit.com/adafruit-raspberry-pi-lesson-7-remote-control-with-vnc/running-vncserver-at-startup]):
* cd /home/pi
* cd .config
* mkdir autostart
* cd autostart
* nano tightvnc.desktop
    [Desktop Entry]
    Type=Application
    Name=TightVNC
    Exec=vncserver :1
    StartupNotify=false
* close and save (ctrl-X...)


==== Connecting from PC ====
==== Connecting from PC ====
Line 34: Line 56:
* onscreen keyboard - http://ananddrs.com/2013/09/25/rpi-onscreen-keyboard/
* onscreen keyboard - http://ananddrs.com/2013/09/25/rpi-onscreen-keyboard/
* Adafruit's Raspberry Pi lessons - https://www.google.ca/search?q=adafruit%27s+raspberry+pi+lesson&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a&gfe_rd=cr&ei=R0LAUv-FLKqC8QfO9YDgDA
* Adafruit's Raspberry Pi lessons - https://www.google.ca/search?q=adafruit%27s+raspberry+pi+lesson&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a&gfe_rd=cr&ei=R0LAUv-FLKqC8QfO9YDgDA
[[Category: Raspberry Pi]]

Latest revision as of 07:07, 2024 September 16

See also: Internal:Raspberry Pi Pico

setup

to get back into this later: sudo raspi-config

  • Get imager from here
  • Image card

initial settings

  • expand ...

setup wireless networking

  • sudo nano \etc\network\interfaces

connect

  • see assigned IP address during Pi boot
  • using Putty
  • ssh pi@192.168.2.X

setup VNC[1]

setup

  • sudo apt-get install tightvncserver
  • tightvncserver
  • reboot

run updates

  • sudo ### apt-get ### update

setup VNC[2]

setup

  • sudo ### apt-get ### install tightvncserver
  • tightvncserver
  • reboot

start

manually: vncserver :1 -geometry 1024x720 -depth 24

automatically (see [3] and [4]): 
  • cd /home/pi
  • cd .config
  • mkdir autostart
  • cd autostart
  • nano tightvnc.desktop
   [Desktop Entry]
   Type=Application
   Name=TightVNC
   Exec=vncserver :1
   StartupNotify=false
  • close and save (ctrl-X...)

Connecting from PC

  • install TightVNC [5]
  • connect to 192.168.0.1**:1

other links