本文最后更新于2014年7月1日,已超过 1 年没有更新,如果文章内容失效,还请反馈给我,谢谢!
在使用网络查看命令(ifconfig/iwconfig)可以查看到无线网卡的情况下(表明无线网卡的驱动是正常安装的,之后就可以使用命令:iwlist wlan0 scanning 来查看附近的一些无线信号)
编辑文件“/etc/network/interfaces”:
# vim /etc/network/interfaces
——————-
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet static
address 192.168.1.111
gateway 192.168.1.1
netmask 255.255.255.0
wpa-ssid Your_SSID
wpa-psk Your_passwd
——————-
然后重启网卡就行:service networking restart。
记录一下。。。
2014-5-8 14:52:10
然后可以手动指定一下DNS防止运营商的DNS污染:
编辑Debian下的DNS服务器配置文件: /etc/resolv.conf
nameserver 202.103.0.117
nameserver 211.95.193.97
nameserver 114.114.114.114
nameserver 8.8.8.8


发布评论