mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-19 01:40:16 +01:00
parent
fd9b765bfd
commit
1c158759b1
@ -2,7 +2,7 @@
|
|||||||
Everybody is welcome to join, improve, and extend the RaspiBlitz - it's a work in progress. Check the issues if you wanna help out or add new ideas. You can find the scripts used for RaspiBlitz interactions on the device at /home/admin or in this Git repo's subfolder home.admin.
|
Everybody is welcome to join, improve, and extend the RaspiBlitz - it's a work in progress. Check the issues if you wanna help out or add new ideas. You can find the scripts used for RaspiBlitz interactions on the device at /home/admin or in this Git repo's subfolder home.admin.
|
||||||
|
|
||||||
## Understanding Blitz project
|
## Understanding Blitz project
|
||||||
RaspiBlitz is insipired by the [RaspiBolt guide](https://stadicus.github.io/RaspiBolt/). Tutorial on how to build a lightning node on the RaspberryPi. So much thx to Stadicus :)
|
RaspiBlitz is insipired by the [RaspiBolt guide](https://raspibolt.github.io/raspibolt/). Tutorial on how to build a lightning node on the RaspberryPi. So much thx to Stadicus :)
|
||||||
To start your Deep Dive into the RaspiBlitz project, watch [this video](https://www.youtube.com/watch?v=QXUGg45CWLo).
|
To start your Deep Dive into the RaspiBlitz project, watch [this video](https://www.youtube.com/watch?v=QXUGg45CWLo).
|
||||||
|
|
||||||
### Blitz philosophy
|
### Blitz philosophy
|
||||||
|
4
FAQ.md
4
FAQ.md
@ -356,7 +356,7 @@ You don't need a LAN port on your laptop as long as you can connect over WLAN to
|
|||||||
## Is it possible to connect the Blitz over Wifi instead of using a LAN cable?
|
## Is it possible to connect the Blitz over Wifi instead of using a LAN cable?
|
||||||
|
|
||||||
A LAN cable is recommended because it reduces a possible source of error on the network connection side. But how to setup WLAN when you don't have a LAN-Router/Switch available see here:
|
A LAN cable is recommended because it reduces a possible source of error on the network connection side. But how to setup WLAN when you don't have a LAN-Router/Switch available see here:
|
||||||
https://stadicus.github.io/RaspiBolt/raspibolt_20_pi.html#prepare-wifi
|
https://raspibolt.github.io/raspibolt/raspibolt_20_pi.html#prepare-wifi
|
||||||
|
|
||||||
## Can I directly connect the RaspiBlitz to my laptop?
|
## Can I directly connect the RaspiBlitz to my laptop?
|
||||||
|
|
||||||
@ -678,7 +678,7 @@ Also make sure to check again on your power supply - it needs to deliver equal o
|
|||||||
## How can I update LND or bitcoind even before the next RaspiBlitz update?
|
## How can I update LND or bitcoind even before the next RaspiBlitz update?
|
||||||
|
|
||||||
Try updating before a official RaspiBlitz at your own risk - you can find some info about that here:
|
Try updating before a official RaspiBlitz at your own risk - you can find some info about that here:
|
||||||
https://stadicus.github.io/RaspiBolt/raspibolt_faq.html#how-to-upgrade-bitcoin-core
|
https://raspibolt.github.io/raspibolt/raspibolt_faq.html#how-to-upgrade-bitcoin-core
|
||||||
|
|
||||||
## I cannot connect via SSH to my RaspiBlitz. What do I do?
|
## I cannot connect via SSH to my RaspiBlitz. What do I do?
|
||||||
|
|
||||||
|
@ -295,7 +295,7 @@ For each password please choose unique, single strings, without spaces and speci
|
|||||||
|
|
||||||
You can use this [RaspiBlitz Recovery Sheet (PDF)](https://github.com/rootzoll/raspiblitz/raw/v1.7/home.admin/assets/RaspiBlitzRecoverySheet.pdf) to write those passwords down for safe storage and also use it later on for your Seed Words.
|
You can use this [RaspiBlitz Recovery Sheet (PDF)](https://github.com/rootzoll/raspiblitz/raw/v1.7/home.admin/assets/RaspiBlitzRecoverySheet.pdf) to write those passwords down for safe storage and also use it later on for your Seed Words.
|
||||||
|
|
||||||
*The password A,B,C idea is based on the [RaspiBolt Guide Preparations](https://stadicus.github.io/RaspiBolt/raspibolt_10_preparations.html#write-down-your-passwords) - check out for more background.*
|
*The password A,B,C idea is based on the [RaspiBolt Guide Preparations](https://raspibolt.github.io/raspibolt/raspibolt_10_preparations.html#write-down-your-passwords) - check out for more background.*
|
||||||
|
|
||||||
First, password A is requested - this is the password which will be used for SSH login and it's also set for the existing users: admin, root, bitcoin & pi.
|
First, password A is requested - this is the password which will be used for SSH login and it's also set for the existing users: admin, root, bitcoin & pi.
|
||||||
|
|
||||||
@ -611,7 +611,7 @@ For details see: https://github.com/lightningequipment/circuitbreaker/blob/maste
|
|||||||
|
|
||||||
The RaspiBlitz will automatically unlock the LND wallet upon every start.
|
The RaspiBlitz will automatically unlock the LND wallet upon every start.
|
||||||
|
|
||||||
This feature is based on https://github.com/Stadicus/guides/blob/master/raspibolt/raspibolt_6A_auto-unlock.md
|
This feature is based on https://github.com/raspibolt/raspibolt/blob/fec8efc95ab4ec7285a1cb623e98c2682e5ef514/raspibolt/raspibolt_6A_auto-unlock.md
|
||||||
|
|
||||||
It can be activated under "Services" -> "Auto-unlock LND".
|
It can be activated under "Services" -> "Auto-unlock LND".
|
||||||
We recommend that it be turned on when DynamicDNS is used.
|
We recommend that it be turned on when DynamicDNS is used.
|
||||||
|
@ -384,7 +384,7 @@ fi
|
|||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "*** CONFIG ***"
|
echo "*** CONFIG ***"
|
||||||
# based on https://stadicus.github.io/RaspiBolt/raspibolt_20_pi.html#raspi-config
|
# based on https://raspibolt.github.io/raspibolt/raspibolt_20_pi.html#raspi-config
|
||||||
|
|
||||||
# set new default password for root user
|
# set new default password for root user
|
||||||
echo "root:raspiblitz" | sudo chpasswd
|
echo "root:raspiblitz" | sudo chpasswd
|
||||||
@ -496,7 +496,7 @@ sudo service rsyslog restart
|
|||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "*** SOFTWARE UPDATE ***"
|
echo "*** SOFTWARE UPDATE ***"
|
||||||
# based on https://stadicus.github.io/RaspiBolt/raspibolt_20_pi.html#software-update
|
# based on https://raspibolt.github.io/raspibolt/raspibolt_20_pi.html#software-update
|
||||||
|
|
||||||
# installs like on RaspiBolt
|
# installs like on RaspiBolt
|
||||||
sudo apt install -y htop git curl bash-completion vim jq dphys-swapfile bsdmainutils
|
sudo apt install -y htop git curl bash-completion vim jq dphys-swapfile bsdmainutils
|
||||||
@ -562,7 +562,7 @@ sudo apt -y autoremove
|
|||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "*** ADDING MAIN USER admin ***"
|
echo "*** ADDING MAIN USER admin ***"
|
||||||
# based on https://stadicus.github.io/RaspiBolt/raspibolt_20_pi.html#add-users
|
# based on https://raspibolt.github.io/raspibolt/raspibolt_20_pi.html#add-users
|
||||||
# using the default password 'raspiblitz'
|
# using the default password 'raspiblitz'
|
||||||
|
|
||||||
sudo adduser --disabled-password --gecos "" admin
|
sudo adduser --disabled-password --gecos "" admin
|
||||||
@ -583,7 +583,7 @@ sudo chmod 755 /home/admin/raspiblitz.info
|
|||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "*** ADDING SERVICE USER bitcoin"
|
echo "*** ADDING SERVICE USER bitcoin"
|
||||||
# based on https://stadicus.github.io/RaspiBolt/raspibolt_20_pi.html#add-users
|
# based on https://raspibolt.github.io/raspibolt/raspibolt_20_pi.html#add-users
|
||||||
|
|
||||||
# create user and set default password for user
|
# create user and set default password for user
|
||||||
sudo adduser --disabled-password --gecos "" bitcoin
|
sudo adduser --disabled-password --gecos "" bitcoin
|
||||||
@ -697,7 +697,7 @@ sudo bash -c "echo '# Raspiblitz' >> /home/admin/.bashrc"
|
|||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "*** SWAP FILE ***"
|
echo "*** SWAP FILE ***"
|
||||||
# based on https://stadicus.github.io/RaspiBolt/raspibolt_20_pi.html#move-swap-file
|
# based on https://raspibolt.github.io/raspibolt/raspibolt_20_pi.html#move-swap-file
|
||||||
# but just deactivating and deleting old (will be created alter when user adds HDD)
|
# but just deactivating and deleting old (will be created alter when user adds HDD)
|
||||||
|
|
||||||
sudo dphys-swapfile swapoff
|
sudo dphys-swapfile swapoff
|
||||||
@ -705,7 +705,7 @@ sudo dphys-swapfile uninstall
|
|||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "*** INCREASE OPEN FILE LIMIT ***"
|
echo "*** INCREASE OPEN FILE LIMIT ***"
|
||||||
# based on https://stadicus.github.io/RaspiBolt/raspibolt_21_security.html#increase-your-open-files-limit
|
# based on https://raspibolt.github.io/raspibolt/raspibolt_21_security.html#increase-your-open-files-limit
|
||||||
|
|
||||||
sudo sed --in-place -i "56s/.*/* soft nofile 128000/" /etc/security/limits.conf
|
sudo sed --in-place -i "56s/.*/* soft nofile 128000/" /etc/security/limits.conf
|
||||||
sudo bash -c "echo '* hard nofile 128000' >> /etc/security/limits.conf"
|
sudo bash -c "echo '* hard nofile 128000' >> /etc/security/limits.conf"
|
||||||
@ -720,7 +720,7 @@ sudo bash -c "echo '# end of pam-auth-update config' >> /etc/pam.d/common-sessio
|
|||||||
|
|
||||||
|
|
||||||
# *** fail2ban ***
|
# *** fail2ban ***
|
||||||
# based on https://stadicus.github.io/RaspiBolt/raspibolt_21_security.html
|
# based on https://raspibolt.github.io/raspibolt/raspibolt_21_security.html#fail2ban
|
||||||
echo "*** HARDENING ***"
|
echo "*** HARDENING ***"
|
||||||
sudo apt install -y --no-install-recommends python3-systemd fail2ban
|
sudo apt install -y --no-install-recommends python3-systemd fail2ban
|
||||||
|
|
||||||
@ -944,7 +944,7 @@ echo ""
|
|||||||
echo "*** PREPARING LIGHTNING ***"
|
echo "*** PREPARING LIGHTNING ***"
|
||||||
|
|
||||||
# "*** LND ***"
|
# "*** LND ***"
|
||||||
## based on https://stadicus.github.io/RaspiBolt/raspibolt_40_lnd.html#lightning-lnd
|
## based on https://raspibolt.github.io/raspibolt/raspibolt_40_lnd.html#lightning-lnd
|
||||||
## see LND releases: https://github.com/lightningnetwork/lnd/releases
|
## see LND releases: https://github.com/lightningnetwork/lnd/releases
|
||||||
## !!!! If you change here - make sure to also change interims version in lnd.update.sh !!!
|
## !!!! If you change here - make sure to also change interims version in lnd.update.sh !!!
|
||||||
lndVersion="0.13.3-beta"
|
lndVersion="0.13.3-beta"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# based on: https://github.com/Stadicus/guides/issues/249
|
# based on: https://github.com/raspibolt/raspibolt/issues/249
|
||||||
|
|
||||||
if [ $# -eq 0 ]; then
|
if [ $# -eq 0 ]; then
|
||||||
echo "small config script to switch the LND autoNatDiscovery on or off"
|
echo "small config script to switch the LND autoNatDiscovery on or off"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# based on: https://github.com/Stadicus/guides/issues/249
|
# based on: https://github.com/raspibolt/raspibolt/issues/249
|
||||||
|
|
||||||
if [ $# -eq 0 ]; then
|
if [ $# -eq 0 ]; then
|
||||||
echo "small config script to switch the BTC UPnP on or off"
|
echo "small config script to switch the BTC UPnP on or off"
|
||||||
|
Loading…
Reference in New Issue
Block a user