配置IP
sudo vi /etc/network/interface
auto wlan1
iface wlan1 inet static
address 192.168.0.33
gateway 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
配置DNS
sudo vi /etc/resolv.conf
nameserver 192.168.0.10
重启服务
sudo /etc/init.d/networking restart