Raspberry 常用指令
(1) How to set up WiFi on your Raspberry Pi without a keyboard or monitor (or ethernet)
(1.1) Put the Raspbian SD card into your computer
(1.2) cd /Volumes/boot
(1.3) Add your wpa_supplicant.conf file
Create a file in this directory called wpa_supplicant.conf. The file should contain the following details:
network={ ssid="YOUR_NETWORK_NAME" psk="YOUR_PASSWORD" key_mgmt=WPA-PSK }
With this file in place, Raspbian will move it in /etc/wpa_supplicant/ when the system is booted.
(1.4) Put your SD card in the Raspberry Pi, boot, and connect
(2) Raspberry Pi 3 B and B+ - How to Configure Wi-Fi and Bluetooth
Now you need to add your Wi-Fi settings to the wpa-supplicant configuration file. Type the following in the command line to the configuration file: sudo nano /etc/wpa_supplicant/wpa_supplicant.conf.
Go to the bottom of the file and add the following Wi-Fi setting, adding your setting in the quotation marks.
network={
ssid="The_ESSID_from_earlier"
psk="Your_wifi_password"
}
(3) RASPBERRY GPIO SETUP.
pi@raspberrypi:~ $ apt-get update
pip install RPi.GPIO
(3) install FTP
http://yhhuang1966.blogspot.com/2017/02/ftp.html
sudo raspi-config
留言列表