Results 1 to 14 of 14

Thread: List/View installed drivers in Kali Linux & Uninstall option

  1. #1

    List/View installed drivers in Kali Linux & Uninstall option

    List/View installed drivers in Kali Linux & Uninstall option

    How can I see the installed drivers in Kali Linux operating system and how can I uninstall one ?

    Best Regards

  2. #2
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    lsmod lists all drivers.

  3. #3
    Quote Originally Posted by _defalt View Post
    lsmod lists all drivers.
    I have obtained this.
    How can i see if I have RTL 8812AU driver correctly installed ?

    Code:
    Module                  Size  Used by
    fuse                   98304  3
    nfnetlink_queue        24576  0
    nfnetlink_log          20480  0
    nfnetlink              16384  2 nfnetlink_log,nfnetlink_queue
    bluetooth             552960  0
    rfkill                 24576  3 bluetooth
    binfmt_misc            20480  1
    ppdev                  20480  0
    intel_powerclamp       16384  0
    snd_intel8x0           40960  2
    intel_cstate           16384  0
    snd_ac97_codec        126976  1 snd_intel8x0
    intel_uncore          118784  0
    ac97_bus               16384  1 snd_ac97_codec
    intel_rapl_perf        16384  0
    snd_pcm               110592  2 snd_ac97_codec,snd_intel8x0
    joydev                 20480  0
    snd_timer              32768  1 snd_pcm
    snd                    86016  8 snd_ac97_codec,snd_timer,snd_intel8x0,snd_pcm
    parport_pc             28672  0
    soundcore              16384  1 snd
    parport                49152  2 parport_pc,ppdev
    pcspkr                 16384  0
    evdev                  24576  9
    serio_raw              16384  0
    sg                     32768  0
    ac                     16384  0
    battery                16384  0
    acpi_cpufreq           20480  0
    video                  40960  0
    button                 16384  0
    tpm_tis                16384  0
    tpm_tis_core           20480  1 tpm_tis
    tpm                    45056  2 tpm_tis,tpm_tis_core
    ip_tables              24576  0
    x_tables               36864  1 ip_tables
    autofs4                40960  2
    ext4                  585728  1
    crc16                  16384  2 bluetooth,ext4
    jbd2                  106496  1 ext4
    crc32c_generic         16384  0
    fscrypto               28672  1 ext4
    ecb                    16384  0
    mbcache                16384  2 ext4
    hid_generic            16384  0
    usbhid                 53248  0
    hid                   122880  2 hid_generic,usbhid
    sr_mod                 24576  0
    cdrom                  61440  1 sr_mod
    sd_mod                 45056  3
    ata_generic            16384  0
    crct10dif_pclmul       16384  0
    crc32_pclmul           16384  0
    crc32c_intel           24576  2
    ghash_clmulni_intel    16384  0
    aesni_intel           167936  0
    aes_x86_64             20480  1 aesni_intel
    lrw                    16384  1 aesni_intel
    gf128mul               16384  1 lrw
    glue_helper            16384  1 aesni_intel
    ablk_helper            16384  1 aesni_intel
    cryptd                 24576  3 ablk_helper,ghash_clmulni_intel,aesni_intel
    psmouse               135168  0
    ata_piix               36864  2
    ohci_pci               16384  0
    ehci_pci               16384  0
    ohci_hcd               53248  1 ohci_pci
    xhci_pci               16384  0
    xhci_hcd              188416  1 xhci_pci
    ehci_hcd               81920  1 ehci_pci
    fjes                   28672  0
    i2c_piix4              24576  0
    usbcore               249856  7 usbhid,ehci_hcd,ohci_pci,xhci_pci,ohci_hcd,xhci_hcd,ehci_pci
    usb_common             16384  1 usbcore
    e1000                 143360  0
    libata                249856  2 ata_piix,ata_generic
    scsi_mod              225280  4 sd_mod,libata,sr_mod,sg
    Best Regards.

    I need to install this driver to support a usb adapter

  4. #4
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Oh for that, you should use lspci -vv.

  5. #5
    I obtained this :

    Code:
    lspci -vv
    00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
    	Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    
    00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
    	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    	Latency: 0
    
    00:01.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01) (prog-if 8a [Master SecP PriP])
    	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    	Latency: 64
    	Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
    	Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable)
    	Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
    	Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable)
    	Region 4: I/O ports at d000 [size=16]
    	Kernel driver in use: ata_piix
    	Kernel modules: ata_piix, ata_generic
    
    00:02.0 VGA compatible controller: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter (prog-if 00 [VGA controller])
    	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    	Latency: 0
    	Interrupt: pin A routed to IRQ 11
    	Region 0: Memory at e0000000 (32-bit, prefetchable) [size=16M]
    	[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
    
    00:03.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
    	Subsystem: Intel Corporation PRO/1000 MT Desktop Adapter
    	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    	Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    	Latency: 64 (63750ns min)
    	Interrupt: pin A routed to IRQ 19
    	Region 0: Memory at f0000000 (32-bit, non-prefetchable) [size=128K]
    	Region 2: I/O ports at d010 [size=8]
    	Capabilities: <access denied>
    	Kernel driver in use: e1000
    	Kernel modules: e1000
    
    00:04.0 System peripheral: InnoTek Systemberatung GmbH VirtualBox Guest Service
    	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    	Latency: 0
    	Interrupt: pin A routed to IRQ 9
    	Region 0: I/O ports at d020 [size=32]
    	Region 1: Memory at f0400000 (32-bit, non-prefetchable) [size=4M]
    	Region 2: Memory at f0800000 (32-bit, prefetchable) [size=16K]
    
    00:05.0 Multimedia audio controller: Intel Corporation 82801AA AC'97 Audio Controller (rev 01)
    	Subsystem: Intel Corporation 82801AA AC'97 Audio Controller
    	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    	Latency: 64
    	Interrupt: pin A routed to IRQ 21
    	Region 0: I/O ports at d100 [size=256]
    	Region 1: I/O ports at d200 [size=64]
    	Kernel driver in use: snd_intel8x0
    	Kernel modules: snd_intel8x0
    
    00:06.0 USB controller: Apple Inc. KeyLargo/Intrepid USB (prog-if 10 [OHCI])
    	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    	Latency: 64
    	Interrupt: pin A routed to IRQ 22
    	Region 0: Memory at f0804000 (32-bit, non-prefetchable) [size=4K]
    	Kernel driver in use: ohci-pci
    	Kernel modules: ohci_pci
    
    00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)
    	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    	Latency: 0
    	Interrupt: pin A routed to IRQ 9
    	Kernel modules: i2c_piix4
    
    00:08.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
    	Subsystem: Intel Corporation PRO/1000 MT Desktop Adapter
    	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    	Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    	Latency: 64 (63750ns min)
    	Interrupt: pin A routed to IRQ 16
    	Region 0: Memory at f0820000 (32-bit, non-prefetchable) [size=128K]
    	Region 2: I/O ports at d240 [size=8]
    	Capabilities: <access denied>
    	Kernel driver in use: e1000
    	Kernel modules: e1000
    
    00:0c.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (prog-if 30 [XHCI])
    	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    	Latency: 64, Cache Line Size: 64 bytes
    	Interrupt: pin A routed to IRQ 20
    	Region 0: Memory at f0840000 (32-bit, non-prefetchable) [size=64K]
    	Kernel driver in use: xhci_hcd
    	Kernel modules: xhci_pci
    I tried to install. Is it installed ?

  6. #6
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    I can't see your wifi adapter listed. Is your wifi adapter working? Are you using virtual machine. Driver name can be different from the name of that chipset used in wifi adapter.

  7. #7
    Quote Originally Posted by _defalt View Post
    I can't see your wifi adapter listed. Is your wifi adapter working? Are you using virtual machine. Driver name can be different from the name of that chipset used in wifi adapter.
    At this moment I don't have the usb adapter connected. It's an Alfa Network usb adapter reference AWUS036AC wireless adapter with Realtek 8812AU.
    I have seen in Github several drivers for this device.
    I Think AstSam is the last...

    Best Regards

  8. #8
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    If you know the driver name you can look it into \lib\firmware

  9. #9
    Quote Originally Posted by _defalt View Post
    If you know the driver name you can look it into \lib\firmware
    I try to change to that folder , but the message is not exist.

    AsusPortatil - 25_03_2017 , 17_41_51.jpg

  10. #10
    Finally I try this :

    abtf@Kalimoz:~$ cd /lib
    abtf@Kalimoz:/lib$ cd firmware
    abtf@Kalimoz:/lib/firmware$ dir
    3com iwlwifi-7260-14.ucode
    advansys iwlwifi-7260-16.ucode
    agere_ap_fw.bin iwlwifi-7260-17.ucode
    agere_sta_fw.bin iwlwifi-7260-9.ucode
    amdgpu iwlwifi-7265-12.ucode
    amd-ucode iwlwifi-7265-14.ucode
    ar3k iwlwifi-7265-16.ucode
    ar5523.bin iwlwifi-7265-17.ucode
    ar7010_1_1.fw iwlwifi-7265-9.ucode
    ar7010.fw iwlwifi-7265D-12.ucode
    ar9271.fw iwlwifi-7265D-14.ucode
    as102_data1_st.hex iwlwifi-7265D-16.ucode
    as102_data2_st.hex iwlwifi-7265D-17.ucode
    ath10k iwlwifi-7265D-21.ucode
    ath3k-1.fw iwlwifi-7265D-22.ucode
    ath6k iwlwifi-8000C-14.ucode
    ath9k_htc iwlwifi-8000C-16.ucode
    atmel_at76c502_3com.bin iwlwifi-8000C-21.ucode
    atmel_at76c502_3com-wpa.bin iwlwifi-8000C-22.ucode
    atmel_at76c502.bin iwlwifi-8265-21.ucode
    atmel_at76c502d.bin iwlwifi-8265-22.ucode
    atmel_at76c502d-wpa.bin kaweth
    atmel_at76c502e.bin keyspan_pda
    atmel_at76c502e-wpa.bin lbtf_usb.bin
    atmel_at76c502-wpa.bin libertas
    atmel_at76c503-i3861.bin libertas_cs.fw
    atmel_at76c503-i3863.bin libertas_cs_helper.fw
    atmel_at76c503-rfmd-0.90.2-140.bin liquidio
    atmel_at76c503-rfmd-acc.bin matrox
    atmel_at76c503-rfmd.bin moxa
    atmel_at76c504_2958-wpa.bin mrvl
    atmel_at76c504a_2958-wpa.bin mt7601u.bin
    atmel_at76c504.bin mt7650.bin
    atmel_at76c504c-wpa.bin mts_cdma.fw
    atmel_at76c505a-rfmd2958.bin mts_edge.fw
    atmel_at76c505-rfmd2958.bin mts_gsm.fw
    atmel_at76c505-rfmd.bin mwl8k
    atmel_at76c506.bin myri10ge_eth_big_z8e.dat
    atmel_at76c506-wpa.bin myri10ge_ethp_big_z8e.dat
    av7110 myri10ge_ethp_z8e.dat
    b43 myri10ge_eth_z8e.dat
    b43legacy myri10ge_rss_eth_big_z8e.dat
    BCM2033-FW.bin myri10ge_rss_ethp_big_z8e.dat
    BCM2033-MD.hex myri10ge_rss_ethp_z8e.dat
    bcm70012fw.bin myri10ge_rss_eth_z8e.dat
    bcm70015fw.bin nvidia
    bcmFilePlayFw.bin phanfw.bin
    bnx2 qat_895xcc.bin
    bnx2x qat_895xcc_mmp.bin
    brcm qat_c3xxx.bin
    carl9170-1.fw qat_c3xxx_mmp.bin
    cbfw-3.2.3.0.bin qat_c62x.bin
    cbfw-3.2.5.1.bin qat_c62x_mmp.bin
    cis qat_mmp.bin
    cmmb_vega_12mhz.inp qca
    cmmb_venice_12mhz.inp qed
    ct2fw-3.2.3.0.bin ql2100_fw.bin
    ct2fw-3.2.5.1.bin ql2200_fw.bin
    ctefx.bin ql2300_fw.bin
    ctfw-3.2.3.0.bin ql2322_fw.bin
    ctfw-3.2.5.1.bin ql2400_fw.bin
    ctspeq.bin ql2500_fw.bin
    cxgb3 qlogic
    cxgb4 r128
    dabusb radeon
    dahdi-fw-pciradio.bin rp2.fw
    dahdi-fw-tor2.bin rt2561.bin
    dsp56k rt2561s.bin
    dvb-fe-xc4000-1.4.1.fw rt2661.bin
    dvb-fe-xc5000-1.6.114.fw rt2860.bin
    dvb-fe-xc5000c-4.1.30.7.fw rt2870.bin
    dvb_nova_12mhz_b0.inp rt3070.bin
    dvb_nova_12mhz.inp rt3071.bin
    dvb-usb-dib0700-1.20.fw rt3090.bin
    dvb-usb-it9135-01.fw rt3290.bin
    dvb-usb-it9135-02.fw rt73.bin
    dvb-usb-terratec-h5-drxk.fw RTL8192E
    e100 rtl_bt
    ene-ub6250 rtl_nic
    f2255usb.bin rtlwifi
    go7007 s2250.fw
    htc_7010.fw s2250_loader.fw
    htc_9271.fw s5p-mfc.fw
    i2400m-fw-usb-1.4.sbcf s5p-mfc-v6.fw
    i2400m-fw-usb-1.5.sbcf s5p-mfc-v6-v2.fw
    i6050-fw-usb-1.5.sbcf s5p-mfc-v7.fw
    i915 s5p-mfc-v8.fw
    intel sd8385.bin
    intel-ucode sd8385_helper.bin
    ipw2100-1.3.fw sd8686.bin
    ipw2100-1.3-i.fw sd8686_helper.bin
    ipw2100-1.3-p.fw sd8688.bin
    ipw2200-bss.fw sd8688_helper.bin
    ipw2200-ibss.fw sms1xxx-hcw-55xxx-dvbt-02.fw
    ipw2200-sniffer.fw sms1xxx-hcw-55xxx-isdbt-02.fw
    ipw2x00.LICENSE sms1xxx-nova-a-dvbt-01.fw
    isci sms1xxx-nova-b-dvbt-01.fw
    isdbt_nova_12mhz_b0.inp sms1xxx-stellar-dvbt-01.fw
    isdbt_nova_12mhz.inp STLC2500_R4_00_03.ptc
    isdbt_rio.inp STLC2500_R4_00_06.ssf
    iwlwifi-1000-5.ucode STLC2500_R4_02_02_WLAN.ssf
    iwlwifi-100-5.ucode STLC2500_R4_02_04.ptc
    iwlwifi-105-6.ucode tdmb_nova_12mhz.inp
    iwlwifi-135-6.ucode tehuti
    iwlwifi-2000-6.ucode ti-connectivity
    iwlwifi-2030-6.ucode tigon
    iwlwifi-3160-12.ucode ueagle-atm
    iwlwifi-3160-14.ucode usb8388.bin
    iwlwifi-3160-16.ucode usbduxfast_firmware.bin
    iwlwifi-3160-17.ucode usbdux_firmware.bin
    iwlwifi-3160-9.ucode usbduxsigma_firmware.bin
    iwlwifi-3168-21.ucode v4l-cx231xx-avcore-01.fw
    iwlwifi-3168-22.ucode v4l-cx23418-apu.fw
    iwlwifi-3945-2.ucode v4l-cx23418-cpu.fw
    iwlwifi-4965-2.ucode v4l-cx23418-dig.fw
    iwlwifi-5000-2.ucode v4l-cx2341x-dec.fw
    iwlwifi-5000-5.ucode v4l-cx2341x-enc.fw
    iwlwifi-5150-2.ucode v4l-cx2341x-init.mpg
    iwlwifi-6000-4.ucode v4l-cx23885-avcore-01.fw
    iwlwifi-6000g2a-5.ucode v4l-cx25840.fw
    iwlwifi-6000g2a-6.ucode v4l-pvrusb2-24xxx-01.fw
    iwlwifi-6000g2b-6.ucode v4l-pvrusb2-29xxx-01.fw
    iwlwifi-6050-4.ucode vntwusb.fw
    iwlwifi-6050-5.ucode zd1211
    iwlwifi-7260-12.ucode

    but I don't know how to recognize the driver RTL8812AU

    Best Regards

  11. #11
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Reinstall that driver and during installation note down its name.

  12. #12
    I think I fail installing the driver by some reason.
    The driver I need to install is the github astsam for RTL8812AU
    What is the order in the commands i must use exactly and content.
    Best Regards
    https://github.com/astsam/rtl8812au

    Is this the last one ?
    When have I to connect the usb adapter.
    What's the configuration i must have in VirtualBox ?
    Need I uninstall a prior driver if exist ?

    Best Regards
    Last edited by Fielding; 2017-03-26 at 11:46.

  13. #13
    The steps I tried were these :

    Code:
    sudo apt install linux-headers-amd64 build-essential git
    git clone -b v4.3.21 https://github.com/astsam/rtl8812au.git
    cd rtl8812au && make && sudo make install
    What I did wrong ?

    What is the correct sequence or commands ?

    Best Regards

  14. #14
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    I never tried it in virtual machine. You should search it in How tos sub forum. It's a very popular wifi adapter.

Similar Threads

  1. Replies: 0
    Last Post: 2020-06-30, 08:25
  2. Kali how to uninstall AMD GPU drivers to fix black screen
    By Brenk in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2020-04-27, 01:11
  3. How to uninstall AMD gpu drivers on Kali
    By Brenk in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2020-04-27, 00:22
  4. Replies: 0
    Last Post: 2016-07-05, 10:46
  5. Replies: 0
    Last Post: 2014-08-17, 03:08

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •