ubuntu14.04没有无线网络,无线网卡BL-LW05-5R2怎么使用?

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
862000
帖子: 19
注册时间: 2015-01-06 12:57
系统: ubuntu

ubuntu14.04没有无线网络,无线网卡BL-LW05-5R2怎么使用?

#1

帖子 862000 » 2015-01-06 18:38

ubuntu14.04插上五项网卡后没有反应,识别不出来,网卡是BL-LW05-5R2,怎么操作才能使用无线网卡?
rosynirvana
帖子: 893
注册时间: 2011-02-14 17:46

Re: ubuntu14.04没有无线网络,无线网卡BL-LW05-5R2怎么使用?

#2

帖子 rosynirvana » 2015-01-06 19:59

lsusb能看到芯片代码吗?
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ubuntu14.04没有无线网络,无线网卡BL-LW05-5R2怎么使用?

#3

帖子 poloshiao » 2015-01-06 20:23

把下面指令 複製 貼進終端機 執行
0. uname -r
1. sudo lspci -knn
2. sudo lsusb
3. sudo lshw -numeric -class network
4. sudo ifconfig -a
5. sudo route -nv
6. sudo rfkill list all
把結果直接 選取/複製/貼上來
不必擷圖
862000
帖子: 19
注册时间: 2015-01-06 12:57
系统: ubuntu

Re: ubuntu14.04没有无线网络,无线网卡BL-LW05-5R2怎么使用?

#4

帖子 862000 » 2015-01-08 13:52

网卡芯片realtek 8188eu。我也下载liunx驱动$tar xvzf rtl8188eu_USB_linux.tar.gz

3. 编译安装
$cd 8188eu_USB_linux/driver/rtl8188eu/
$make
$sudo make install
若make命令错误,可能是没有安装对应内核的编译环境,可以用sudo apt-get install linux-headers-$(uname -r) build-essentials安装

4. 加载模块:

$sudo insmod 8188eu.ko

5.可能需要重启:

$sudo reboot
862000
帖子: 19
注册时间: 2015-01-06 12:57
系统: ubuntu

Re: ubuntu14.04没有无线网络,无线网卡BL-LW05-5R2怎么使用?

#5

帖子 862000 » 2015-01-08 14:01

$make
$sudo make install
若make命令错误,可能是没有安装对应内核的编译环境,可以用sudo apt-get install linux-headers-$(uname -r) build-essentials安装


我用make 命令提示错误
然后用用sudo apt-get install linux-headers-$(uname -r) build-essentials安
提示用headers-build-essentials 错误?
862000
帖子: 19
注册时间: 2015-01-06 12:57
系统: ubuntu

Re: ubuntu14.04没有无线网络,无线网卡BL-LW05-5R2怎么使用?

#6

帖子 862000 » 2015-01-08 16:58

poloshiao 写了:把下面指令 複製 貼進終端機 執行
0. uname -r
1. sudo lspci -knn
2. sudo lsusb
3. sudo lshw -numeric -class network
4. sudo ifconfig -a
5. sudo route -nv
6. sudo rfkill list all
把結果直接 選取/複製/貼上來
不必擷圖


执行之后
我现在用了华为手机上网,无线网卡BL-LW05-5R2区不起来?
cmd@cmd-C61GMX-T1:~$ uname -r
3.16.0-23-generic
cmd@cmd-C61GMX-T1:~$ sudo lspci -knn
00:00.0 RAM memory [0500]: NVIDIA Corporation MCP61 Memory Controller [10de:03ea] (rev a1)
Subsystem: Foxconn International, Inc. Device [105b:0efb]
00:01.0 ISA bridge [0601]: NVIDIA Corporation MCP61 LPC Bridge [10de:03e0] (rev a2)
Subsystem: Foxconn International, Inc. Device [105b:0efb]
00:01.1 SMBus [0c05]: NVIDIA Corporation MCP61 SMBus [10de:03eb] (rev a2)
Subsystem: Foxconn International, Inc. Device [105b:0efb]
Kernel driver in use: nForce2_smbus
00:01.2 RAM memory [0500]: NVIDIA Corporation MCP61 Memory Controller [10de:03f5] (rev a2)
Subsystem: Foxconn International, Inc. Device [105b:0efb]
00:01.3 Co-processor [0b40]: NVIDIA Corporation MCP61 SMU [10de:03f4] (rev a2)
Subsystem: Foxconn International, Inc. Device [105b:0efb]
00:02.0 USB controller [0c03]: NVIDIA Corporation MCP61 USB 1.1 Controller [10de:03f1] (rev a3)
Subsystem: Foxconn International, Inc. Device [105b:0efb]
Kernel driver in use: ohci-pci
00:02.1 USB controller [0c03]: NVIDIA Corporation MCP61 USB 2.0 Controller [10de:03f2] (rev a3)
Subsystem: Foxconn International, Inc. Device [105b:0efb]
Kernel driver in use: ehci-pci
00:04.0 PCI bridge [0604]: NVIDIA Corporation MCP61 PCI bridge [10de:03f3] (rev a1)
00:05.0 Audio device [0403]: NVIDIA Corporation MCP61 High Definition Audio [10de:03f0] (rev a2)
Subsystem: Foxconn International, Inc. Device [105b:0efb]
Kernel driver in use: snd_hda_intel
00:06.0 IDE interface [0101]: NVIDIA Corporation MCP61 IDE [10de:03ec] (rev a2)
Subsystem: Foxconn International, Inc. Device [105b:0efb]
Kernel driver in use: pata_amd
00:08.0 IDE interface [0101]: NVIDIA Corporation MCP61 SATA Controller [10de:03f6] (rev a2)
Subsystem: Foxconn International, Inc. Device [105b:0efb]
Kernel driver in use: sata_nv
00:08.1 IDE interface [0101]: NVIDIA Corporation MCP61 SATA Controller [10de:03f6] (rev a2)
Subsystem: Foxconn International, Inc. Device [105b:0efb]
Kernel driver in use: sata_nv
00:09.0 PCI bridge [0604]: NVIDIA Corporation MCP61 PCI Express bridge [10de:03e8] (rev a2)
Kernel driver in use: pcieport
00:0b.0 PCI bridge [0604]: NVIDIA Corporation MCP61 PCI Express bridge [10de:03e9] (rev a2)
Kernel driver in use: pcieport
00:0c.0 PCI bridge [0604]: NVIDIA Corporation MCP61 PCI Express bridge [10de:03e9] (rev a2)
Kernel driver in use: pcieport
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h Processor HyperTransport Configuration [1022:1200]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Address Map [1022:1201]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h Processor DRAM Controller [1022:1202]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Miscellaneous Control [1022:1203]
Kernel driver in use: k10temp
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Link Control [1022:1204]
02:00.0 VGA compatible controller [0300]: NVIDIA Corporation G96 [GeForce G210] [10de:065f] (rev a1)
Subsystem: Bitland(ShenZhen) Information Technology Co., Ltd. Device [1642:3917]
Kernel driver in use: nouveau
04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 03)
Subsystem: Foxconn International, Inc. Device [105b:0efb]
Kernel driver in use: r8169
cmd@cmd-C61GMX-T1:~$ sudo lsusb
Bus 001 Device 016: ID 148f:7601 Ralink Technology, Corp.
Bus 001 Device 003: ID 0951:1666 Kingston Technology
Bus 001 Device 015: ID 12d1:1050 Huawei Technologies Co., Ltd.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 1a2c:0e24 China Resource Semico Co., Ltd
Bus 002 Device 002: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
cmd@cmd-C61GMX-T1:~$ sudo lshw -numeric -class network
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10EC:8168]
vendor: Realtek Semiconductor Co., Ltd. [10EC]
physical id: 0
bus info: pci@0000:04:00.0
logical name: eth0
version: 03
serial: d0:27:88:7c:e1:b2
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl_nic/rtl8168d-1.fw latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
resources: irq:43 ioport:e800(size=256) memory:dafff000-daffffff memory:daff8000-daffbfff memory:dffe0000-dfffffff
*-network
description: Ethernet interface
physical id: 2
logical name: usb0
serial: 02:3e:66:5d:55:54
capabilities: ethernet physical
configuration: broadcast=yes driver=rndis_host driverversion=22-Aug-2005 firmware=RNDIS device ip=192.168.42.253 link=yes multicast=yes
cmd@cmd-C61GMX-T1:~$ sudo ifconfig -a
eth0 Link encap:以太网 硬件地址 d0:27:88:7c:e1:b2
inet6 地址: fe80::d227:88ff:fe7c:e1b2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:4267961 错误:0 丢弃:867 过载:0 帧数:0
发送数据包:1718 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:259796779 (259.7 MB) 发送字节:82074 (82.0 KB)

lo Link encap:本地环回
inet 地址:127.0.0.1 掩码:255.0.0.0
inet6 地址: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 跃点数:1
接收数据包:1526 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:1526 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:0
接收字节:137251 (137.2 KB) 发送字节:137251 (137.2 KB)

usb0 Link encap:以太网 硬件地址 02:3e:66:5d:55:54
inet 地址:192.168.42.253 广播:192.168.42.255 掩码:255.255.255.0
inet6 地址: fe80::3e:66ff:fe5d:5554/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:847 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:1137 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:353028 (353.0 KB) 发送字节:172732 (172.7 KB)

cmd@cmd-C61GMX-T1:~$ sudo route -nv
内核 IP 路由表
目标 网关 子网掩码 标志 跃点 引用 使用 接口
0.0.0.0 192.168.42.129 0.0.0.0 UG 0 0 0 usb0
192.168.42.0 0.0.0.0 255.255.255.0 U 1 0 0 usb0
cmd@cmd-C61GMX-T1:~$ sudo rfkill list all
cmd@cmd-C61GMX-T1:~$ sudo route -nv
内核 IP 路由表
目标 网关 子网掩码 标志 跃点 引用 使用 接口
0.0.0.0 192.168.42.129 0.0.0.0 UG 0 0 0 usb0
192.168.42.0 0.0.0.0 255.255.255.0 U 1 0 0 usb0
cmd@cmd-C61GMX-T1:~$ sudo ifconfig -a
eth0 Link encap:以太网 硬件地址 d0:27:88:7c:e1:b2
inet6 地址: fe80::d227:88ff:fe7c:e1b2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:4419586 错误:0 丢弃:885 过载:0 帧数:0
发送数据包:1718 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:269014013 (269.0 MB) 发送字节:82074 (82.0 KB)

lo Link encap:本地环回
inet 地址:127.0.0.1 掩码:255.0.0.0
inet6 地址: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 跃点数:1
接收数据包:1526 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:1526 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:0
接收字节:137251 (137.2 KB) 发送字节:137251 (137.2 KB)

usb0 Link encap:以太网 硬件地址 02:3e:66:5d:55:54
inet 地址:192.168.42.253 广播:192.168.42.255 掩码:255.255.255.0
inet6 地址: fe80::3e:66ff:fe5d:5554/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:847 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:1139 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:353028 (353.0 KB) 发送字节:173014 (173.0 KB)

cmd@cmd-C61GMX-T1:~$ sudo rfkill list all
cmd@cmd-C61GMX-T1:~$
862000
帖子: 19
注册时间: 2015-01-06 12:57
系统: ubuntu

Re: ubuntu14.04没有无线网络,无线网卡BL-LW05-5R2怎么使用?

#7

帖子 862000 » 2015-01-08 19:55

862000 写了:
poloshiao 写了:把下面指令 複製 貼進終端機 執行
0. uname -r
1. sudo lspci -knn
2. sudo lsusb
3. sudo lshw -numeric -class network
4. sudo ifconfig -a
5. sudo route -nv
6. sudo rfkill list all
把結果直接 選取/複製/貼上來
不必擷圖


执行之后
我现在用了华为手机上网,无线网卡BL-LW05-5R2区不起来?
cmd@cmd-C61GMX-T1:~$ uname -r
3.16.0-23-generic
cmd@cmd-C61GMX-T1:~$ sudo lspci -knn
00:00.0 RAM memory [0500]: NVIDIA Corporation MCP61 Memory Controller [10de:03ea] (rev a1)
Subsystem: Foxconn International, Inc. Device [105b:0efb]
00:01.0 ISA bridge [0601]: NVIDIA Corporation MCP61 LPC Bridge [10de:03e0] (rev a2)
Subsystem: Foxconn International, Inc. Device [105b:0efb]
00:01.1 SMBus [0c05]: NVIDIA Corporation MCP61 SMBus [10de:03eb] (rev a2)
Subsystem: Foxconn International, Inc. Device [105b:0efb]
Kernel driver in use: nForce2_smbus
00:01.2 RAM memory [0500]: NVIDIA Corporation MCP61 Memory Controller [10de:03f5] (rev a2)
Subsystem: Foxconn International, Inc. Device [105b:0efb]
00:01.3 Co-processor [0b40]: NVIDIA Corporation MCP61 SMU [10de:03f4] (rev a2)
Subsystem: Foxconn International, Inc. Device [105b:0efb]
00:02.0 USB controller [0c03]: NVIDIA Corporation MCP61 USB 1.1 Controller [10de:03f1] (rev a3)
Subsystem: Foxconn International, Inc. Device [105b:0efb]
Kernel driver in use: ohci-pci
00:02.1 USB controller [0c03]: NVIDIA Corporation MCP61 USB 2.0 Controller [10de:03f2] (rev a3)
Subsystem: Foxconn International, Inc. Device [105b:0efb]
Kernel driver in use: ehci-pci
00:04.0 PCI bridge [0604]: NVIDIA Corporation MCP61 PCI bridge [10de:03f3] (rev a1)
00:05.0 Audio device [0403]: NVIDIA Corporation MCP61 High Definition Audio [10de:03f0] (rev a2)
Subsystem: Foxconn International, Inc. Device [105b:0efb]
Kernel driver in use: snd_hda_intel
00:06.0 IDE interface [0101]: NVIDIA Corporation MCP61 IDE [10de:03ec] (rev a2)
Subsystem: Foxconn International, Inc. Device [105b:0efb]
Kernel driver in use: pata_amd
00:08.0 IDE interface [0101]: NVIDIA Corporation MCP61 SATA Controller [10de:03f6] (rev a2)
Subsystem: Foxconn International, Inc. Device [105b:0efb]
Kernel driver in use: sata_nv
00:08.1 IDE interface [0101]: NVIDIA Corporation MCP61 SATA Controller [10de:03f6] (rev a2)
Subsystem: Foxconn International, Inc. Device [105b:0efb]
Kernel driver in use: sata_nv
00:09.0 PCI bridge [0604]: NVIDIA Corporation MCP61 PCI Express bridge [10de:03e8] (rev a2)
Kernel driver in use: pcieport
00:0b.0 PCI bridge [0604]: NVIDIA Corporation MCP61 PCI Express bridge [10de:03e9] (rev a2)
Kernel driver in use: pcieport
00:0c.0 PCI bridge [0604]: NVIDIA Corporation MCP61 PCI Express bridge [10de:03e9] (rev a2)
Kernel driver in use: pcieport
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h Processor HyperTransport Configuration [1022:1200]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Address Map [1022:1201]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h Processor DRAM Controller [1022:1202]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Miscellaneous Control [1022:1203]
Kernel driver in use: k10temp
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Link Control [1022:1204]
02:00.0 VGA compatible controller [0300]: NVIDIA Corporation G96 [GeForce G210] [10de:065f] (rev a1)
Subsystem: Bitland(ShenZhen) Information Technology Co., Ltd. Device [1642:3917]
Kernel driver in use: nouveau
04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 03)
Subsystem: Foxconn International, Inc. Device [105b:0efb]
Kernel driver in use: r8169
cmd@cmd-C61GMX-T1:~$ sudo lsusb
Bus 001 Device 016: ID 148f:7601 Ralink Technology, Corp.
Bus 001 Device 003: ID 0951:1666 Kingston Technology
Bus 001 Device 015: ID 12d1:1050 Huawei Technologies Co., Ltd.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 1a2c:0e24 China Resource Semico Co., Ltd
Bus 002 Device 002: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
cmd@cmd-C61GMX-T1:~$ sudo lshw -numeric -class network
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10EC:8168]
vendor: Realtek Semiconductor Co., Ltd. [10EC]
physical id: 0
bus info: pci@0000:04:00.0
logical name: eth0
version: 03
serial: d0:27:88:7c:e1:b2
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl_nic/rtl8168d-1.fw latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
resources: irq:43 ioport:e800(size=256) memory:dafff000-daffffff memory:daff8000-daffbfff memory:dffe0000-dfffffff
*-network
description: Ethernet interface
physical id: 2
logical name: usb0
serial: 02:3e:66:5d:55:54
capabilities: ethernet physical
configuration: broadcast=yes driver=rndis_host driverversion=22-Aug-2005 firmware=RNDIS device ip=192.168.42.253 link=yes multicast=yes
cmd@cmd-C61GMX-T1:~$ sudo ifconfig -a
eth0 Link encap:以太网 硬件地址 d0:27:88:7c:e1:b2
inet6 地址: fe80::d227:88ff:fe7c:e1b2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:4267961 错误:0 丢弃:867 过载:0 帧数:0
发送数据包:1718 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:259796779 (259.7 MB) 发送字节:82074 (82.0 KB)

lo Link encap:本地环回
inet 地址:127.0.0.1 掩码:255.0.0.0
inet6 地址: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 跃点数:1
接收数据包:1526 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:1526 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:0
接收字节:137251 (137.2 KB) 发送字节:137251 (137.2 KB)

usb0 Link encap:以太网 硬件地址 02:3e:66:5d:55:54
inet 地址:192.168.42.253 广播:192.168.42.255 掩码:255.255.255.0
inet6 地址: fe80::3e:66ff:fe5d:5554/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:847 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:1137 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:353028 (353.0 KB) 发送字节:172732 (172.7 KB)

cmd@cmd-C61GMX-T1:~$ sudo route -nv
内核 IP 路由表
目标 网关 子网掩码 标志 跃点 引用 使用 接口
0.0.0.0 192.168.42.129 0.0.0.0 UG 0 0 0 usb0
192.168.42.0 0.0.0.0 255.255.255.0 U 1 0 0 usb0
cmd@cmd-C61GMX-T1:~$ sudo rfkill list all
cmd@cmd-C61GMX-T1:~$ sudo route -nv
内核 IP 路由表
目标 网关 子网掩码 标志 跃点 引用 使用 接口
0.0.0.0 192.168.42.129 0.0.0.0 UG 0 0 0 usb0
192.168.42.0 0.0.0.0 255.255.255.0 U 1 0 0 usb0
cmd@cmd-C61GMX-T1:~$ sudo ifconfig -a
eth0 Link encap:以太网 硬件地址 d0:27:88:7c:e1:b2
inet6 地址: fe80::d227:88ff:fe7c:e1b2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:4419586 错误:0 丢弃:885 过载:0 帧数:0
发送数据包:1718 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:269014013 (269.0 MB) 发送字节:82074 (82.0 KB)

lo Link encap:本地环回
inet 地址:127.0.0.1 掩码:255.0.0.0
inet6 地址: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 跃点数:1
接收数据包:1526 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:1526 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:0
接收字节:137251 (137.2 KB) 发送字节:137251 (137.2 KB)

usb0 Link encap:以太网 硬件地址 02:3e:66:5d:55:54
inet 地址:192.168.42.253 广播:192.168.42.255 掩码:255.255.255.0
inet6 地址: fe80::3e:66ff:fe5d:5554/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:847 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:1139 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:353028 (353.0 KB) 发送字节:173014 (173.0 KB)

cmd@cmd-C61GMX-T1:~$ sudo rfkill list all
cmd@cmd-C61GMX-T1:~$



ubuntu14.04没有无线网络,无线网卡BL-LW05-5R2
无线网卡BL-LW05-5R2 芯片rtl8191SU

我下载了一个rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20110401
解压后编译出现错误
cmd@cmd-C61GMX-T1:~/文档/driver/1$ make
make ARCH=i386 CROSS_COMPILE= -C /lib/modules/3.16.0-23-generic/build M=/home/cmd/文档/driver/1 modules
make[1]: Entering directory '/usr/src/linux-headers-3.16.0-23-generic'
CC [M] /home/cmd/文档/driver/1/cmd/rtl871x_cmd.o
In file included from /home/cmd/文档/driver/1/cmd/rtl871x_cmd.c:23:0:
/home/cmd/文档/driver/1/include/osdep_service.h: In function ‘thread_enter’:
/home/cmd/文档/driver/1/include/osdep_service.h:377:2: error: implicit declaration of function ‘daemonize’ [-Werror=implicit-function-declaration]
daemonize("%s", "RTKTHREAD");
^
In file included from /home/cmd/文档/driver/1/include/drv_types.h:77:0,
from /home/cmd/文档/driver/1/cmd/rtl871x_cmd.c:24:
/home/cmd/文档/driver/1/include/rtl871x_io.h: At top level:
/home/cmd/文档/driver/1/include/rtl871x_io.h:35:28: fatal error: linux/smp_lock.h: 没有那个文件或目录
#include <linux/smp_lock.h>
^
cc1: some warnings being treated as errors
compilation terminated.
scripts/Makefile.build:257: recipe for target '/home/cmd/文档/driver/1/cmd/rtl871x_cmd.o' failed
make[2]: *** [/home/cmd/文档/driver/1/cmd/rtl871x_cmd.o] Error 1
Makefile:1345: recipe for target '_module_/home/cmd/文档/driver/1' failed
make[1]: *** [_module_/home/cmd/文档/driver/1] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.16.0-23-generic'
Makefile:217: recipe for target 'modules' failed
make: *** [modules] Error 2
cmd@cmd-C61GMX-T1:~/文档/driver/1$
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ubuntu14.04没有无线网络,无线网卡BL-LW05-5R2怎么使用?

#8

帖子 poloshiao » 2015-01-08 23:23

sudo lshw -numeric -class network
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10EC:8168]
logical name: eth0
serial: d0:27:88:7c:e1:b2
configuration: autonegotiation=on broadcast=yes driver=r8169
sudo ifconfig -a
eth0 Link encap:以太网 硬件地址 d0:27:88:7c:e1:b2
1. 驅動 r8169 不是合適驅動 所以沒有連線成功
1-1. 請把 r8169 RTL8111 輸入本論壇上方 問答集 右邊 搜尋框
可以找到 本論壇許多參考文章
需要安裝 r8168 驅動
sudo lshw -numeric -class network
description: Ethernet interface
logical name: usb0
serial: 02:3e:66:5d:55:54
configuration: broadcast=yes driver=rndis_host driverversion=22-Aug-2005 firmware=RNDIS device ip=192.168.42.253 link=yes multicast=yes
usb0 Link encap:以太网 硬件地址 02:3e:66:5d:55:54
inet 地址:192.168.42.253 广播:192.168.42.255 掩码:255.255.255.0
sudo route -nv
内核 IP 路由表
目标 网关 子网掩码 标志 跃点 引用 使用 接口
0.0.0.0 192.168.42.129 0.0.0.0 UG 0 0 0 usb0
192.168.42.0 0.0.0.0 255.255.255.0 U 1 0 0 usb0
2. 驅動 rndis_host 成功連線
uname -r
3.16.0-23-generic
无线网卡BL-LW05-5R2 芯片rtl8191SU
sudo lspci -knn
sudo lsusb
sudo rfkill list all
3. 沒有偵測到无线网卡硬件
3-1. 檢查一下 你插 无线网卡 的 U 槽是否被硬件關閉
3-2. 檢查一下 你插 无线网卡 的 U 槽是否支援 USB 2.0 規格
http://www.realtek.com.tw/downloads/dow ... loads=true
目前只支援 Linux Kernel 2.6.18~2.6.38 and Kernel 3.0.2
网卡芯片realtek 8188eu
ubuntu14.04没有无线网络,无线网卡BL-LW05-5R2
无线网卡BL-LW05-5R2 芯片rtl8191SU
我下载了一个rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20110401
3. http://www.lb-link.cn/index.php/download/view?cid=135
請確認 芯片 8188eu / rtl8191SU 是否正確

4. BL-LW05-5R2 驅動 官網下載
http://www.lb-link.cn/down/wangka/WIFI- ... river).zip
BL-LW05-5R2 Driver(Linux/MAC/WIN CE)
Readme.txt
Release Notes
Product:
RTL8192C USB Software Package - Linux Driver
Version:
v3.0.2164.20110715
Hardware Supported:
Realtek RTL8192C USB demo board:
WIFI – SoC, including a CPU, one 802.11b/g/n MAC/Baseband/RF controller with PA for the USB interface.
Platform Supported:
LINUX (kernel 2.6.18 ~ 2.6.38)
4-1. Realtek RTL8192C 驅動下載
https://github.com/lwfinger/rtlwifi_new ... r/rtl8192c
862000
帖子: 19
注册时间: 2015-01-06 12:57
系统: ubuntu

Re: ubuntu14.04没有无线网络,无线网卡BL-LW05-5R2怎么使用?

#9

帖子 862000 » 2015-01-10 5:57

官网说它的驱动是7601我下载了但也安装不成功?
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ubuntu14.04没有无线网络,无线网卡BL-LW05-5R2怎么使用?

#10

帖子 poloshiao » 2015-01-10 7:45

官网说它的驱动是7601
請提供下載網頁網址
862000
帖子: 19
注册时间: 2015-01-06 12:57
系统: ubuntu

Re: ubuntu14.04没有无线网络,无线网卡BL-LW05-5R2怎么使用?

#11

帖子 862000 » 2015-01-10 16:26

poloshiao 写了:
官网说它的驱动是7601
請提供下載網頁網址
下载地址
http://www.b-link.net.cn/down/wangka/WIFI-FC-3.zip

我现在更换了ubuntu的版本 13.
执行lsusb命令后这样
Bus 001 Device 003: ID 0951:1666 Kingston Technology
Bus 001 Device 009: ID 148f:7601 Ralink Technology, Corp.
Bus 002 Device 002: ID 046d:c05a Logitech, Inc. Optical Mouse M90
Bus 002 Device 003: ID 1a2c:0e24
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

下载了DPA_MT7601U_LinuxAP_3.0.0.1_20130802
DPA_MT7601U_LinuxSTA_3.0.0.3_20130313
我想用来接收无线信号用
进入DPA_MT7601U_LinuxSTA_3.0.0.3_20130313后
make显示

# make
make -C UTIL/ osutil
make[1]: 正在进入目录 `/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL'
cp -f os/linux/Makefile.6.util /home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL/os/linux/Makefile
make -C /lib/modules/3.8.0-19-generic/build SUBDIRS=/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL/os/linux modules
make[2]: 正在进入目录 `/usr/src/linux-headers-3.8.0-19-generic'
Building modules, stage 2.
MODPOST 1 modules
make[2]:正在离开目录 `/usr/src/linux-headers-3.8.0-19-generic'
make[1]:正在离开目录 `/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL'
/bin/sh cp_util.sh

make -C MODULE/ build_tools
make[1]: 正在进入目录 `/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE'
make -C tools
make[2]: 正在进入目录 `/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/tools'
gcc -g bin2h.c -o bin2h
make[2]:正在离开目录 `/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/tools'
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/tools/bin2h
make[1]:正在离开目录 `/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE'
make -C MODULE/ osdrv
make[1]: 正在进入目录 `/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE'
cp -f os/linux/Makefile.6 /home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/Makefile
make -C /lib/modules/3.8.0-19-generic/build SUBDIRS=/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux modules
make[2]: 正在进入目录 `/usr/src/linux-headers-3.8.0-19-generic'
CC [M] /home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.o
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c: 在函数‘MT7601_INIT_CAL’中:
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c:889:8: 警告: 未使用的变量‘Temperature’ [-Wunused-variable]
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c: 在函数‘NICInitMT7601RFRegisters’中:
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c:1007:9: 警告: 未使用的变量‘IdReg’ [-Wunused-variable]
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c: 在函数‘NICInitMT7601MacRegisters’中:
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c:1045:9: 警告: 未使用的变量‘IdReg’ [-Wunused-variable]
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c: 在函数‘NICInitMT7601BbpRegisters’中:
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c:1087:6: 警告: 未使用的变量‘IdReg’ [-Wunused-variable]
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c: 在函数‘MT7601_ChipSwitchChannel’中:
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c:1385:3: 警告: ISO C90 不允许混合使用声明和代码 [-Wdeclaration-after-statement]
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c:1214:6: 警告: 未使用的变量‘IdReg’ [-Wunused-variable]
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c: 在函数‘MT7601DisableTxRx’中:
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c:1440:3: 警告: 在有返回值的的函数中,‘return’不带返回值 [-Wreturn-type]
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c: 在函数‘MT7601UsbAsicRadioOff’中:
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c:1667:9: 警告: 未使用的变量‘Value’ [-Wunused-variable]
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c: 在函数‘MT7601UsbAsicRadioOn’中:
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c:1732:16: 警告: 未使用的变量‘pChipOps’ [-Wunused-variable]
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c:1731:22: 警告: 未使用的变量‘GloCfg’ [-Wunused-variable]
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c: 在函数‘MT7601_ReadChannelPwr’中:
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c:1847:10: 警告: 未使用的变量‘bUseDefault’ [-Wunused-variable]
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c: 在函数‘MT7601AsicTemperatureCompensation’中:
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c:2223:6: 警告: 未使用的变量‘IdReg’ [-Wunused-variable]
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c: 在函数‘MT7601_EnableTSSI’中:
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c:2399:9: 警告: 未使用的变量‘ret’ [-Wunused-variable]
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c:2398:15: 警告: 未使用的变量‘BBPReg’ [-Wunused-variable]
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c:2398:8: 警告: 未使用的变量‘RFReg’ [-Wunused-variable]
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c: 在函数‘MT7601_InitDesiredTSSITable’中:
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c:2532:16: 警告: 未使用的变量‘offset’ [-Wunused-variable]
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c:2532:9: 警告: 未使用的变量‘index’ [-Wunused-variable]
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c: 在函数‘MT7601_GetTssiCompensationParam’中:
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c:2603:9: 警告: 未使用的变量‘ret’ [-Wunused-variable]
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c:2602:7: 警告: 未使用的变量‘count’ [-Wunused-variable]
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c:2596:8: 警告: 未使用的变量‘RFReg’ [-Wunused-variable]
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c: 在函数‘MT7601_AsicTxAlcGetAutoAgcOffset’中:
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c:2870:8: 警告: 未使用的变量‘BBPReg’ [-Wunused-variable]
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c: 在函数‘MT7601_Init’中:
/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/../../chips/mt7601.c:3320:24: 警告: 从不兼容的指针类型赋值 [默认启用]
LD [M] /home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/mt7601Usta.o
Building modules, stage 2.
MODPOST 1 modules
LD [M] /home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE/os/linux/mt7601Usta.ko
make[2]:正在离开目录 `/usr/src/linux-headers-3.8.0-19-generic'
make[1]:正在离开目录 `/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/MODULE'
/bin/sh cp_module.sh

make -C NETIF/ osnet
make[1]: 正在进入目录 `/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/NETIF'
cp -f os/linux/Makefile.6.netif /home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/NETIF/os/linux/Makefile
make -C /lib/modules/3.8.0-19-generic/build SUBDIRS=/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/NETIF/os/linux modules
make[2]: 正在进入目录 `/usr/src/linux-headers-3.8.0-19-generic'
Building modules, stage 2.
MODPOST 1 modules
make[2]:正在离开目录 `/usr/src/linux-headers-3.8.0-19-generic'
make[1]:正在离开目录 `/home/ccd/桌面/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/NETIF'
#
862000
帖子: 19
注册时间: 2015-01-06 12:57
系统: ubuntu

Re: ubuntu14.04没有无线网络,无线网卡BL-LW05-5R2怎么使用?

#12

帖子 862000 » 2015-01-10 16:27

网卡是 Bus 001 Device 009: ID 148f:7601 Ralink Technology, Corp.
862000
帖子: 19
注册时间: 2015-01-06 12:57
系统: ubuntu

Re: ubuntu14.04没有无线网络,无线网卡BL-LW05-5R2怎么使用?

#13

帖子 862000 » 2015-01-10 16:48

执行这个命令之后是这个结果
# uname -r
sudo lshw -numeric -class network
sudo ifconfig -a
sudo route -nv
sudo rfkill list all

3.8.0-19-generic
PCI (sysfs)
*-network
description: Ethernet interface
product: RTL8111/8168 PCI Express Gigabit Ethernet controller [10EC:8168]
vendor: Realtek Semiconductor Co., Ltd. [10EC]
physical id: 0
bus info: pci@0000:04:00.0
logical name: eth0
version: 03
serial: d0:27:88:7c:e1:b2
size: 10Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl_nic/rtl8168d-1.fw latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:43 ioport:e800(size=256) memory:dafff000-daffffff memory:daff8000-daffbfff memory:dffe0000-dfffffff
*-network:0 DISABLED
description: Wireless interface
physical id: 1
logical name: ra0
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=RALINK WLAN multicast=yes wireless=RTWIFI SoftAP
*-network:1
description: Ethernet interface
physical id: 2
logical name: usb0
serial: 02:3e:66:5d:55:54
capabilities: ethernet physical
configuration: broadcast=yes driver=rndis_host driverversion=22-Aug-2005 firmware=RNDIS device ip=192.168.42.253 link=yes multicast=yes
# eth0 Link encap:以太网 硬件地址 d0:27:88:7c:e1:b2
UP BROADCAST MULTICAST MTU:1500 跃点数:1
接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:0 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:0 (0.0 B) 发送字节:0 (0.0 B)

lo Link encap:本地环回
inet 地址:127.0.0.1 掩码:255.0.0.0
inet6 地址: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 跃点数:1
接收数据包:2173 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:2173 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:0
接收字节:204395 (204.3 KB) 发送字节:204395 (204.3 KB)

ra0 Link encap:以太网 硬件地址 00:00:00:00:00:00
BROADCAST MULTICAST MTU:1500 跃点数:1
接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:0 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:0 (0.0 B) 发送字节:0 (0.0 B)

usb0 Link encap:以太网 硬件地址 02:3e:66:5d:55:54
inet 地址:192.168.42.253 广播:192.168.42.255 掩码:255.255.255.0
inet6 地址: fe80::3e:66ff:fe5d:5554/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:8078 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:8641 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:6227299 (6.2 MB) 发送字节:1531698 (1.5 MB)

# 内核 IP 路由表
目标 网关 子网掩码 标志 跃点 引用 使用 接口
0.0.0.0 192.168.42.129 0.0.0.0 UG 0 0 0 usb0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 usb0
192.168.42.0 0.0.0.0 255.255.255.0 U 1 0 0 usb0
# #
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ubuntu14.04没有无线网络,无线网卡BL-LW05-5R2怎么使用?

#14

帖子 poloshiao » 2015-01-10 17:38

网卡是 Bus 001 Device 009: ID 148f:7601 Ralink Technology, Corp.
1. http://www.linux-usb.org/usb.ids
148f Ralink Technology, Corp.
7601 MT7601U Wireless Adapter

2. 驅動
http://www.mediatek.com/en/downloads/
MT7601U USB
v3.0.0.4

3. 驅動下載
http://www.mediatek.com/en/downloads/mt7601u-usb/
mt7610u_wifi_sta_v3002_dpo_20130916.tar.bz2
Upgrade firmware to version 2.6
# make
... 以下略
你是以 root 登入 ?
新手 在 Ubuntu 特別是 圖形進程 避免使用 root 登入
否則一些奇奇怪怪問題 非有經驗的使用者 不容易抓錯
使用 安裝 Ubuntu 時創建的帳號進入
需要 root 權限時
sudo 文字指令
gksudo wj6vu/653xu/4
參考
http://askubuntu.com/questions/473951/k ... sb-adapter
$ sudo make
$ sudo make install
$ sudo modprobe mt7601Usta
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ubuntu14.04没有无线网络,无线网卡BL-LW05-5R2怎么使用?

#15

帖子 poloshiao » 2015-01-10 18:08

product: RTL8111/8168 PCI Express Gigabit Ethernet controller [10EC:8168]
configuration: autonegotiation=on broadcast=yes driver=r8169
1. viewtopic.php?p=3121269#p3121269
驅動 r8169 不是合適驅動
*-network:0 DISABLED
description: Wireless interface
physical id: 1
logical name: ra0
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=RALINK WLAN multicast=yes wireless=RTWIFI SoftAP
ra0 Link encap:以太网 硬件地址 00:00:00:00:00:00
BROADCAST MULTICAST MTU:1500 跃点数:1
2. 沒有抓到 [148f:7601] 及 serial: xx:xx:xx:xx:xx:xx
表示還沒合適驅動
2-1. 參閱
https://github.com/terence-deng/mt7601u
# 内核 IP 路由表
目标 网关 子网掩码 标志 跃点 引用 使用 接口
0.0.0.0 192.168.42.129 0.0.0.0 UG 0 0 0 usb0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 usb0
192.168.42.0 0.0.0.0 255.255.255.0 U 1 0 0 usb0
3. 目前作用中 路由 usb0

4. Ubuntu / fedora 預設由 network-manager 管理上網
network-manager 預設同一時間 只能存在一條路由
換句話說 同一個時間 只能有一個網卡 連上網路
其它網卡 連上後會立刻自動斷線 待線中

通常 有線網卡 連線上網 速度比較快 所以大多是 有線網卡連上網 無線網卡待線中

如果你要測試 無線網卡
把有線網卡 從 BIOS 關閉 或 從 右上方 連線圖示 把有線網卡自動連線打勾取消
等測試成功再決定是否重新啟動有線網卡或把自動連線打勾

你的情況 測試 無線網卡期間 最好也把 usb0 關閉

改變路由設定 允許兩個以上路由同時存在
就可以讓 有線/無線/usb0 網卡 都同時連上網
回复