You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sudo raspi-config nonint do_serial 1 #disables console shell over GPIO serial
205
+
sudo raspi-config nonint do_serial 1 #disables console shell over GPIO serial
205
206
set_config_var enable_uart 1 $CONFIG#enables GPIO serial
206
207
set_config_var dtoverlay pi3-disable-bt $CONFIG#disables bluetooth
207
208
@@ -233,17 +234,24 @@ if (whiptail --title "Proftpd" --yesno "Do you want to install Proftpd?\nNote: P
233
234
fi
234
235
235
236
sudo apt-get clean
237
+
cd~/
236
238
237
239
echo -e "${CYAN}************* STEP: Run raspi-config *************${NC}"
238
240
if (whiptail --title "Run raspi-config ?" --yesno "Would you like to run raspi-config?\nNote: you should run this tool and configure the essential settings of your Pi if you haven't done it yet!" 12 78) then
239
241
sudo raspi-config
240
242
fi
241
243
242
244
echo -e "${RED}Make sure: ${YLW}to edit your gateway settings from the UI or from settings.json5 (and restart to apply changes)${NC}"
243
-
echo -e "${RED}By default ${YLW}the gateway app uses the GPIO serial port (/dev/ttyserial0)"
245
+
echo -e "${RED}By default ${YLW}the gateway app uses the GPIO serial port (/dev/ttyAMA0)"
244
246
echo -e "${YLW}If you use MoteinoUSB or another serial port you must edit the serial port setting or the app will not receive messages from your Moteino nodes.${NC}"
245
247
echo -e "${RED}App restarts ${YLW}can be requested from the Gateway UI (power symbol button on settings page, or from the terminal via ${RED}sudo systemctl restart gateway.service${NC}"
246
248
echo -e "${YLW}You can change httpauth password using ${RED}htpasswd $APPSRVDIR/data/secure/.htpasswd user newpassword${NC}"
247
-
echo -e "${CYAN}************* ALL DONE! *************${NC}"
248
-
cd~/
249
+
250
+
if (whiptail --title "REBOOT ?" --yesno "All done, a REBOOT is required for the GPIO serial port to be ready.\n\nWould you like to REBOOT now?" 12 78) then
251
+
echo -e "${CYAN}************* ALL DONE - REBOOTING... *****************${NC}"
252
+
sudo reboot
253
+
else
254
+
echo -e "${CYAN}************* ALL DONE - REBOOT REQUIRED! *************${NC}"
0 commit comments