树莓派开启WLAN及静态IP

记录:

sudo nano /etc/network/interfaces

修改:

auto wlan0
allow-hotplug wlan0
iface wlan0 inet static
address 192.168.2.111
netmask 255.255.255.0
gateway 192.168.2.1
wpa-ssid @PHICOMM_E8_2G
wpa-passphrase xxxxxxxx

发表新评论