Raspberry Pi 樹(shù)莓派的系統(tǒng)重裝
格式化存儲(chǔ)卡
Panasonic_SDFormatter
燒錄鏡像
Win32DiskImager
write
默認(rèn)密碼
pi
raspberry
切換命令行
空格選中
sudo raspi-config
boot options
啟用root
sudo passwd root
sudo passwd --unlock root
su
reboot
鍵盤(pán)定義
raspi-config
Generic 104-key PC
other
chinese
Thedefaultforthekeyboardlayout
NO compose key
連接wifi
查看射頻端口
rfkill list
rfkill unblock all
查看網(wǎng)絡(luò)狀態(tài)
ifconfig
ifconfig -a
安裝網(wǎng)卡驅(qū)動(dòng)(如果沒(méi)有)
apt-get install wireless-tools wpasupplicant firmware-realtek
啟動(dòng)網(wǎng)卡
ifconfig wlan0 up
設(shè)置開(kāi)機(jī)啟動(dòng)
vim /etc/rc.local
rfkill unblock wifi
ifconfig wlan0 up
查看可連接wifi
iwlist wlan0 scan |grep 360wifi
快捷配置
wpa_passphrase 360wifi 12345678
配置文件配置
vim /etc/network/interfaces
vim /etc/wpa_supplicant/wpa_supplicant.conf??
ifconfig wlan0 up
刷新配置文件
wpa_cli reconfigure
systemctl restart networking
參考資料
安裝vim
apt-get install vim
開(kāi)啟ssh
cd /
systemctl enable ssh
systemctl restart ssh
啟用root的ssh
vim /etc/ssh/sshd_config
PermitRootLogin yes
reboot
中文環(huán)境
sudo apt-get install ttf-wqy-zenhei
raspi-config
change_locale
zh_CN.UTF-8
連接3.5寸LCD屏幕
參考資料
https://github.com/goodtft/LCD-show
?