mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
update install guide fro DietPI
This commit is contained in:
parent
ff32129e28
commit
96b2b26be9
10 changed files with 45 additions and 2526 deletions
Binary file not shown.
Before Width: | Height: | Size: 106 KiB |
|
@ -1,110 +0,0 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
*** Check 1st HDD ***
|
||||
OK - HDD as sda1 found
|
||||
|
||||
*** Copy Blockchain form a second HDD ***
|
||||
|
||||
WARNING: The RaspiBlitz cannot run 2 HDDs without extra Power!
|
||||
|
||||
You can use a Y cable for the second HDD to inject extra power.
|
||||
Like this one: https://www.amazon.de/dp/B00ZJBIHVY
|
||||
If you see on LCD a error on connecting the 2nd HDD do a restart.
|
||||
|
||||
You can use the HDD of another RaspiBlitz for this.
|
||||
The 2nd HDD needs to be formated Ext4/exFAT and the folder 'bitcoin' is in root of HDD.
|
||||
|
||||
**********************************
|
||||
--> Please connect now the 2nd HDD
|
||||
**********************************
|
||||
|
||||
If 2nd HDD is connected but setup does not continue,
|
||||
then cancel (CTRL+c) and reboot.
|
||||
OK - 2nd HDD found
|
||||
|
||||
*** Mounting 2nd HDD ***
|
||||
try ext4 ..
|
||||
OK - 2nd HDD mounted at /mnt/genesis
|
||||
|
||||
*** Copy Blockchain ***
|
||||
sudo: rsync: command not found
|
||||
cleaning up - ok if files do not exists
|
||||
rm: cannot remove '/mnt/hdd/bitcoin/bitcoin.conf': No such file or directory
|
||||
rm: cannot remove '/mnt/hdd/bitcoin/bitcoin.pid': No such file or directory
|
||||
rm: cannot remove '/mnt/hdd/bitcoin/testnet3/banlist.dat': No such file or directory
|
||||
rm: cannot remove '/mnt/hdd/bitcoin/testnet3/debug.log': No such file or directory
|
||||
rm: cannot remove '/mnt/hdd/bitcoin/testnet3/fee_estimates.dat': No such file or directory
|
||||
rm: cannot remove '/mnt/hdd/bitcoin/testnet3/mempool.dat': No such file or directory
|
||||
rm: cannot remove '/mnt/hdd/bitcoin/testnet3/peers.dat': No such file or directory
|
||||
OK - Copy done :)
|
||||
|
||||
---> You can now disconnect the 2nd HDD
|
||||
|
||||
*** Checking HDD ***
|
||||
OK - HDD is ready.
|
||||
|
||||
*** Prepare bitcoin ***
|
||||
OK - bitcoin setup ready
|
||||
|
||||
*** Start bitcoin ***
|
||||
This can take a while ..
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -1,355 +0,0 @@
|
|||
RaspiBlitz
|
||||
──────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
┌──────────────────────────────────────────────────┐
|
||||
│ OK - RPC password changed │
|
||||
│ │
|
||||
│ Now starting the Setup of your RaspiBlitz. │
|
||||
├──────────────────────────────────────────────────┤
|
||||
│ < OK > │
|
||||
└──────────────────────────────────────────────────┘
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
HDD was already initialized/prepared
|
||||
Now needs to be mounted
|
||||
|
||||
*** Adding HDD to the System ***
|
||||
started from state(waitsetup)
|
||||
OK - HDD found as sda
|
||||
|
||||
*** Check HDD ***
|
||||
OK - HDD is formatted with ext4 and is named BLOCKCHAIN
|
||||
Adding line to /etc/fstab ...
|
||||
UUID=9f95b7b3-d634-4938-9f05-dfab3d662507 /mnt/hdd ext4 noexec,defaults 0 0
|
||||
OK - HDD is listed in /etc/fstab
|
||||
|
||||
*** Mount HDD ***
|
||||
mkdir: cannot create directory ‘/mnt/hdd’: File exists
|
||||
OK - HDD is mounted
|
||||
|
||||
moving SSH pub keys to HDD
|
||||
cp: cannot stat '/etc/ssh': No such file or directory
|
||||
OK
|
||||
|
||||
*** Analysing HDD Content ***
|
||||
Looks like the HDD is prepared with the Blockchain.
|
||||
Continuing with finishing the system setup ...
|
||||
|
||||
*** Checking HDD ***
|
||||
OK - HDD is ready.
|
||||
|
||||
*** Prepare bitcoin ***
|
||||
OK - bitcoin setup ready
|
||||
|
||||
*** Start bitcoin ***
|
||||
This can take a while ..
|
||||
Created symlink /etc/systemd/system/multi-user.target.wants/bitcoind.service → /etc/systemd/system/bitcoind.service.
|
||||
Started ... wait 10 secs
|
||||
checking setup script
|
||||
network(bitcoin)
|
||||
chain(main)
|
||||
setupStep(60)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
┌────────────────────────────────────────────────────────┐
|
||||
│ Double checking for bitcoind - please wait .. │
|
||||
│ ┌──────────────────────────────────────────────────┐ │
|
||||
│ │ 120 │ │
|
||||
│ └──────────────────────────────────────────────────┘ │
|
||||
├────────────────────────────────────────────────────────┤
|
||||
│ < OK > <Cancel> │
|
||||
└────────────────────────────────────────────────────────┘
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
┌────────────────────────────────────────────────────────┐
|
||||
│ Double checking for bitcoind - please wait .. │
|
||||
│ ┌──────────────────────────────────────────────────┐ │
|
||||
│ │ 0 │ │
|
||||
│ └──────────────────────────────────────────────────┘ │
|
||||
├────────────────────────────────────────────────────────┤
|
||||
│ < OK > <Cancel> │
|
||||
└────────────────────────────────────────────────────────┘
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
OK - bitcoind is running
|
||||
Next step run Lightning
|
||||
|
||||
*** Checking bitcoin ***
|
||||
OK - bitcoind is running
|
||||
|
||||
*** Wait until bitcoind is ready ...
|
||||
OK - chainnetwork is working
|
||||
|
||||
*** LND Config ***
|
||||
OK - LND config written
|
||||
|
||||
*** Starting LND ***
|
||||
Created symlink /etc/systemd/system/multi-user.target.wants/lnd.service → /etc/systemd/system/lnd.service.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
┌────────────────────────────────────────────────────────┐
|
||||
│ Starting LND - please wait .. │
|
||||
│ ┌──────────────────────────────────────────────────┐ │
|
||||
│ │ 98 │ │
|
||||
│ └─────────────────────────1─────────── ──────────┘ │
|
||||
├────────────────────────────────────────────────────────┤
|
||||
│ < OK > <Cancel> │
|
||||
└────────────────────────────────────────────────────────┘
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
┌────────────────────────────────────────────────────────┐
|
||||
│ Starting LND - please wait .. │
|
||||
│ ┌──────────────────────────────────────────────────┐ │
|
||||
│ │ 81 │ │
|
||||
│ └──────────────────────────────────────────────────┘ │
|
||||
├────────────────────────────────────────────────────────┤
|
||||
│ < OK > <Cancel> │
|
||||
└────────────────────────────────────────────────────────┘
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
┌────────────────────────────────────────────────────────┐
|
||||
│ Starting LND - please wait .. │
|
||||
│ ┌──────────────────────────────────────────────────┐ │
|
||||
│ │ 0 │ │
|
||||
│ └──────────────────────────────────────────────────┘ │
|
||||
├────────────────────────────────────────────────────────┤
|
||||
│ < OK > <Cancel> │
|
||||
└────────────────────────────────────────────────────────┘
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Failed to connect to bus: No such file or directory
|
||||
1548603516
|
||||
LND not ready yet ... waiting another 60 seconds.
|
||||
If this takes too long (more then 10min total) --> CTRL+c and report Problem
|
||||
Failed to connect to bus: No such file or directory
|
||||
1548603577
|
||||
LND not ready yet ... waiting another 60 seconds.
|
||||
If this takes too long (more then 10min total) --> CTRL+c and report Problem
|
||||
Failed to connect to bus: No such file or directory
|
||||
1548603637
|
||||
LND not ready yet ... waiting another 60 seconds.
|
||||
If this takes too long (more then 10min total) --> CTRL+c and report Problem
|
||||
Failed to connect to bus: No such file or directory
|
||||
1548603697
|
||||
LND not ready yet ... waiting another 60 seconds.
|
||||
If this takes too long (more then 10min total) --> CTRL+c and report Problem
|
||||
Failed to connect to bus: No such file or directory
|
||||
1548603757
|
||||
LND not ready yet ... waiting another 60 seconds.
|
||||
If this takes too long (more then 10min total) --> CTRL+c and report Problem
|
||||
Failed to connect to bus: No such file or directory
|
||||
1548603817
|
||||
LND not ready yet ... waiting another 60 seconds.
|
||||
If this takes too long (more then 10min total) --> CTRL+c and report Problem
|
||||
|
|
@ -1,926 +0,0 @@
|
|||
────────────────────────────────────────────────
|
||||
DietPi | Sun 27/01/19 - 10:45
|
||||
────────────────────────────────────────────────
|
||||
v6.19.7 | Odroid XU3/XU4/HC1/HC2 (armv7l)
|
||||
────────────────────────────────────────────────
|
||||
eth0 | 192.168.1.175
|
||||
────────────────────────────────────────────────
|
||||
DietPi Team : Daniel Knight (founder), MichaIng, K-Plan
|
||||
Image : DietPi Core Team (pre-image: Meveric)
|
||||
Web : https://DietPi.com | https://twitter.com/dietpi_
|
||||
Patreon Legends : PINE64 community
|
||||
Donate : https://DietPi.com/#donate
|
||||
DietPi Hosting : Powered by https://MyVirtualServer.com
|
||||
|
||||
dietpi-launcher = All the DietPi programs in one place.
|
||||
dietpi-config = Feature rich configuration tool for your device.
|
||||
dietpi-software = Select optimized software for installation.
|
||||
htop = Resource monitor.
|
||||
cpu = Shows CPU information and stats.
|
||||
|
||||
Starting the main menu ...
|
||||
ls: cannot access '/mnt/hdd/raspiblitz.conf': No such file or directory
|
||||
setup still in progress - setupStep(60)
|
||||
checking bitcoind - please wait ..
|
||||
can take longer if device was off or first time
|
||||
|
||||
RaspiBlitz 192.168.1.175 - Welcome
|
||||
────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
┌──────────────────────────────────────┐
|
||||
│ Waiting for bitcoind to get ready. │
|
||||
│ ---> Verifying blocks... │
|
||||
│ Can take longer if device was off. │
|
||||
└──────────────────────────────────────┘
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
RaspiBlitz 192.168.1.175 - Welcome
|
||||
────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
┌──────────────────────────────────────┐
|
||||
│ Waiting for bitcoind to get ready. │
|
||||
│ ---> Verifying blocks... │
|
||||
│ Can take longer if device was off. │
|
||||
└──────────────────────────────────────┘
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
RaspiBlitz 192.168.1.175 - Welcome
|
||||
────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
┌──────────────────────────────────────┐
|
||||
│ Waiting for bitcoind to get ready. │
|
||||
│ ---> Verifying blocks... │
|
||||
│ Can take longer if device was off. │
|
||||
└──────────────────────────────────────┘
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
RaspiBlitz 192.168.1.175 - Welcome
|
||||
────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
┌──────────────────────────────────────┐
|
||||
│ Waiting for bitcoind to get ready. │
|
||||
│ ---> Verifying blocks... │
|
||||
│ Can take longer if device was off. │
|
||||
└──────────────────────────────────────┘
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
RaspiBlitz 192.168.1.175 - Welcome
|
||||
────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
┌──────────────────────────────────────┐
|
||||
│ Waiting for bitcoind to get ready. │
|
||||
│ ---> Verifying blocks... │
|
||||
│ Can take longer if device was off. │
|
||||
└──────────────────────────────────────┘
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
./80scanLND.sh: line 1: /mnt/hdd/raspiblitz.conf: No such file or directory
|
||||
usage: sudo -h | -K | -k | -V
|
||||
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
|
||||
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user] [command]
|
||||
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-u user]
|
||||
[VAR=value] [-i|-s] [<command>]
|
||||
usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-u user] file
|
||||
...
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
(standard_in) 1: syntax error
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
|
||||
RaspiBlitz ()
|
||||
────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
┌────────────────────── / ────────────────────────┐
|
||||
│ Lightning Filtering Blockchain │
|
||||
│ Progress: ?/ │
|
||||
│ Please wait - this can take some long time. │
|
||||
│ Its OK to close terminal and ssh back in later. │
|
||||
└───────────────────────────────────────────────────┘
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
./80scanLND.sh: line 1: /mnt/hdd/raspiblitz.conf: No such file or directory
|
||||
usage: sudo -h | -K | -k | -V
|
||||
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
|
||||
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user] [command]
|
||||
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-u user]
|
||||
[VAR=value] [-i|-s] [<command>]
|
||||
usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-u user] file
|
||||
...
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
(standard_in) 1: syntax error
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
|
||||
RaspiBlitz ()
|
||||
────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
┌────────────────────── / ────────────────────────┐
|
||||
│ Lightning Filtering Blockchain │
|
||||
│ Progress: ?/ │
|
||||
│ Please wait - this can take some long time. │
|
||||
│ Its OK to close terminal and ssh back in later. │
|
||||
└───────────────────────────────────────────────────┘
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
./80scanLND.sh: line 1: /mnt/hdd/raspiblitz.conf: No such file or directory
|
||||
usage: sudo -h | -K | -k | -V
|
||||
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
|
||||
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user] [command]
|
||||
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-u user]
|
||||
[VAR=value] [-i|-s] [<command>]
|
||||
usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-u user] file
|
||||
...
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
(standard_in) 1: syntax error
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
|
||||
RaspiBlitz ()
|
||||
────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
┌────────────────────── / ────────────────────────┐
|
||||
│ Lightning Filtering Blockchain │
|
||||
│ Progress: ?/ │
|
||||
│ Please wait - this can take some long time. │
|
||||
│ Its OK to close terminal and ssh back in later. │
|
||||
└───────────────────────────────────────────────────┘
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
./80scanLND.sh: line 1: /mnt/hdd/raspiblitz.conf: No such file or directory
|
||||
usage: sudo -h | -K | -k | -V
|
||||
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
|
||||
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user] [command]
|
||||
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-u user]
|
||||
[VAR=value] [-i|-s] [<command>]
|
||||
usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-u user] file
|
||||
...
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
(standard_in) 1: syntax error
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
|
||||
RaspiBlitz ()
|
||||
────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
┌────────────────────── / ────────────────────────┐
|
||||
│ Lightning Filtering Blockchain │
|
||||
│ Progress: ?/ │
|
||||
│ Please wait - this can take some long time. │
|
||||
│ Its OK to close terminal and ssh back in later. │
|
||||
└───────────────────────────────────────────────────┘
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
./80scanLND.sh: line 1: /mnt/hdd/raspiblitz.conf: No such file or directory
|
||||
usage: sudo -h | -K | -k | -V
|
||||
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
|
||||
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user] [command]
|
||||
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-u user]
|
||||
[VAR=value] [-i|-s] [<command>]
|
||||
usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-u user] file
|
||||
...
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
(standard_in) 1: syntax error
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
|
||||
RaspiBlitz ()
|
||||
────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
┌────────────────────── / ────────────────────────┐
|
||||
│ Lightning Filtering Blockchain │
|
||||
│ Progress: ?/ │
|
||||
│ Please wait - this can take some long time. │
|
||||
│ Its OK to close terminal and ssh back in later. │
|
||||
└───────────────────────────────────────────────────┘
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A./80scanLND.sh: line 1: /mnt/hdd/raspiblitz.conf: No such file or directory
|
||||
usage: sudo -h | -K | -k | -V
|
||||
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
|
||||
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user] [command]
|
||||
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-u user]
|
||||
[VAR=value] [-i|-s] [<command>]
|
||||
usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-u user] file
|
||||
...
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
(standard_in) 1: syntax error
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
|
||||
RaspiBlitz ()
|
||||
────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
┌────────────────────── / ────────────────────────┐
|
||||
│ Lightning Filtering Blockchain │
|
||||
│ Progress: ?/ │
|
||||
│ Please wait - this can take some long time. │
|
||||
│ Its OK to close terminal and ssh back in later. │
|
||||
└───────────────────────────────────────────────────┘
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
./80scanLND.sh: line 1: /mnt/hdd/raspiblitz.conf: No such file or directory
|
||||
usage: sudo -h | -K | -k | -V
|
||||
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
|
||||
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user] [command]
|
||||
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-u user]
|
||||
[VAR=value] [-i|-s] [<command>]
|
||||
usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-u user] file
|
||||
...
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
(standard_in) 1: syntax error
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
|
||||
RaspiBlitz ()
|
||||
────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
┌────────────────────── / ────────────────────────┐
|
||||
│ Lightning Filtering Blockchain │
|
||||
│ Progress: ?/ │
|
||||
│ Please wait - this can take some long time. │
|
||||
│ Its OK to close terminal and ssh back in later. │
|
||||
└───────────────────────────────────────────────────┘
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
./80scanLND.sh: line 1: /mnt/hdd/raspiblitz.conf: No such file or directory
|
||||
usage: sudo -h | -K | -k | -V
|
||||
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
|
||||
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user] [command]
|
||||
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-u user]
|
||||
[VAR=value] [-i|-s] [<command>]
|
||||
usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-u user] file
|
||||
...
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
(standard_in) 1: syntax error
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
|
||||
RaspiBlitz ()
|
||||
────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
┌────────────────────── / ────────────────────────┐
|
||||
│ Lightning Filtering Blockchain │
|
||||
│ Progress: ?/ │
|
||||
│ Please wait - this can take some long time. │
|
||||
│ Its OK to close terminal and ssh back in later. │
|
||||
└───────────────────────────────────────────────────┘
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
./80scanLND.sh: line 1: /mnt/hdd/raspiblitz.conf: No such file or directory
|
||||
usage: sudo -h | -K | -k | -V
|
||||
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
|
||||
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user] [command]
|
||||
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-u user]
|
||||
[VAR=value] [-i|-s] [<command>]
|
||||
usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-u user] file
|
||||
...
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
(standard_in) 1: syntax error
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
|
||||
RaspiBlitz ()
|
||||
────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
┌────────────────────── / ────────────────────────┐
|
||||
│ Lightning Filtering Blockchain │
|
||||
│ Progress: ?/ │
|
||||
│ Please wait - this can take some long time. │
|
||||
│ Its OK to close terminal and ssh back in later. │
|
||||
└───────────────────────────────────────────────────┘
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
./80scanLND.sh: line 1: /mnt/hdd/raspiblitz.conf: No such file or directory
|
||||
usage: sudo -h | -K | -k | -V
|
||||
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
|
||||
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user] [command]
|
||||
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-u user]
|
||||
[VAR=value] [-i|-s] [<command>]
|
||||
usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-u user] file
|
||||
...
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
(standard_in) 1: syntax error
|
||||
tail: cannot open '/mnt/hdd/lnd/logs//net/lnd.log' for reading: No such file or directory
|
||||
|
|
@ -1,79 +0,0 @@
|
|||
Working with the ODroid HC1 and this image: https://dietpi.com/downloads/images/DietPi_OdroidXU4-ARMv7-Stretch.7z
|
||||
|
||||
Getting started with DietPi: https://dietpi.com/phpbb/viewtopic.php?f=8&t=9#p9
|
||||
|
||||
Login to DietPi
|
||||
username = root
|
||||
password = dietpi
|
||||
DietPi also comes pre-installed with Dropbear SSH Server.
|
||||
|
||||
`ssh root@[IP-OF-DIETPI]`
|
||||
password: `dietpi`
|
||||
Ok > Cancel > Cancel
|
||||
automatic apt update & apt upgrade on first logon and reboots
|
||||
Opt out of survey > Ok > Ok
|
||||
|
||||
`ssh root@[IP-OF-DIETPI]`
|
||||
|
||||
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
||||
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
|
||||
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
||||
|
||||
run (copy from the terminal output): `ssh-keygen -f "/home/buidl/.ssh/known_hosts" -R "dietpi.IP"`
|
||||
|
||||
`ssh root@[IP-OF-DIETPI]`
|
||||
Ok > Install fail2ban > Install > Ok
|
||||
Reboots again
|
||||
|
||||
`ssh root@[IP-OF-DIETPI]`
|
||||
Now only the bash prompt opens
|
||||
|
||||
sudo apt install -y rsync (now added to the script)
|
||||
|
||||
use: wget https://raw.githubusercontent.com/[GITHUB-USERNAME]/raspiblitz/[BRANCH]/build.sdcard/raspbianStretchDesktop.sh && sudo bash raspbianStretchDesktop.sh [BRANCH] [GITHUB-USERNAME]
|
||||
|
||||
`wget https://raw.githubusercontent.com/openoms/HardwareNode/OdroidHC1Debug/build.sdcard/raspbianStretchDesktop.sh && sudo bash raspbianStretchDesktop.sh OdroidHC1Debug openoms`
|
||||
|
||||
password: raspiblitz
|
||||
|
||||
see my output: [sdcard_build_output](sdcard_build_output.html)
|
||||
The only fault appears to be with `fail2ban`
|
||||
(this is solved if fail2ban is intalled from the DietPi software settings during the second boot)
|
||||
|
||||
`ssh admin@[IP-OF-DROIDBLITZ]`
|
||||
password: raspiblitz
|
||||
|
||||
The raspiblitz GUI and setup worked until it needed to get the blockchain data.
|
||||
|
||||
First attempted to connect the HDD of a RaspiBlitz with a powered USB to SATA adapter to the ODorid.
|
||||
The ODroid did not mount the 2nd HDD properly:
|
||||
it appeared as `sdb` and as `sda` after reboot:
|
||||

|
||||
|
||||
So instead just copied the blockchain manually on my main computer to the root /bitcoin folder. Reinserted the HDD to the ODroid and booted up
|
||||
|
||||
|
||||
`ssh admin@[IP-OF-DROIDBLITZ]
|
||||
`./60finishHDD.sh`
|
||||
|
||||
alternatively can edit the 50copyHDD.sh
|
||||
`sudo nano 50copyHDD.sh`
|
||||
change the 3 instances of `sdb1` to `sdb`
|
||||
|
||||
|
||||
got this output here: [initial_setup_output](initial_setup_output.html)
|
||||
and the same when tried again with a rebuilt sdcard.
|
||||
|
||||
Stuck here now (counting up linux time):
|
||||
```
|
||||
Failed to connect to bus: No such file or directory
|
||||
1548604569
|
||||
LND not ready yet ... waiting another 60 seconds.
|
||||
If this takes too long (more then 10min total) --> CTRL+c and report Problem
|
||||
Failed to connect to bus: No such file or directory
|
||||
1548604629
|
||||
LND not ready yet ... waiting another 60 seconds.
|
||||
If this takes too long (more then 10min total) --> CTRL+c and report Problem
|
||||
|
||||
```
|
||||
|
File diff suppressed because it is too large
Load diff
|
@ -3,7 +3,7 @@
|
|||
-----
|
||||
# DroidBlitz with DietPi
|
||||
|
||||
see: [/DietPi/install.md](/DietPi/install.md)
|
||||
see: [install_on_DietPi.md](install_on_DietPi.md)
|
||||
|
||||
|
||||
# RaspiBlitz
|
||||
|
@ -110,6 +110,7 @@ So open up a [terminal](https://www.youtube.com/watch?v=5XgBd6rjuDQ) and connect
|
|||
|
||||
**Now follow the dialoge in your terminal. This can take some time (prepare some coffee) - but in the end you should have a running Lightning node on your RaspberryPi that you can start to learn and hack on.**
|
||||
|
||||
|
||||
## Documentation
|
||||
|
||||
### Setup Process
|
||||
|
|
|
@ -10,7 +10,7 @@ After=bitcoind.service
|
|||
|
||||
[Service]
|
||||
EnvironmentFile=
|
||||
ExecStart=/usr/local/bin/lnd --externalip=${publicIP}
|
||||
ExecStart=/usr/local/bin/lnd
|
||||
PIDFile=/home/bitcoin/.lnd/lnd.pid
|
||||
User=bitcoin
|
||||
Group=bitcoin
|
||||
|
|
42
install_on_DietPi.md
Normal file
42
install_on_DietPi.md
Normal file
|
@ -0,0 +1,42 @@
|
|||
Working with the ODroid HC1 and this image: https://dietpi.com/downloads/images/DietPi_OdroidXU4-ARMv7-Stretch.7z
|
||||
|
||||
Getting started with DietPi: https://dietpi.com/phpbb/viewtopic.php?f=8&t=9#p9
|
||||
|
||||
Login to DietPi
|
||||
username = root
|
||||
password = dietpi
|
||||
DietPi also comes pre-installed with Dropbear SSH Server.
|
||||
|
||||
`ssh root@[IP-OF-DIETPI]`
|
||||
password: `dietpi`
|
||||
Ok > Cancel > Cancel
|
||||
automatic apt update & apt upgrade on first logon and reboots
|
||||
Opt out of survey > Ok > Ok
|
||||
|
||||
`ssh root@[IP-OF-DIETPI]`
|
||||
|
||||
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
||||
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
|
||||
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
||||
|
||||
run (copy from the terminal output): `ssh-keygen -f "/home/buidl/.ssh/known_hosts" -R "dietpi.IP"`
|
||||
|
||||
`ssh root@[IP-OF-DIETPI]`
|
||||
Ok > Install fail2ban > Install > Ok
|
||||
Reboots again
|
||||
|
||||
`ssh root@[IP-OF-DIETPI]`
|
||||
Now only the bash prompt opens
|
||||
|
||||
use: wget https://raw.githubusercontent.com/[GITHUB-USERNAME]/raspiblitz/[BRANCH]/build.sdcard/raspbianStretchDesktop.sh && sudo bash raspbianStretchDesktop.sh [BRANCH] [GITHUB-USERNAME]
|
||||
|
||||
`wget https://raw.githubusercontent.com/openoms/HardwareNode/OdroidHC1Debug/build.sdcard/raspbianStretchDesktop.sh && sudo bash raspbianStretchDesktop.sh OdroidHC1Debug openoms`
|
||||
|
||||
see my output: [sdcard_build_output](DietPi/sdcard_build_output)
|
||||
|
||||
`ssh admin@[IP-OF-DROIDBLITZ]`
|
||||
password: raspiblitz
|
||||
|
||||
and continue as in the RaspiBlitz setup [README.md](README.md)
|
||||
|
||||
|
Loading…
Add table
Reference in a new issue