如何从文件安装网卡驱动程序?

如何从文件安装网卡驱动程序?

我最近购买了一个外部 USB 网络适配器,我需要安装它的驱动程序。我找到了正确驱动程序的下载这里。我下载了它们,现在我有了提取的 zip 文件。通过阅读其他帖子,我决定通读自述文件以获取安装说明。我找到了一些,但由于我的 Linux 经验较少,我仍然不明白如何安装它们。我正在使用 Linux Mint。这是自述文件的一部分:

Release Date: 2008-12-05, ver 1037 
RTL8187L Linux driver version 1037 

   --This driver supports RealTek RTL8187L Wireless LAN NIC for 
     2.6 kernel: 
     Fedora Core 2/3/4/5/6/7, Debian 3.1, Mandrake 10.2/Mandriva 2006,  
     SUSE 9.3/10.1/10.2, Gentoo 3.1, etc, Ubuntu8.04/8.10. 
     2.4 kernel: 
     Redhat 9.2, etc 
   - Support Client mode for either infrastructure or adhoc mode 
   - Support WEP, WPAPSK and WPA2PSK connection 

======================================================================================
                                Component
======================================================================================
The driver is composed of several parts:
        1. Module source code
           ieee80211
           rtl8187

        2. Script ot build the modules
           Makefile

        3. Script to load/unload modules
           wlan0up
           wlan0down

        4. Script and configuration for DHCP
           wlan0dhcp
           ifcfg-wlan0

    5. Supplicant source code: 
       wpa_supplicant-0.5.5.tar.gz 

    6. Example of supplicant configuration file: 
       wpa1.conf 

======================================================================================
                                Installation
======================================================================================
<<Method 1>>
Runing the scripts can finish all operations of building up modules
from the source code, installing driver to the kernel and starting up the nic.
        1. Build up the drivers from the source code
           make

        2. Install the driver to the kernel
           make install
           reboot

        3. bring up wlan if nic is not brought up by GUI, such as NetworkManager
           ifconfig wlan0 up
           Note: use ifconfig to check whether wlan0 is brought up and use iwconfig to 
           check your wlan interface name,since it may change wlan0 to wlan1,etc.

<<Method 2>>
Or only load the driver module to kernel and start up nic.
        1. Build up the drivers from the source code
           make

        2. Load driver module to kernel and start up nic.
           ./wlan0up

           Note: when "insmod: error inserting 'xxxx.ko': -1 File exists" comes out
                 after run ./wlan0up, please run ./wlan0down first, then it should
                 be ok..
           Note: If you see the message of "unkown symbol" during ./wlan0up, it
                 is suggested to build driver by <<Method 1>>.

这是我提取的文件:

包含驱动程序的文件下载

答案1

大多数驱动程序已集成在发行版内核中。您确定您的内核尚未处理此问题吗?一名7岁的司机是极其不太可能与任何最新的内核(例如小于 5 年的内核)一起工作。

相关内容