2019-06-26 04:15:07 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
LOCAL_IP=$(python ./scripts/get_local_ip.py)
|
|
|
|
|
|
|
|
echo ""
|
|
|
|
echo "Finished updating rootfs and other files!"
|
|
|
|
echo ""
|
|
|
|
|
|
|
|
clear
|
|
|
|
echo "Step 1: "
|
2019-06-27 03:02:08 +00:00
|
|
|
echo " Flash SD Card with Rock64 Image: out/base_images/rock64_base.img.gz"
|
2019-06-26 04:15:07 +00:00
|
|
|
echo " OR"
|
|
|
|
echo " If you would rather create your own base image, follow the"
|
|
|
|
echo " manual instructions in setup/setup_image_rock64.txt"
|
|
|
|
echo ""
|
|
|
|
echo "Press a key when complete..."
|
|
|
|
read -n 1
|
|
|
|
|
|
|
|
clear
|
|
|
|
echo "Step 2: "
|
2019-06-27 03:02:08 +00:00
|
|
|
echo " Insert SD Card into your Rock64 and boot the device"
|
2019-06-26 04:15:07 +00:00
|
|
|
echo ""
|
|
|
|
echo "Press a key when complete..."
|
|
|
|
read -n 1
|
|
|
|
|
|
|
|
clear
|
|
|
|
echo "Step 3: "
|
|
|
|
echo " Login to device with username 'admin' and password 'bolt'"
|
|
|
|
echo " Run the following commands. Use bolt at password prompts."
|
2019-06-27 03:02:08 +00:00
|
|
|
echo " wget http://${LOCAL_IP}:8000/setup_device.sh -O setup_device.sh"
|
|
|
|
echo " chmod +x setup_device.sh"
|
|
|
|
echo " sudo ./setup_device.sh ${LOCAL_IP}"
|
2019-06-26 04:15:07 +00:00
|
|
|
echo ""
|
|
|
|
echo "Press a key when complete..."
|
|
|
|
read -n 1
|
|
|
|
|
|
|
|
clear
|
|
|
|
echo "Step 4:"
|
|
|
|
echo " Reboot your device."
|
|
|
|
echo ""
|
|
|
|
echo "Press a key when complete..."
|
|
|
|
read -n 1
|
|
|
|
|
2019-06-30 21:13:04 +00:00
|
|
|
clear
|
|
|
|
echo "Congratulations! Your device is now ready!"
|
|
|
|
echo " Access it via a web browser at http://mynode.local/ or http://<device ip>/"
|
|
|
|
echo " Access it via SSH using the default credentials: admin / bolt"
|
|
|
|
echo " You should change your password on the settings page in the web GUI"
|
|
|
|
echo ""
|