安装无线网卡 TP-LINK TL-WN310G
日期:pu@2008-02-22
参考文章 https://help.ubuntu.com/community/WifiD ... diswrapper
通过 ndiswrapper,调用 Windows(一般使用 WinXP) 下的驱动程序,来驱动网卡。
安装步骤:
1. 安装 ndisgk (ndiswrapper 的图形界面程序)
2. 禁止模块 “bcm43xx” (和 ndiswrapper 冲突)
echo 'blacklist bcm43xx' | sudo tee -a /etc/modprobe.d/blacklist
重新启动,上面的禁止才起作用
3. 安装驱动(见附件)
共四个文件 mrv8335.cat mrv8335.inf MRV8335NT.sys MRV8335XP.sys
sudo ndiswrapper -i ~/drivers/drivername.inf
查看驱动是否安装成功
ndiswrapper -l
成功的话,获得输出:
mrv8335 : driver installed
device (11AB:1FAA) present
4. 将驱动载入内存
sudo depmod -a
sudo modprobe ndiswrapper
如果驱动载入内存成功,执行下面命令
ifconfig
应该能够看到 wlan0
5. 设置无线网络
通过 "System - Administration - Network",选中无线网卡,点击 "Property",确认复选框 "Enable roaming mode" 选中。
通过右上角的“网络连接”的图标,选择无线网络,输入密码。这时,可能有 Keyring Manager ,问你是否保存密码。
6. 在开机的时候,自动加载无线网卡。
对下面的文件做好备份,执行下面命令,打开文件:
gksudo gedit /etc/modules
在最末尾,加入一行: ndiswrapper ,保存。
或者执行命令如下:
echo "ndiswrapper" | sudo tee -a /etc/modules
[安装]自己的 tl-wn310g (外置 pci 接口)安装步骤
-
- 帖子: 14
- 注册时间: 2007-03-11 19:40
[安装]自己的 tl-wn310g (外置 pci 接口)安装步骤
- 附件
-
- tl-wn310g.tar.gz
- (244.92 KiB) 已下载 189 次
- paulcross
- 帖子: 484
- 注册时间: 2006-07-23 20:27
- paulcross
- 帖子: 484
- 注册时间: 2006-07-23 20:27
paul@ubuntu:~$ lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Contoller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
04:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express (rev 02)
15:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b6)
16:00.0 Ethernet controller: Atheros Communications, Inc. Unknown device 001d (rev 01)
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Contoller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
04:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express (rev 02)
15:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b6)
16:00.0 Ethernet controller: Atheros Communications, Inc. Unknown device 001d (rev 01)
- paulcross
- 帖子: 484
- 注册时间: 2006-07-23 20:27
搞定版权声明:转载时请以超链接形式标明文章原始出处和作者信息及本声明
http://suanli.blogbus.com/logs/7608987.html
似乎这个型号的网卡不同的版本用了不用的芯片,所以安装的时候要区分对待。
我买到的硬件版本是V5,用的是 Atheros的芯片。可以选装Madwifi或者ndiswrapper驱动。
我最后装成功的是 ndiswrapper。
步骤:
1 先禁止受限驱动,修改/etc/default下linux-restricted-modules-common文件,修改下面这行:DISABLED_MODULES="ath_hal"
保存后重启。(不确定不禁用受限驱动是否会有影响)
2 安装ndiswrapper,可以直接从光盘中安装。
3 下载Windows驱动,要到英文网站才能下载到V5版本的驱动。或者,也可以从驱动光盘里获得。
http://www.tplink.com/english/soft/200707061836.zip
4 解压,安装NDIS5下的驱动,ndiswrapper -i net5211.inf。可以用ndiswrapper -l查看驱动安装的情况。
5 重新加载ndiswapper模块,
sudo depmod -a
sudo modprobe ndiswrapper
我到这步之后网卡就能用了。如果不行尝试下面的步骤后重启。
6 设置随驱动随系统启动,ndiswrapper -ma。
不过我的网卡偶尔开机的时候没有被加载起来,原因不详。开机时间长了也会出现不能通信的情况。
看来要尝试下madwifi的驱动了。