thinkpad 新装ubuntu系统后,无法上无线网络,因而四处找解决办法,本文出自http://www.cnblogs.com/TheGrandDesign/archive/2011/06/17/2083853.html感谢作者所进行的讲解以及提供了这么好的方法。
1、用TP-Link WN550G PCI无线网卡做无线AP,这块网卡使用的是Atheros Communications Inc. AR2413的芯片组,可以使用madwifi的驱动(http://madwifi-project.org/)。现在的Linux内核默认就带有madwifi的驱动,名为ath5k,但是这个驱动对于配置该网卡为AP有问题,所以我们还是换成ath_pci这个驱动,这也是madwifi project中的驱动。
2、去http://madwifi-project.org/ 下载 madwifi-0.9.4-current.tar.gz ,然后make,make install。
3、方法一:先要卸载ath5k(modprobe -r ath5k),然后再加载ath_pci (modprobe ath_pci). 此方法每次重开机之后都要重新设置。
4、方法二:ubuntu中,ls /etc/modprobe.d可看到有blacklist-ath_pci.conf; vi /etc/modprobe.d/blacklist-ath_pci.conf可看到有一行为blacklist ath_pci,即ubuntu默认把驱动ath_pci给blacklist掉了,所以将该行注释掉。
然后将ath5k给blacklist掉,即将blacklist.conf加入blacklist ath5k (gksu gedit /etc/modprobe.d/blacklist.conf).
此方法重开机之后会直接加载ath_pci驱动。
5、# 由于直接编入内核,所以默认不是 AP 模式,需要先 destory
wlanconfig ath0 destroy
wlanconfig ath0 create wlandev wifi0 wlanmode ap
iwconfig ath0 essid "ap"
直接加载方式:modprobe ath_pci autocreate=ap,系统会使用默认值
我用了方法二,经过几次设置重启后已经可以发现使用无线网络。但是在不能连接实验室的无线网络,怀疑是因为无线路由加锁导致,正在解决中
尝试使用wicd:
sudo apt-get install wicd;
sudo apt-get remove network-manager;
restart
wicd:
GNOME菜单中 位于 应用程序→互联网→wicd 使用wicd后,依然没有什么作用。,待续。。。