Raspberry Pi Image: Difference between revisions

1,200 bytes added ,  21:04, 18 October 2020
no edit summary
No edit summary
No edit summary
Line 10: Line 10:
* An image installer to copy the image file to the SD card
* An image installer to copy the image file to the SD card
:The [https://www.raspberrypi.org/documentation/installation/installing-images/ Raspberry Pi site] has a list of suitable software for your operating system. Scroll down to "Writing the image".<br />
:The [https://www.raspberrypi.org/documentation/installation/installing-images/ Raspberry Pi site] has a list of suitable software for your operating system. Scroll down to "Writing the image".<br />
: This guide with use Win32DiskImager
: This guide with use Raspberry Pi Imager
* The image file to install
* The image file to install
:Download the latest image file [from here].
:Download the latest image file [from here].
Line 27: Line 27:
* Insert your blank SD card into your computer - if not blank whatever is on the card will be erased.
* Insert your blank SD card into your computer - if not blank whatever is on the card will be erased.
* Start Raspberry Pi Imager
* Start Raspberry Pi Imager
:* Click the CHOOSE OS button, and navigate to the folder where you extracted the Pi image
:* Click the CHOOSE OS button, and select '''Use custom'''
:*; [[File:Win32DiskImager-01.png|none]]
:*; [[File:PiImager-02.png|none]]
:* Select the SD card from the Device dropdown - check you have the correct drive selected!
:* Browse to the location of the OS Image zip file you downloaded - no need to unzip it
:* Click CHOOSE SD CARD, and select the SD card from the Device dropdown - check you have the correct drive selected!
:*; [[File:Win32DiskImager-02.png|none]]
:*; [[File:Win32DiskImager-02.png|none]]
:* Click the Write button. Writing the image will take a few minutes
:* Click the WRITE button. Writing the image will take a few minutes
:* Once the image has finished been written, you can close Win32DiskImager<br /><br />
:* Once the image has finished been written, you can close Raspberry Pi Imager<br /><br />
* '''''OPTIONAL''''' - If you wish to connect your Pi to the network using WiFi from the first boot, then you will need to follow these additional steps.
* '''''OPTIONAL''''' - If you wish to connect your Pi to the network using WiFi from the first boot, then you will need to follow these additional steps.
*;Note. If you connect via an cabled network, you can always configure the WiFi later using the command line
*;Note. If you connect via an cabled network, you can always configure the WiFi later using the command line
:* Eject your SD card from your computer and re-insert it
:* Locate the SD drive in File Explorer.
:* Locate the SD drive in File Explorer.
:* On the SD drive edit a file called '''wpa_supplicant.conf.txt''' with a text editor and add..
:* On the SD drive edit a file called '''wpa_supplicant.conf.txt''' with a text editor and...
::* Change the country code to match your location - eg. US, GB, FR etc
::* Change the country code to match your location - eg. US, GB, FR etc
::* Set the ssid to match your WiFi id
::* Set the ssid to match your WiFi id
::* Set the psk to your WiFi password
::* Set the psk to your WiFi password
:* Save the file, and then rename it to '''wpa_supplicant.conf''' - ie remove the .txt file extension<br /><br />
:* Save the file, and then rename it to '''wpa_supplicant.conf''' - i.e. remove the .txt file extension<br /><br />
* Eject the SD card from your computer and insert it into your Raspberry Pi
* Eject the SD card from your computer and insert it into your Raspberry Pi


Line 95: Line 97:


=== Information ===
=== Information ===
* Install location
==== Install location ====
* systemctl commands
In this image Cumulus MX is installed into '''/opt/cumulusmx'''
* Starting Cumulus MX from the command line
 
==== systemctl commands ====
You can use the following commands to control Cumulus MX...
: To start Cumulus:
> sudo systemctl start cumulusmx
: To stop Cumulus:
> sudo systemctl stop cumulusmx
: To check if Cumulus is running:
> sudo systemctl status cumulusmx
: To restart Cumulus:
> sudo systemctl restart cumulusmx
: To make Cumulus start at system boot time:
> sudo systemctl enable cumulusmx
: To stop Cumulus starting at boot time:
> sudp systemctl disable cumulusmx
 
==== Starting Cumulus MX from the command line ====
You may want to start Cumulus from the command ine for diagnostic purposes, you can still do this...
 
First make sure the Cumulus MX service is stopped
> sudo systemctl stop cumulusmx
 
Then path to the Cumulus folder and start it
> cd /opt/cumulusmx
> sudo mono CumulusMx.exe
 
==== Symbolic Links ====
The image contains a number of precreated symbolic links for Cumulus MX files such as realtime.txt and the standard website tmp files. These links divert these files to a memory disk to reduce wear on your SD card.