- 笔记本: ASUS M2000
- 系统: Debian 2.6.22-3-686
- 无线网卡: Intel Pro/Wireless 2100
- ESSID: MyLab
- 用户名:MyName
- 密码:MyPasswd
- 网络验证:WPA
- 数据加密:TKIP
- EAP类型:PEAP
- 验证方法:EAP-MSCHAP V2
- 下载ipw2100-fw,解压到/lib/firmware目录下。
- rmmod ipw2100
- modprobe ipw2100
找接入的ap:# PCI device 0x8086:0x1043 (ipw2100) SUBSYSTEM=="net", DRIVERS=="?*", \ ATTR{address}=="xx:xx:xx:xx:xx:xx", NAME="eth1"
- apt-get install wpasupplicant wireless-tools
- iwlist eth1 scan
编辑/etc/wpa_supplicant/lab.conf
编辑/etc/network/interfaces:
参考:
测试一下:wpa_supplicant -w -i eth1 -D wext -c /etc/wpa_supplicant/lab.confctrl_interface=/var/run/wpa_supplicant eapol_version=1 ap_scan=1 fast_reauth=1 network={ssid="MyLab" id_str="wlab" scan_ssid=1 key_mgmt=WPA-EAP eap=PEAP identity="MyName" password="MyPasswd" auth_alg=OPEN phase1="peaplabel=0" phase2="auth=MSCHAPV2" priority=10 proto=WPA pairwise=TKIP group=TKIP }
编辑/etc/network/interfaces:
# 无线网卡
allow-hotplug eth1
iface eth1 inet dhcp
wpa-driver wext
wpa-roam /etc/wpa_supplicant/lab.conf
### 无线接入实验室
wpa-ssid "MyLab"
启动无线:ifup eth1 参考:
没有评论:
发表评论