标签:ubuntu 无线网卡 usb tplink ndiswrapper
Bus 002 Device 005: ID 0bda:8178 Realtek Semiconductor Corp. Bus 002 Device 004: ID 413c:3016 Dell Computer Corp. Optical 5-Button Wheel Mouse Bus 002 Device 002: ID 8087:0024 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 003: ID 413c:2107 Dell Computer Corp. Bus 001 Device 002: ID 8087:0024 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
1) 从http://sourceforge.net/projects/ndiswrapper/ 下载源码
2) 下载,解压,进入到/ndiswrapper/目录
3) make , make install
1) 下载USB无线网卡tl-wn821n的驱动(下载地址:http://www.tp-link.com/lk/support/download/?model=TL-WN821N&version=V4#tbl_a)
2) 解压后进入目录TL-WN821N\Driver\Windows XP 32bit \
3). 在终端中运行如下命令:
$ sudo ndiswrapper -i *.inf
$ sudo ndiswrapper -l
[sudo] password for kdev:
net8192cu : driver installed
device (0BDA:8178) present
编辑/etc/modules文件,在末尾加入 ndiswrapper (设置系统启动时加载将加载ndiswrapper)
$ sudo gedit /etc/modules
$ sudo modprobe ndiswrapper
$ sudo ndiswrapper -m 执行后显示信息 adding "alias wlan0 ndiswrapper" to /etc/modprobe.d/ndiswrapper ... ************************************************************************ * The update-modules command is deprecated and should not be used! ***********************************************************************
$ sudo iwconfig [sudo] password for kdev: lo no wireless extensions. eth0 no wireless extensions. wlan0 IEEE 802.11g ESSID:"TP-LINK_Hi" Mode:Managed Frequency:2.437 GHz Access Point: 0C:82:68:99:E7:CA Bit Rate=150 Mb/s Tx-Power:20 dBm Sensitivity=0/3 RTS thr:off Fragment thr:off Encryption key:C896-D213-B0B8-8D62-712A-AB3D-AB12-85C7 Security mode:restricted Power Management:off Link Quality:79/100 Signal level:-45 dBm Noise level:-96 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0
如不卸载可能会导致 加入无线网络弹出“Bad password”的状态信息
$ sudo apt-get autoremove network-manager
1)打开ubuntu software center
2)找到“wicd 网络管理器” 并安装
说明:
1.wicd是一个第三方network manager,而系统自带的network manager经常出现莫名奇妙的错误!
2.wicd安装过程中会弹出一个窗口以供选择用户,选择后下一步即可安装成功$ sudo ifconfig wlan0 up
启动Wicd Network Manager,此时可以看到可使用的无线网络了,如果要连接的无线网络设置了密码,则要配置相应加密方式加密的密码(我这里的加密方式是wpa/wpa2 psk):点击"Properties",勾选“Use Encryption”并在其下方的下位列表选项中选择WPA 1/2(Preshared Key)即在配置tp-link无线路由时设置的无线网络加密方式:"wpa/wpa2 psk"(此步为关键,千万不要选错,否则连不上),然后在之后的“Preshared Key”中填入无线网络的接入密码,然后点击"Connect"即可,
参考博客:http://foreveryoung001.iteye.com/blog/1746781
http://blog.sina.com.cn/s/blog_6aaf309f0100x0qb.html
http://www.cnblogs.com/howDo/archive/2013/03/24/ubuntuUbs.html
ubuntu 安装tp-link usb无线网卡 tl-wn821n,布布扣,bubuko.com
ubuntu 安装tp-link usb无线网卡 tl-wn821n
标签:ubuntu 无线网卡 usb tplink ndiswrapper
原文地址:http://blog.csdn.net/little_mario/article/details/27107025