vim /etc/network/interfaces
添加以下內(nèi)容
auto wlan0
iface wlan0 inet static
address 192.168.0.10
netmask 255.255.255.0
gateway 192.168.0.1
broadcast 192.168.0.255
vim /etc/network/interfaces
添加以下內(nèi)容
auto wlan0
iface wlan0 inet static
address 192.168.0.10
netmask 255.255.255.0
gateway 192.168.0.1
broadcast 192.168.0.255