Difference between revisions of "Set up a new Raspberry PI"

From AMTech WikiDocs
Jump to: navigation, search
Line 6: Line 6:
 
* Remove the memory card from the PI and insert it into your computer
 
* Remove the memory card from the PI and insert it into your computer
  
===Using etcher (compatible with Linux, Windows and Mac)===
+
===Alternatives to copy the image to your SD card===
* Go to the [http://etcher.io etcher] website
+
====Using etcher (compatible with Linux, Windows and Mac)====
 +
* Go to the [http://etcher.io etcher] website and download a version compatible with your operating system and architecture.
 +
* Install it if your download requires an installation
 +
* Run the application and follow the three steps shown in the main window:
 +
[[File:Etcher main|thumbnail|Etcher application running]]
 +
** Select the image file (the one that you already downloaded and extracted)
 +
** Select the device that represents your SD card
 +
** Click on Flash! and wait for the operation to finish
  
 +
====Linux compatible procedure====
 
* Identify the device path for the memory card under /dev directory (you may use gnome-disks as auxiliary tool)
 
* Identify the device path for the memory card under /dev directory (you may use gnome-disks as auxiliary tool)
 
* Write the image to the memory card. Using <code>ddrescue</code>:
 
* Write the image to the memory card. Using <code>ddrescue</code>:
 
: <code>sudo ddrescue -f /path/to/amtech-ubuntu-mate-16.04.2-desktop-armhf-raspberry-pi-compat.img /dev/<deviceid></code>
 
: <code>sudo ddrescue -f /path/to/amtech-ubuntu-mate-16.04.2-desktop-armhf-raspberry-pi-compat.img /dev/<deviceid></code>
* Remove the card from your computer and reinsert it into the Raspberry PI
+
 
 +
===Final steps===
 +
* Remove the card from your computer and insert it into the Raspberry PI
 
* Boot the PI
 
* Boot the PI
 
** Wired network interface is auto configured using DHCP
 
** Wired network interface is auto configured using DHCP
 
** Wireless network is autoconfigured as an AP with SSID 'amtech-pi'; password is 'freepass'. If you connect to this network, the PI will have address 192.168.0.1
 
** Wireless network is autoconfigured as an AP with SSID 'amtech-pi'; password is 'freepass'. If you connect to this network, the PI will have address 192.168.0.1
 
** SSH is enabled
 
** SSH is enabled
* SSH to the PI by using the following credentials:
+
* You can open SSH session to the PI by using the following credentials:
 
: User: amtech
 
: User: amtech
 
: Password: 4mt3ch.
 
: Password: 4mt3ch.

Revision as of 21:02, 2 November 2017

Steps to set up a Raspberry PI with AMTech M2MBridge

  • Login to the application UI as a follower user
  • Go to Sensors > M2MBridge Application menu and download the provided Raspberry PI image
    • the image file is downloaded as .gz file, extract it to a .img file.
  • Remove the memory card from the PI and insert it into your computer

Alternatives to copy the image to your SD card

Using etcher (compatible with Linux, Windows and Mac)

  • Go to the etcher website and download a version compatible with your operating system and architecture.
  • Install it if your download requires an installation
  • Run the application and follow the three steps shown in the main window:
File:Etcher main
Etcher application running
    • Select the image file (the one that you already downloaded and extracted)
    • Select the device that represents your SD card
    • Click on Flash! and wait for the operation to finish

Linux compatible procedure

  • Identify the device path for the memory card under /dev directory (you may use gnome-disks as auxiliary tool)
  • Write the image to the memory card. Using ddrescue:
sudo ddrescue -f /path/to/amtech-ubuntu-mate-16.04.2-desktop-armhf-raspberry-pi-compat.img /dev/<deviceid>

Final steps

  • Remove the card from your computer and insert it into the Raspberry PI
  • Boot the PI
    • Wired network interface is auto configured using DHCP
    • Wireless network is autoconfigured as an AP with SSID 'amtech-pi'; password is 'freepass'. If you connect to this network, the PI will have address 192.168.0.1
    • SSH is enabled
  • You can open SSH session to the PI by using the following credentials:
User: amtech
Password: 4mt3ch.