Difference: RaspberryPiDescription (5 vs. 6)

Revision 62017-09-27 - uli

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

The Raspberry Pi

Introduction

Line: 67 to 67
 
  • ssh

  • vnc

  • gpio, spi, i2c

Changed:
<
<
Go through all the options in raspi-config, make sure you understand what they mean and set them up to your liking.
>
>
Go through all the options in raspi-config, make sure you understand what they mean and set them up to your liking. One important thing to do is setting up the correct keyboard layout. This must be done in the localization options in raspi-config. If you do it in Preferences->Mouse and Keyboard Settings, then it will only be active when logged in but not on the logging screen. This may cause you problems when trying to log in because your password will not be recognized due to the wrong keyboard layout.
 
Changed:
<
<
After that we will have to sync the apt packages to the repository which we do with sudo apt update. After that we upgrade the system to the latest version of all packages: sudo apt upgrade.
>
>
After that we will have to sync the apt packages to the repository which we do with sudo apt update and upgrade all packages to the latest version: sudo apt upgrade.
 
Changed:
<
<
Now you may install additional packages like pigpio, wiringpi, emacs ... using apt install package name
>
>
Now you may install additional packages like emacs or other commands you may be missing using apt install package name.
The hardware access libraries wiringPi and pigpio we will install from source code using git (see below).

Installing wiringPi

First I create a new group named ucc and a new user uccstaff which I make a member of this new group:

addgroup ucc

adduser uccstaff

usermod -a -G ucc uccstaff

Then reboot the machine to activate these changes.

Create the directory /opt/ucc/src belonging to uccstaff and group ucc. This is where the source files of wiringPi and pigpio will be stored. Then we download the wiringPi source code into this directory with git clone git://git.drogon.net/wiringPi. I modified the Makefile in gpio to install everything in /usr instead of /usr/local (comment PREFIX? with a "#" in front of it.

After that compile you may want to compile also the examples. do make really-all in the examples sub-directory of wiringPi.

 

The remote desktop

Changed:
<
<
When you enable VNC in raspi-config the tightvncserver will be installed and run on your system. I use the Remmina Remote Desktop Client which seems to be the standard remote desktop client on PC Ubuntu. However, when running it on the Raspberry Pi server I get an authorization failure which I can get rid of by modifying the authorization method on tightvcnserver fro Unix authorization to VNC authorization. You define a password, which you also use on the client (PC) side.
>
>
When you enable VNC in raspi-config the tightvncserver will be installed and run on your system. I use the Remmina Remote Desktop Client which seems to be the standard remote desktop client on PC Ubuntu. However, when running it on the Raspberry Pi server I get an authorization failure which I can get rid of by modifying the authorization method on tightvcnserver from Unix authorization to VNC authorization. You define a password, which you also used on the client (PC) side.
  -- Uli Raich - 2017-08-14
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback