24. 允許root使用SSH 密碼登入
Normally ssh does not allow root access because this
is considered a security risk
作法:
sudo passwd root 設定root登入密碼
sudo nano /etc/ssh/sshd_config
找到 “#PermitRootLogin without-password” , 改
成”PermitRootLogin yes”
25. 設定Pi 3 Wi-Fi
# Site Survey (AP Scan)
sudo iwlist wlan0 scan
#連接AP
sudo raspi-config 進入[Network Options]Wi-Fi
29. Pi 校時
Synchronize and set computers’ date and time by
querying a Network Time Protocol (NTP) server
sudo apt-get install ntpdate
sudo ntpdate ntp.ubuntu.com