树梅派Raspberry Pi 无线WIFI配置

配置无线网络

用编辑器nano打开interfaces文件

1
sudo nano /etc/network/interfaces

尾部加入

1
2
3
4
5
6
7
8
9
auto lo
iface lo inet loopback
iface eth0 inet dhcp
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp

用编辑器nano打开wpa_supplicant.confs文件

1
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

尾部加入

network={
ssid="SSID-GOES-HERE"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk="WIFI-PASSWORD-GOES-HERE"
}
寻味漂漂 wechat
加我微信好友,请长按或扫描上方微信二维码
坚持原创技术分享,您的支持将鼓励我继续创作!