红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > Ubuntu

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

发布时间:2015-01-10 21:25:51来源:红联作者:862000
总是报错

cmd@cmd-C61GMX-T1:~$ lsusb
Bus 001 Device 005: ID 0951:1666 Kingston Technology
Bus 001 Device 004: ID 148f:7601 Ralink Technology, Corp.
Bus 001 Device 003: 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:~$ cd DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/
cmd@cmd-C61GMX-T1:~/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313$ cd DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/
cmd@cmd-C61GMX-T1:~/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313$ ls -l
总用量 108
-rw-rw-r-- 1 cmd cmd 41799 3月 13 2013 config.mk
-rw-rw-r-- 1 cmd cmd 148 3月 13 2013 cp_module.sh
-rw-rw-r-- 1 cmd cmd 147 3月 13 2013 cp_util.sh
-rw-rw-r-- 1 cmd cmd 148 3月 13 2013 load
-rw-rw-r-- 1 cmd cmd 392 3月 13 2013 Makefile
-rw-rw-r-- 1 cmd cmd 1680 3月 13 2013 Makefile.clean
-rw-rw-r-- 1 cmd cmd 14710 3月 13 2013 Makefile.inc
drwxrwxr-x 15 cmd cmd 4096 5月 15 2014 MODULE
drwxrwxr-x 6 cmd cmd 4096 5月 15 2014 NETIF
-rw-rw-r-- 1 cmd cmd 2101 3月 13 2013 ReadMe.txt
-rw-rw-r-- 1 cmd cmd 1222 3月 13 2013 RT2870STA.dat
-rw-rw-r-- 1 cmd cmd 1801 3月 13 2013 SingleSKU.dat
-rw-rw-r-- 1 cmd cmd 76 3月 13 2013 unload
drwxrwxr-x 5 cmd cmd 4096 5月 15 2014 UTIL
cmd@cmd-C61GMX-T1:~/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313$ make
make -C UTIL/ osutil
make[1]: Entering directory '/home/cmd/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/cmd/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.16.0-23-generic/build SUBDIRS=/home/cmd/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL/os/linux modules
make[2]: Entering directory '/usr/src/linux-headers-3.16.0-23-generic'
CC [M] /home/cmd/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL/os/linux/../../common/rt_os_util.o
CC [M] /home/cmd/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL/os/linux/../../os/linux/rt_linux_symb.o
CC [M] /home/cmd/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL/os/linux/../../os/linux/rt_rbus_pci_util.o
CC [M] /home/cmd/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL/os/linux/../../os/linux/rt_usb_util.o
/home/cmd/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL/os/linux/../../os/linux/rt_usb_util.c: In function ‘rausb_autopm_put_interface’:
/home/cmd/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL/os/linux/../../os/linux/rt_usb_util.c:107:7: warning: unused variable ‘pm_usage_cnt’ [-Wunused-variable]
INT pm_usage_cnt;
^
/home/cmd/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL/os/linux/../../os/linux/rt_usb_util.c: In function ‘rausb_autopm_get_interface’:
/home/cmd/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL/os/linux/../../os/linux/rt_usb_util.c:138:7: warning: unused variable ‘pm_usage_cnt’ [-Wunused-variable]
INT pm_usage_cnt;
^
/home/cmd/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL/os/linux/../../os/linux/rt_usb_util.c:144:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
CC [M] /home/cmd/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL/os/linux/../../os/linux/rt_linux.o
/home/cmd/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOsUsDelay’:
/home/cmd/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL/os/linux/../../os/linux/rt_linux.c:182:8: warning: unused variable ‘i’ [-Wunused-variable]
ULONG i;
^
/home/cmd/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL/os/linux/../../os/linux/rt_linux.c: In function ‘__RtmpOSFSInfoChange’:
/home/cmd/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL/os/linux/../../os/linux/rt_linux.c:1188:20: error: incompatible types when assigning to type ‘int’ from type ‘kuid_t’
pOSFSInfo->fsuid = current_fsuid();
^
/home/cmd/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL/os/linux/../../os/linux/rt_linux.c:1189:20: error: incompatible types when assigning to type ‘int’ from type ‘kgid_t’
pOSFSInfo->fsgid = current_fsgid();
^
/home/cmd/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpDrvAllRFPrint’:
/home/cmd/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL/os/linux/../../os/linux/rt_linux.c:2177:32: warning: passing argument 2 of ‘file_w->f_op->write’ from incompatible pointer type
file_w->f_op->write(file_w, pBuf, BufLen, &file_w->f_pos);
^
/home/cmd/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL/os/linux/../../os/linux/rt_linux.c:2177:32: note: expected ‘const char *’ but argument is of type ‘UINT32 *’
/home/cmd/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL/os/linux/../../os/linux/rt_linux.c:2162:22: warning: unused variable ‘macValue’ [-Wunused-variable]
UINT32 macAddr = 0, macValue = 0;
^
/home/cmd/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL/os/linux/../../os/linux/rt_linux.c:2162:9: warning: unused variable ‘macAddr’ [-Wunused-variable]
UINT32 macAddr = 0, macValue = 0;
^
/home/cmd/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSIRQRelease’:
/home/cmd/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL/os/linux/../../os/linux/rt_linux.c:2298:21: warning: unused variable ‘net_dev’ [-Wunused-variable]
struct net_device *net_dev = (struct net_device *)pNetDev;
^
/home/cmd/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOsFreeSpinLock’:
/home/cmd/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL/os/linux/../../os/linux/rt_linux.c:4317:8: warning: assignment from incompatible pointer type
pLock = (OS_NDIS_MINIPORT_TIMER *) (pLockOrg->pContent);
^
scripts/Makefile.build:257: recipe for target '/home/cmd/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL/os/linux/../../os/linux/rt_linux.o' failed
make[3]: *** [/home/cmd/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL/os/linux/../../os/linux/rt_linux.o] Error 1
Makefile:1345: recipe for target '_module_/home/cmd/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL/os/linux' failed
make[2]: *** [_module_/home/cmd/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL/os/linux] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-3.16.0-23-generic'
Makefile:506: recipe for target 'osutil' failed
make[1]: *** [osutil] Error 2
make[1]: Leaving directory '/home/cmd/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/UTIL'
Makefile:3: recipe for target 'all' failed
make: *** [all] Error 2
cmd@cmd-C61GMX-T1:~/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313$
文章评论

共有 2 条评论

  1. jeffrey327 于 2015-01-26 11:56:38发表:

    顶一下

  2. Hbhmycg 于 2015-01-11 09:24:17发表:

    无线的没玩过,估计得要驱动先吧