The information here will usually just refer to raspberry pi information

  Your raspberry pi may decide to change it's i.p adress if it crashes or for what ever reason. you can prevent this happening and all the hassle that it causes ( especially if you are running your raspberry 'headless' ) by assigning it a static i.p address 

Open

sudo nano /etc/dhcpcd.conf

then change ip address..static...to what u want


interface eth0 - for a ethernet cable

static ip_address=192.168.0.10/24
static routers=192.168.0.1
static domain_name_servers=192.168.0.1

i
nterface wlan0 - for wi-fi

static ip_address=192.168.1.200/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1

re-boot device

Headless operation

Look at these notes to point you in the right direction

 

If you use a tv screen as your raspberry  monitor, maybe you cannot hear the sound, so a good fix is below

sudo nano /boot/config.txt

Go to the end of the file and type in these 3 lines

#Always force HDMI output and enable HDMI sound

hdmi_force_hotplug=1

hdmi_drive=2
 

Save these changes by pressing ctrl+o

Exit by pressing  ctrl + x

Changing montor resolution

xrandr -s 1920x1080

xrandr --listmonitors
 

 

Can't delete a file, even thou you are the owner


sudo rm -r ( File name )

 

USB sticks  

Trying to copy a large file to a usb stick and it keeps saying there is insufficient room on the stick  when you know that there is ?

i.e  file  is 5 g/byte - usb stick capacity is 30 g/byte

You could check to see if the disk is formatted to ' fat32 '  - if it is re format it and select the ' nfts ' option and try copying the file across again

 

Messed your taskbar up ?

sudo rm -r ~/.config/lxpanel
sudo reboot
 

Forgotton if you installed 32 bit or 64 bit operating system - here's how to check

uname -m

if response is aarch64 then its 64 bit

if response is armv7l then its 32 bit

or just type

getconf long_bit

response will be 32 or 64

Bear in mind 64 bit raspberry will only install on raspberry pi3 and above 

Problems updating / upgrading os

If you run sudo apt-get update and it says Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'testing' to 'stable'

running the below will fix the problem

sudo apt-get update --allow-releaseinfo-change

Then run update/upgrade commands again and it will work

 

Problems playing DVD's on a raspberry pi

 If you have a problem with some commercially made dvd's not playing correctly
you could try the below which instAlls 'libdvcss" it worked for me, but only
on 32 bit it won't work on 64 bit


wget http://www.videolan.org/pub/libdvdcss/1.2.12/libdvdcss-1.2.12.tar.bz2

bunzip2 libdvdcss-1.2.12.tar.bz2

tar -xvf libdvdcss-1.2.12.tar

cd libdvdcss-1.2.12

./configure

make

sudo make install

sudo cp /usr/local/lib/libdvdcss* /lib

Check the below site


https://raspi.tv/2012/watch-encrypted-dvd-on-raspberry-pi-by-streaming-to-omxplayer

 

What's on your raspberry network ?

sudo apt-get install -y nmap

To run the program type at the command line

sudo nmap -sn 192.168.x.xx/24 

Replace x xx with your ip address

https://snapcraft.io/install/nmap/raspbian

To ping the remote raspberry pi

ping 192.168.x.xx

Problem with the terminal emulator ? 

click above link

 

Checking which version of software your raspberry pi  is running

 sudo cat /etc/os-release

Remote Desktop


    sudo apt-get install putty / sudo apt-get install xrdp       

or the best option

vnc viewer - follow this link

 

Measuring temperature of pi by just typing 'temp'

nano /home/pi/.bash_aliases

alias temp='/usr/bin/vcgencmd measure_temp'

then type 'temp' to read temp

 

Installing remmina


sudo apt-get install remmina


That dongle is most likely not faulty

If you have a dongle you thought was for 1090mhz but it never seems to pick up signals at this frequency, check to see if it says 'Fitipower FC0012' (maybe FC0013) with a reported gain of 19.2 if so then there is not a problem with the dongle, it's the fitipower chip which is the 'problem' - this type of dongle will not tune to 1090mhz, the maximum usable frequency is around 950 mhz.The good news is it will be ok for acars and the vdl2 programs (131/136 mhz )




Using a usb web camera with a raspberry pi

the first thing to do is to read the below web pages which explain very simply how to go about things 

  https://www.raspberrypi.org/documentation/usage/webcams/

https://www.raspberrypi.org/documentation/linux/usage/cron.md

you will need to install  

sudo apt-get install fswebcam

to take an image its

fswebcam -r 1280x720 --no-banner image 1.jpg 

YOU CAN SPECIFY A FOLDER TO HOLD THE IMAGES AND WRITE A SCRIPT TO MAKE IT EASIER TO RUN - SEE THE TOP WEB SITE FOR INFORMATION ON HOW TO DO THAT

to automatically take an image every ten minutes

you can edit  'cron' < crontab -e >

then  insert < */10 * * * * /home/pi/webcam/webcam.sh 2>&1 >  which is specifying a folder called <webcam> in the pi directory

Using a usb web cam as a surveilance camera

sudo apt-get install guvcview  

 

Raspberry pi camera

Using the raspberry pi camera for surveilance

https://gndtovcc.home.blog/2020/04/15/video-streaming-with-raspberry-pi-camera/

You can disable the red L.E.D on the camera – which can be a distraction if you are using the camera as a security device or monitoring wild life – check the following link out

https://www.raspberrypi-spy.co.uk/2013/05/how-to-disable-the-red-led-on-the-pi-camera-module/

 

Audio sounds scratchy ?

https://www.vuepilot.com/support/article/fixing-raspberry-pi-audio-issues/

 

Operating from France

On holiday and want to operate from France ?

For a stay of less than three months there are no special formalities, please look at the below link

If you are wanting to operating for more than three months i.e perhaps because you are a foreigner but a resident of France then you will want to apply using this form

  click here 

Make sure you submit the latest form i.e Feb 2020 at the time of writing this

 Do not forget to obtain your HAREC document from your licensing authority ( Ofcom if you are British ) it's needed for your application to progress smoothly