十年网站开发经验 + 多家企业客户 + 靠谱的建站团队
量身定制 + 运营维护+专业推广+无忧售后,网站问题一站解决
$vi /etc/network/interfaces加入以下内容
auto wlan0
iface wlan0 inet dhcp
pre-up ip link set wlan0 up
pre-up iwconfig wlan0 essid your-ssid-here
wpa-ssid your-ssid-here
wpa-psk your-passwd-here
最后重启网络$/etc/init.d/networking restart
or
auto lo
iface lo inet loopback
#allow-hotplug eth0
#iface eth0 inet dhcp
#auto eth0
#iface eth0 inet static
#address 192.168.101.50
#netmask 255.255.255.0
#gateway 192.168.101.1
#broadcast 192.168.101.255
#auto wlan0
#iface wlan0 inet dhcp
#wpa-ssid YOUR-NETWORK-NAME
#wpa-key-mgmt WPA-PSK
#wpa-group TKIP CCMP
#wpa-psk YOUR-NETWORK-KEY