关于ubuntu 13.04的USB无线网卡的RTL8192CU驱动安装

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
xclidongbo
帖子: 99
注册时间: 2008-09-06 21:32
联系:

关于ubuntu 13.04的USB无线网卡的RTL8192CU驱动安装

#1

帖子 xclidongbo » 2013-08-25 21:13

1、可以在终端通过lsusb命令查看,USB无线网卡的型号。
2、在官网上下载相应驱动。
3、以下就是在执行sh文件时候出现的错误。
……………………………………………………………………………………
rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105/include/osdep_service.h: 在函数‘thread_enter’中:
/home/XXXXXX/桌面/RTL8188C_8192C_USB_linux_v3.4.4_4749.20121105/driver/rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105/include/osdep_service.h:575:2: 错误: 隐式声明函数‘daemonize’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[2]: *** [/home/XXXXXX/桌面/RTL8188C_8192C_USB_linux_v3.4.4_4749.20121105/driver/rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105/core/rtw_cmd.o] 错误 1
make[1]: *** [_module_/home/XXXXX/桌面/RTL8188C_8192C_USB_linux_v3.4.4_4749.20121105/driver/rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-3.8.0-19-generic'
make: *** [modules] 错误 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################


百撕不得骑姐~~~百度谷歌之,二楼答案公布。
头像
xclidongbo
帖子: 99
注册时间: 2008-09-06 21:32
联系:

Re: 关于ubuntu 13.04的USB无线网卡的RTL8192CU驱动安装

#2

帖子 xclidongbo » 2013-08-26 7:02

以下是在国外的ubuntu论坛上找的,测试可行~!
……………………………………………………………………………………………………………………………………
June 2nd, 2013, 04:09 PM
Look at posts #9 and #10 by Tim Phillips:

http://ubuntuforums.org/showthread.php? ... st12620866

You can use his patch or try the .deb package - take your pick. I've not tried either one myself, as I'm using my 8192CU cards in Ubuntu 12.04 where the Realtek driver builds without error.

Thanks ! It worked like a charm :). Here's what I did :

1. Command :

sudo gedit /etc/modprobe.d/blacklist.conf
and added theses lines at the end of the file :

blacklist rtl8192cu
blacklist rtl8192c_common
blacklist rtlwifi

2. I installed rtl8192cu-tjp-dkms_1.6_all.deb (https://code.google.com/p/realtek-8188c ... untu-1304/) (from this thread (http://ubuntuforums.org/showthread.php? ... st12621449))

3. Command :

sudo gedit /etc/modules
and added this line at the end of the file :

8192cu

4. Rebooted the computer and plugged the USB adapter in.
……………………………………………………………………………………………………………………

通过以上操作,终于连上wifi了。

其中在安装 rtl8192cu-tjp-dkms_1.6_all.deb 此文件时,会报错,提示缺少DKMS包。 是在找不到相应包,最后找来网线,sudo apt-get install dkms解决。
jmagicking
帖子: 36
注册时间: 2011-01-15 16:44

Re: 关于ubuntu 13.04的USB无线网卡的RTL8192CU驱动安装

#3

帖子 jmagicking » 2013-09-03 18:47

我果然发生编译错误了
头像
wangchaoran
帖子: 764
注册时间: 2011-11-18 21:41
系统: kubuntu 13.4 amd64
来自: China

Re: 关于ubuntu 13.04的USB无线网卡的RTL8192CU驱动安装

#4

帖子 wangchaoran » 2013-09-03 19:17

ubuntu 13.04用的3.8.0-29内核不是带的有RTL8192CU驱动么?就是
/lib/modules/3.8.0-29-generic/kernel/drivers/net/wireless/rtlwifi/rtl8192cu/rtl8192cu.ko

代码: 全选

The best way to predict the future is to invent it.
jmagicking
帖子: 36
注册时间: 2011-01-15 16:44

Re: 关于ubuntu 13.04的USB无线网卡的RTL8192CU驱动安装

#5

帖子 jmagicking » 2013-09-03 19:48

看看我的新问题吧?

在使用[lsusb -v -d 0bda:8179] 后

idProduct 0x871
bcdDevice 0.00
iManufacture 1
iProduct 2

这个是为什么啊?——也就是看不到网卡芯片型号
:em20
头像
xclidongbo
帖子: 99
注册时间: 2008-09-06 21:32
联系:

Re: 关于ubuntu 13.04的USB无线网卡的RTL8192CU驱动安装

#6

帖子 xclidongbo » 2013-09-04 10:23

wangchaoran 写了:ubuntu 13.04用的3.8.0-29内核不是带的有RTL8192CU驱动么?就是
/lib/modules/3.8.0-29-generic/kernel/drivers/net/wireless/rtlwifi/rtl8192cu/rtl8192cu.ko
这就不清楚了,系统装上后,能识别网络,但是连不上网。
jmagicking
帖子: 36
注册时间: 2011-01-15 16:44

Re: 关于ubuntu 13.04的USB无线网卡的RTL8192CU驱动安装

#7

帖子 jmagicking » 2013-09-04 15:02

Re: MK802 II wifi issue in Linux

Postby rickyzhang » Fri Dec 14, 2012 1:21 am
The problem was solved by me tonight. :lol:

The wifi chipset in my MK802II is rtl8188eu. It was not supported by rtl8189cu driver module.

Yesterday night I compiled 8188xx drivers from realtek website. But it doesn't work.

After spending a night in google, I found 8188eu device driver from github project:
https://github.com/Red54/linux-shumeipa ... /rtl8188eu

(BTW, this source code is for another arm stick in China. It is similar to MK802.)

I added this folder to my sun4i Linux source code, modified Kconfig and Makefile under drivers/net/wireless.

This time MK802II finally got connected.
这个是国外一个人,他也有同样的一个问题。但是,这些都是技术牛哦,而我编译完全不懂~~~
我求大家推荐一款13.04能够识别的无线网卡吧,这个方法对我适用
allenny
帖子: 66
注册时间: 2007-10-14 1:09

Re: 关于ubuntu 13.04的USB无线网卡的RTL8192CU驱动安装

#8

帖子 allenny » 2013-09-06 23:55

It works! 3ks
zhqh100
帖子: 20
注册时间: 2007-10-24 8:31

Re: 关于ubuntu 13.04的USB无线网卡的RTL8192CU驱动安装

#9

帖子 zhqh100 » 2013-10-20 16:07

13.04确实可用,升级到13.10后又无法上网了
:em20
请教,怎么破?
gnu4ever
帖子: 1
注册时间: 2013-11-15 0:12

Re: 关于ubuntu 13.04的USB无线网卡的RTL8192CU驱动安装

#10

帖子 gnu4ever » 2013-11-15 0:15

https://github.com/pvaret/rtl8192cu-fixes

rtl8192cu-tjp-dkms_1.6_all.deb 的13.10 port,好用。
kanger
帖子: 86
注册时间: 2011-11-19 18:29
系统: 12.10

Re: 关于ubuntu 13.04的USB无线网卡的RTL8192CU驱动安装

#11

帖子 kanger » 2013-11-16 14:38

wangchaoran 写了:ubuntu 13.04用的3.8.0-29内核不是带的有RTL8192CU驱动么?就是
/lib/modules/3.8.0-29-generic/kernel/drivers/net/wireless/rtlwifi/rtl8192cu/rtl8192cu.ko
我也试试。
kanger
帖子: 86
注册时间: 2011-11-19 18:29
系统: 12.10

Re: 关于ubuntu 13.04的USB无线网卡的RTL8192CU驱动安装

#12

帖子 kanger » 2013-11-16 14:40

gnu4ever 写了:https://github.com/pvaret/rtl8192cu-fixes

rtl8192cu-tjp-dkms_1.6_all.deb 的13.10 port,好用。
这个好利害。
lisya
帖子: 1
注册时间: 2014-10-29 20:34
系统: Ubuntu 12.04

Re: 关于ubuntu 13.04的USB无线网卡的RTL8192CU驱动安装

#13

帖子 lisya » 2014-11-15 10:47

xclidongbo 写了:以下是在国外的ubuntu论坛上找的,测试可行~!
……………………………………………………………………………………………………………………………………
June 2nd, 2013, 04:09 PM
Look at posts #9 and #10 by Tim Phillips:

http://ubuntuforums.org/showthread.php? ... st12620866

You can use his patch or try the .deb package - take your pick. I've not tried either one myself, as I'm using my 8192CU cards in Ubuntu 12.04 where the Realtek driver builds without error.

Thanks ! It worked like a charm :). Here's what I did :

1. Command :

sudo gedit /etc/modprobe.d/blacklist.conf
and added theses lines at the end of the file :

blacklist rtl8192cu
blacklist rtl8192c_common
blacklist rtlwifi

2. I installed rtl8192cu-tjp-dkms_1.6_all.deb (https://code.google.com/p/realtek-8188c ... untu-1304/) (from this thread (http://ubuntuforums.org/showthread.php? ... st12621449))

3. Command :

sudo gedit /etc/modules
and added this line at the end of the file :

8192cu

4. Rebooted the computer and plugged the USB adapter in.
……………………………………………………………………………………………………………………

通过以上操作,终于连上wifi了。

其中在安装 rtl8192cu-tjp-dkms_1.6_all.deb 此文件时,会报错,提示缺少DKMS包。 是在找不到相应包,最后找来网线,sudo apt-get install dkms解决。


经验证可用!!
RTL8192cu芯片的无线网卡,可以搜到无线网,但是无法链接的问题解决了!!!
回复