xiaOt119

linux 系统网卡无法识别,缺少驱动

#linux网卡驱动安装#

Linux设备加载

 

    #lsmod
    Module                  Size  Used by
    e1000e                191440  0 


查看硬件设备
   

ls /usr/share/hwdata

    
查看pci网卡设备

    lspci
    ethernet controller  查看厂商和型号
    modprobe ********为网卡型号


例如 :

   modprobe RTL8101E 如果出错,说明模块不存在,该型号不识别

 

RTL驱动下载
    

 http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=3&PNid=5&PFid=5&Level=5&Conn=4&DownTypeID=3&GetDown=false


intel驱动下载
    

https://downloadcenter.intel.com/default.aspx?lang=zho

    
编译环境
    

 kernel-source、kernel、gcc、make


编译驱动源文件
    

     # make clean modules      (as root or with sudo)
     # make install
     # depmod -a
     # insmod ./src/*.ko


查看驱动是否已经启动

    # lsmod | grep r8168
    # ifconfig -a   


配置并激活 ethX

    # ifconfig ethX up
     ,where X=0,1,2,...

分类:

技术点:

相关文章:

  • 2021-08-14
  • 2021-09-19
  • 2021-04-24
  • 2021-12-14
  • 2022-01-02
  • 2022-01-16
  • 2021-12-14
  • 2021-08-18
猜你喜欢
  • 2021-12-04
  • 2021-10-13
  • 2021-05-20
  • 2021-10-29
  • 2022-12-23
  • 2021-12-26
  • 2022-12-23
相关资源
相似解决方案