Results 1 to 4 of 4

Thread: iwlwifi not found on Kali 4.4

  1. #1
    Join Date
    2016-Sep
    Posts
    3

    iwlwifi not found on Kali 4.4

    Hi everybody,

    In short: I've installed Kali rolling version on my laptop with existing win7 and Xubuntu. Install ran well, but when I started Kali 4.4 my wifi wasn't working at all. Then I chose Kali 4.3 in the boot loader, and it worked perfectly! So I made a bit of research and I decided to run the same commands on the 2 versions to see the differences. Here is what I found:

    Code:
    # on Kali 4.3 amd64
    root@portable-test:/media# uname -a
    Linux portable-test 4.3.0-kali1-amd64 #1 SMP Debian 4.3.3-5kali4 (2016-01-13) x86_64 GNU/Linux
    root@portable-test:/media# lsb_release -a
    No LSB modules are available.
    Distributor ID: Kali
    Description:    Kali GNU/Linux Rolling
    Release:        kali-rolling
    Codename:       kali-rolling
    
    root@portable-test:/media# lspci | grep "5100 AGN"
    02:00.0 Network controller: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection
    
    root@portable-test:/media# lsmod | grep wifi
    iwlwifi               131072  1 iwldvm
    cfg80211              540672  3 iwlwifi,mac80211,iwldvm
    
    root@portable-test:/media# dmesg | grep wifi
    [   12.375945] iwlwifi 0000:02:00.0: firmware: direct-loading firmware iwlwifi-5000-5.ucode
    [   12.376116] iwlwifi 0000:02:00.0: loaded firmware version 8.83.5.1 build 33692 op_mode iwldvm
    [   12.446440] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUG disabled
    [   12.446445] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUGFS disabled
    [   12.446447] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEVICE_TRACING disabled
    [   12.446450] iwlwifi 0000:02:00.0: Detected Intel(R) WiFi Link 5100 AGN, REV=0x54
    [   12.446500] iwlwifi 0000:02:00.0: L1 Disabled - LTR Disabled
    [   24.142147] iwlwifi 0000:02:00.0: L1 Disabled - LTR Disabled
    [   24.145140] iwlwifi 0000:02:00.0: L1 Disabled - LTR Disabled
    [   24.145223] iwlwifi 0000:02:00.0: Radio type=0x1-0x2-0x0
    [   24.246877] iwlwifi 0000:02:00.0: L1 Disabled - LTR Disabled
    [   24.249866] iwlwifi 0000:02:00.0: L1 Disabled - LTR Disabled
    [   24.249948] iwlwifi 0000:02:00.0: Radio type=0x1-0x2-0x0
    So on Kali 4.3 everything's fine.

    Code:
    # on Kali 4.4
    root@portable-test:~# uname -a
    Linux portable-test 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 GNU/Linux
    
    root@portable-test:~# lsb_release -a
    No LSB modules are available.
    Distributor ID: Kali
    Description:    Kali GNU/Linux Rolling
    Release:        kali-rolling
    Codename:       kali-rolling
    
    root@portable-test:~# lspci | grep "5100 AGN"
    02:00.0 Network controller: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection
    
    root@portable-test:~# lsmod | grep wifi    # no return
    root@portable-test:~# dmesg | grep wifi   # no return
    
    root@portable-test:~# apt-get install firmware-iwlwifi  # I've done a update before
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    firmware-iwlwifi is already the newest version (20160712-0kali1).
    The following packages were automatically installed and are no longer required:
      castxml gccxml hwdata libjansson4 libyara3 python-ctypeslib python-dbus-dev
      python-ecdsa python-pyatspi python-tidylib vlc-plugin-notify
      vlc-plugin-samba
    Use 'apt autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 432 not upgraded.
    
    root@portable-test:~# modprobe -r iwlwifi ; modprobe iwlwifi
    modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.4.0-21-generic/modules.dep.bin'
    modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.4.0-21-generic/modules.dep.bin'
    modprobe: FATAL: Module iwlwifi not found in directory /lib/modules/4.4.0-21-generic
    
    root@portable-test:~# ls /lib/modules/
    4.3.0-kali1-amd64
    On Kali 4.4 it seems my hardware is recognized, but the driver isn't loaded. However it's installed, but apparently the directory name isn't correct. So I don't know what to do:
    - is it a bug in Kali?
    - should I simply rename the folder 4.3.0-kali1-amd64 into 4.4.0-21-generic? (but not sure about side effects....)
    - am I missing something else?

    Any help would be greatly appreciated!

  2. #2
    Join Date
    2016-Feb
    Location
    California
    Posts
    112
    dont rename but try making a dir with that name and and same files as that of that folder
    ------------------Contact: Skype : Gh0sT.sh ( 0 -->Zero )-------------------
    |
    /vvvvvvvvvvvv \-------------------------------------------------------------------------,,
    |^^^^^^^^ /===================================--""
    ################################################
    ----------The quieter you become,The more you will able to hear-----------
    ################################################

  3. #3
    Join Date
    2016-Sep
    Posts
    3
    I tried to copy 4.3.0-kali1-amd64 into 4.4.0-21-generic, then I restarted and

    Code:
    root@portable-test:~# modprobe -r iwlwifi ; modprobe iwlwifi
    modprobe: ERROR: could not insert 'iwlwifi': Exec format error
    From what I can read on the Internet, something might be wrong with my kernel. As I see there's a new version of Kali from 31st August I'm thinking about reinstalling with it...

  4. #4
    Join Date
    2016-Sep
    Posts
    3
    I finally decided to reinstall Kali with Kali Linux 64 bit Xfce version 2016.2 and everything runs perfectly at first place. Thank you for the help.

Similar Threads

  1. Iwlwifi-8000c-32.ucode
    By Konaan in forum TroubleShooting Archive
    Replies: 3
    Last Post: 2018-03-17, 13:58
  2. Iwlwifi kernel problem
    By ozgun in forum General Archive
    Replies: 1
    Last Post: 2015-12-12, 15:27
  3. Missing iwlwifi-3160 when installing Kali 2.0
    By juanvelasco in forum Installing Archive
    Replies: 3
    Last Post: 2015-10-17, 17:09

Posting Permissions

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