- Raspberry Pi (RPi) 連網路
- Ethernet, 直接連接網路線到區網
- WLAN, 需設定 AP (Access Point) 的 SSID/password
- 可以編輯 /etc/wpa_supplicant/wpa_supplicant.conf (Ethernet 連接後編輯, 或在 /boot partition下編輯)
network={ ssid="YOUR WIFI NETWORK NAME" psk="YOUR WIFI PASSWORD" }
- 或可透過像 BIOS設定的 raspi-config 做設定
sudo raspi-config
- 連接 RPi
- Find RPi in LAN
arp -na | grep -i b8:27:eb
- Connect RPi (assume IP is found by previous script)
ssh 192.168.1.111 -l pi
- Connect RPi with GUI
ssh -X 192.168.1.111 -l pi
- Note: MaxOSX Lion 之後預設不支援 X11, 須自行安裝 Xquartz
- // file tmp.txt on RPi home directory (192.168.1.111)
scp pi@192.168.1.111:tmp.txt ./
沒有留言:
張貼留言