openSUSE 11.4 安装磊科336无线网卡(NW336 V2)
磊科336及v2使用rtl8188cus芯片。在给定的document(随光盘附带)里面说支持的内核是2.6.18-2.6.33,opensuse11.4的内核版本已经是2.6.37。 openSUSE:/usr/src/linux # lsusbBus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubBus 002 Device
磊科336及v2使用rtl8188cus芯片。在给定的document(随光盘附带)里面说支持的内核是2.6.18-2.6.33,opensuse11.4的内核版本已经是2.6.37。
首先得安装内核源码和内核头文件(这个很多发行版都没自动安装):
现在在/usr/src目录下面应该又了2.6.37的内核源码:
然后进入到336的驱动目录下面把config文件拷贝到/usr/src/linux(linux是linux-2.6.37.1-1.2的软连接),
这样在编译的时候就不会出现找不到config的错误了。
如果用的芯片是8192(336v2)的话,现在切换到336v2的目录下,开始操作:
下面在编译的时候还是会出现问题,问题是什么呢?
这个是由于:新内核使用了sema_init() 代替了 init_MUTEX(),于是修改os_dep/osdep_service.c中的init_MUTEX(prwlock)为sema_init(prwlock,1)。
做完这些工作以后再make吧。
#make
如果迫不及待的想体验以下,就
#insmod 8192cu.ko
当然,如果长期使用可以安装一下模块
#make install
也可以通过
#modprobe 8192cu.ko
开加载模块。
******************************************************************************************************************
openSUSE下面本来我是通过命令行方式上网的,但是后来觉得使用networkmanager也不错,就改用networkmanager来上网
(可以通过yast来设定,不要两种方式混着使用,很容易冲突)
参考:
http://www.nerdlinux.com/post/124/
***********************************************************************************************************************************
Debian Squeeze(stable) 和Debian Wheezy的内核都是2.6.32,但是在安装的时候可能需要自己注意一下.
Debian Wheezy安装完内核源码和头文件后(其实只是需要头文件),会自动创建/lib/modules/2.6.32-5-686/build到/usr/src/linux-headers-2.6.32-5-686的软连接:
所以在编译的时候能够省一步(也就没有那么莫名其妙的错误了),安装
内核头文件和源代码:
接着在make的时候还会出现错误,说没有/usr/src/linux-headers-2.6.32-5-common/autoconf_rtl8192c_usb_linux.h,
需要把autoconf_rtl8192c_usb_linux.h服知道/usr/src/linux/headers-2.6.32-5-common里面.(很奇怪为什么会用到common头文件)。
不需要复制config文件,但是init_MUTEX(prwlock)还是要改为sema_init(prwlock,1)(因为这是内核里面)
Debian Sid和Wheezy很类似。
在Debian Squeeze中,虽然也是使用的2.6.32的内核,但是没有为我们自动添加上面提到的软连接,所以在make的时候,会有没有
/lib/modules/2.6.32-5-686/build的错误出现,这时只需要创建一个连接就可以了(在上面的步骤的基础上)
剩下的就和Debian Wheezy 和Sid一样了。
*************************************************************************************************************
Mandriva 2010.2中,似乎还要简单一些,只需要把 init_MUTEX(prwlock)改为sema_init(prwlock,1),
然后安装内核都文件和内核源码
然后make编译。
******************************************************************************************************************
最新的内核2.6.39已经有了这个网卡的固件,所以无须手动安装,下载固件即可,在Debian Sid中为
firmware-realtek
****************************************************************************************************************************************
在最新的Mageia 1(内核2.6.38)中编译好内核模块时8192cu.ko,发现insmode 不成功,出现
这是由于正在运行的内核版本和编译时链接的内核版本(头文件)不一致造成的,原来,我安装的内核头文件是:
kernel-tmb-desktop-devel-2.6.38.7-1.mga
而不是我PC上正在运行的内核的头文件,运行的内核的头文件应该是:
kernel-desktop-devel-2.6.38.7-1.mga
于是安装之,编译加载成功!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Solution to the problem that Win11 system cannot install Chinese language pack With the launch of Windows 11 system, many users began to upgrade their operating system to experience new functions and interfaces. However, some users found that they were unable to install the Chinese language pack after upgrading, which troubled their experience. In this article, we will discuss the reasons why Win11 system cannot install the Chinese language pack and provide some solutions to help users solve this problem. Cause Analysis First, let us analyze the inability of Win11 system to

You may not be able to install guest additions to a virtual machine in OracleVirtualBox. When we click on Devices>InstallGuestAdditionsCDImage, it just throws an error as shown below: VirtualBox - Error: Unable to insert virtual disc C: Programming FilesOracleVirtualBoxVBoxGuestAdditions.iso into ubuntu machine In this post we will understand what happens when you What to do when you can't install guest additions in VirtualBox. Unable to install guest additions in VirtualBox If you can't install it in Virtua

If you have successfully downloaded the installation file of Baidu Netdisk, but cannot install it normally, it may be that there is an error in the integrity of the software file or there is a problem with the residual files and registry entries. Let this site take care of it for users. Let’s introduce the analysis of the problem that Baidu Netdisk is successfully downloaded but cannot be installed. Analysis of the problem that Baidu Netdisk downloaded successfully but could not be installed 1. Check the integrity of the installation file: Make sure that the downloaded installation file is complete and not damaged. You can download it again, or try to download the installation file from another trusted source. 2. Turn off anti-virus software and firewall: Some anti-virus software or firewall programs may prevent the installation program from running properly. Try disabling or exiting the anti-virus software and firewall, then re-run the installation

Installing Android applications on Linux has always been a concern for many users. Especially for Linux users who like to use Android applications, it is very important to master how to install Android applications on Linux systems. Although running Android applications directly on Linux is not as simple as on the Android platform, by using emulators or third-party tools, we can still happily enjoy Android applications on Linux. The following will introduce how to install Android applications on Linux systems.

Many novice friends still don’t know how to install creo, so the editor below brings relevant tutorials on creo installation. Friends in need should take a look at it. I hope it can help you. 1. Open the downloaded installation package and find the License folder, as shown in the figure below: 2. Then copy it to the directory on the C drive, as shown in the figure below: 3. Double-click to enter and see if there is a license file, as shown below As shown in the picture: 4. Then copy the license file to this file, as shown in the following picture: 5. In the PROGRAMFILES file of the C drive, create a new PLC folder, as shown in the following picture: 6. Copy the license file as well Click in, as shown in the figure below: 7. Double-click the installation file of the main program. To install, check the box to install new software.

If you have used Docker, you must understand daemons, containers, and their functions. A daemon is a service that runs in the background when a container is already in use in any system. Podman is a free management tool for managing and creating containers without relying on any daemon such as Docker. Therefore, it has advantages in managing containers without the need for long-term backend services. Additionally, Podman does not require root-level permissions to be used. This guide discusses in detail how to install Podman on Ubuntu24. To update the system, we first need to update the system and open the Terminal shell of Ubuntu24. During both installation and upgrade processes, we need to use the command line. a simple

While studying in high school, some students take very clear and accurate notes, taking more notes than others in the same class. For some, note-taking is a hobby, while for others, it is a necessity when they easily forget small information about anything important. Microsoft's NTFS application is particularly useful for students who wish to save important notes beyond regular lectures. In this article, we will describe the installation of Ubuntu applications on Ubuntu24. Updating the Ubuntu System Before installing the Ubuntu installer, on Ubuntu24 we need to ensure that the newly configured system has been updated. We can use the most famous "a" in Ubuntu system

Detailed steps to install Go language on Win7 computer Go (also known as Golang) is an open source programming language developed by Google. It is simple, efficient and has excellent concurrency performance. It is suitable for the development of cloud services, network applications and back-end systems. . Installing the Go language on a Win7 computer allows you to quickly get started with the language and start writing Go programs. The following will introduce in detail the steps to install the Go language on a Win7 computer, and attach specific code examples. Step 1: Download the Go language installation package and visit the Go official website
