Browse Source

do not change DietPi name before setup

dev
openoms 6 years ago
parent
commit
ba23a39b0b
  1. 17
      dietpi/RaspberryPi.md
  2. 6
      dietpi/boot/dietpi.txt

17
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]`

6
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

Loading…
Cancel
Save