Raspberry Pi Tips/Tricks/Useful Links and Projects

1 minute read

Operating systems:

  • RetroPie allows you to turn your Raspberry Pi or PC into a retro-gaming machine.
  • Raspbian
  • Screenly
  • MotionEyeOS
  • RasPlex
  • DietPi
  • Moodeaudio

Media Center:

Interesting projects:

Some of the useful pieces of information:

The default pi user on Raspbian is a sudoer. This gives the ability to run commands as root when preceded by sudo, and to switch to the root user with

sudo su

Launch Raspbian Config :

sudo raspi-config

Compiling ffmpeg in Raspbian (with openssl):

sudo apt-get install openssh
sudo apt-get install libssl-dev
git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg
cd ffmpeg
./configure --prefix=/home/pi/arm --enable-openssl
make
make install

# add the following to .bashrc file
export PATH=$PATH”:$HOME/arm/bin”

Configuring OpenVPN:

sudo apt-get install network-manager-vpnc
sudo apt-get install openvpn network-manager-openvpn network-manager-openvpn-gnome
sudo /etc/init.d/networking restart
sudo openvpn --config ****.ovpn

The above will ask the username and password each time when you login. You can avoid this by storing your username and password in a text file. Following instructions below,

vim authorisation.txt

#enter the username and password as shown below
username
password

#now find the line with "auth-user-pass" within the *.ovpn file and replace is with the following
auth-user-pass authorisation.txt

Comments