树莓派开启WLAN及静态IP

日期 2017-07-27 树莓派 作者 phoen7x 共0评论

记录:

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

人生在世,错别字在所难免,无需纠正。