Difference between revisions of "Set up a new Raspberry PI"
From AMTech WikiDocs
(→Steps to set up a Raspberry PI with AMTech M2MBridge) |
(→Final steps) |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
* Login to the application UI as a follower user | * Login to the application UI as a follower user | ||
* Go to <code>Sensors > M2MBridge Application</code> menu and download the provided Raspberry PI image | * Go to <code>Sensors > M2MBridge Application</code> 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 | * 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 [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: | ||
+ | :* 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 | ||
+ | : [[File:Etcher-running.png|950px||thumbnail|center|Etcher application running]] | ||
+ | |||
+ | ====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 | + | |
+ | ===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 | + | ** 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 172.20.10.1 |
** SSH is enabled | ** SSH is enabled | ||
− | * SSH to the PI by using the following credentials: | + | * Proceed to [[Edge_Configuration|configuration of the bridge]] |
+ | * You can open SSH session to the PI by using the following credentials: | ||
: User: amtech | : User: amtech | ||
: Password: 4mt3ch. | : Password: 4mt3ch. | ||
+ | <!-- | ||
* Execute <code>sudo raspi-config</code> to expand the filesystem | * Execute <code>sudo raspi-config</code> to expand the filesystem | ||
** Go to "Advanced Options" > "Expand Filesystem" | ** Go to "Advanced Options" > "Expand Filesystem" | ||
** Go to "Finish" and reboot the PI | ** Go to "Finish" and reboot the PI | ||
* Go to http://<address of your pi>/ to start configuring the PI | * Go to http://<address of your pi>/ to start configuring the PI | ||
+ | --> |
Latest revision as of 12:05, 25 May 2018
Contents
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:
- 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 172.20.10.1
- SSH is enabled
- Proceed to configuration of the bridge
- You can open SSH session to the PI by using the following credentials:
- User: amtech
- Password: 4mt3ch.