From ba23a39b0b85339c1af35a89259a809c71bc931a Mon Sep 17 00:00:00 2001 From: openoms Date: Wed, 20 Mar 2019 16:23:34 +0000 Subject: [PATCH] do not change DietPi name before setup --- dietpi/RaspberryPi.md | 17 +++++++++++++++-- dietpi/boot/dietpi.txt | 6 +++--- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/dietpi/RaspberryPi.md b/dietpi/RaspberryPi.md index f09c5ba..1b71ce8 100644 --- a/dietpi/RaspberryPi.md +++ b/dietpi/RaspberryPi.md @@ -17,9 +17,22 @@ https://dietpi.com/downloads/images/DietPi_RPi-ARMv6-Stretch.7z * Insert the SDcard into your Raspberry Pi. -* Connect the HDD, network cable and power supply to boot. (The optional default LCD will be setup automtically) +* Connect the HDD, network cable and power supply to boot. (The optional default LCD will be setup automatically.) -* The automated setup will run and the Raspberry Pi will restart at least twice during the process. This will take up to an hour. Log in with `root` if you want to follow along. The build_sdcard.sh script output can be seen with: `tail -n1000 -f /var/tmp/dietpi/logs/dietpi-automation_custom_script.log` +* Login from a terminal (Putty from Windows) with +`ssh root@[IP-OF-RASPIBLITZ]` +password: `dietpi` + + The ssh keys might change during the process: + @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ + @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ + @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ + To solve run (can be copied from the terminal output): + `ssh-keygen -f "/home/[your-linux-username]/.ssh/known_hosts" -R "dietpi.IP"` + + + +* The automated setup will continue and the Raspberry Pi will restart at least twice during the process. This will take up to an hour. Log in with `root` if you want to follow along. The build_sdcard.sh script output can be seen with: `tail -n1000 -f /var/tmp/dietpi/logs/dietpi-automation_custom_script.log` * When the setup is finished log in as `admin`: `ssh admin@[IP-OF-RASPIBLITZ]` diff --git a/dietpi/boot/dietpi.txt b/dietpi/boot/dietpi.txt index 0572089..471d87c 100644 --- a/dietpi/boot/dietpi.txt +++ b/dietpi/boot/dietpi.txt @@ -27,7 +27,7 @@ AUTO_SETUP_NET_STATIC_GATEWAY=192.168.0.1 AUTO_SETUP_NET_STATIC_DNS=8.8.8.8 # Hostname -AUTO_SETUP_NET_HOSTNAME=DietBlitz +AUTO_SETUP_NET_HOSTNAME=DietPi # Force ethernet speeds # NB: This is mainly aimed at Pine A64's which may have an HW issue that causes unstable 1Gbit link. @@ -69,8 +69,8 @@ AUTO_SETUP_GLOBAL_PASSWORD=dietpi #AUTO_SETUP_INSTALL_SOFTWARE_ID=74 #will install LAMP webserver stack #AUTO_SETUP_INSTALL_SOFTWARE_ID=44 #will install Bittorrent transmission -AUTO_SETUP_INSTALL_SOFTWARE_ID=73 # install fail2ban - +# install fail2ban +AUTO_SETUP_INSTALL_SOFTWARE_ID=73 # AUTO_SETUP_INSTALL_SOFTWARE_ID=0 # install OpenSSH Client # AUTO_SETUP_INSTALL_SOFTWARE_ID=105 # install OpenSSH Server