2019-01-29 20:10:55 +00:00
# The ODroid HC1 on DietPi is made to be a lightning node ⚡️
2019-01-29 13:36:19 +00:00
2019-01-30 12:23:02 +00:00

2019-01-29 13:36:19 +00:00
2019-01-29 20:10:55 +00:00
## Setting up the DietPi OS
2019-01-29 13:36:19 +00:00
2019-01-29 20:10:55 +00:00
Download this image:
https://dietpi.com/downloads/images/DietPi_OdroidXU4-ARMv7-Stretch.7z
and burn it to the SD with https://www.balena.io/etcher/
Getting started with DietPi: https://dietpi.com/phpbb/viewtopic.php?f=8& t=9#p9
## On the desktop Linux terminal
2019-01-29 13:36:19 +00:00
`ssh root@[IP-OF-DIETPI]`
2019-01-29 20:10:55 +00:00
password: `dietpi`
>Ok > Cancel the recovery point
Ok > Cancel > Cancel
automatic apt update & apt upgrade on first logon and reboots
2019-01-29 13:36:19 +00:00
Opt out of survey > Ok > Ok
`ssh root@[IP-OF-DIETPI]`
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
2019-01-29 20:10:55 +00:00
run (can be copied from the terminal output):
`ssh-keygen -f "/home/[your-linux-username]/.ssh/known_hosts" -R "dietpi.IP"`
2019-01-29 18:31:07 +00:00
`ssh root@[IP-OF-DIETPI]`
yes >
password: `dietpi`
2019-01-29 20:10:55 +00:00
>Ok > Cancel > Cancel
Search `fail2ban` > Space to select > Enter
Search `openssh` > Space to select OpenSSH Client > Enter
2019-01-29 18:31:07 +00:00
> Install > Ok
2019-01-30 12:23:02 +00:00

2019-01-29 20:10:55 +00:00
2019-01-30 12:23:02 +00:00
>Opt out of survey > Ok
Reboots again
2019-01-29 20:10:55 +00:00
(if it would start the DietPi-Software GUI again >
Exit with CTRL + C
`run dietpi-update`
and reinstall fail2ban and openssh after the reboot)
2019-01-29 13:36:19 +00:00
`ssh root@[IP-OF-DIETPI]`
2019-01-29 18:31:07 +00:00
Should end up here on version v6.20.5 or higher:
2019-01-29 13:36:19 +00:00
2019-01-30 12:23:02 +00:00

2019-01-29 13:36:19 +00:00
2019-01-29 18:31:07 +00:00
2019-01-29 20:10:55 +00:00
run the SDcard build script in this format: wget https://raw.githubusercontent.com/[GITHUB-USERNAME]/raspiblitz/[BRANCH]/build.sdcard/raspbianStretchDesktop.sh & & sudo bash raspbianStretchDesktop.sh [BRANCH] [GITHUB-USERNAME]
2019-01-29 13:36:19 +00:00
2019-01-30 12:16:25 +00:00
`wget https://raw.githubusercontent.com/openoms/HardwareNode/raspiblitz-dev/build.sdcard/raspbianStretchDesktop.sh && sudo bash raspbianStretchDesktop.sh raspiblitz-dev openoms`
2019-01-29 13:36:19 +00:00
2019-01-29 20:10:55 +00:00
See my example output: [sdcard_build_output ](DietPi/sdcard_build_output )
2019-01-29 13:36:19 +00:00
`ssh admin@[IP-OF-DROIDBLITZ]`
password: raspiblitz
2019-01-30 12:23:02 +00:00
The setup continues as described in the RaspiBlitz setup [README.md ](/README.md#documentation )
2019-01-29 20:10:55 +00:00
## Example of setting up a RaspiBlitz HDD to be copied to the ODroid:
2019-01-30 12:23:02 +00:00

