Results 1 to 20 of 20

Thread: Tried Everything -Kali Wireless

  1. #1
    Join Date
    2015-Aug
    Posts
    9

    Question Tried Everything -Kali Wireless

    I have kali installed, dual boot with windows. (/ /home /boot)

    Now I am fairly new to getting drivers installed, and compiling things in linux. I didnt have issues like this on my older pc's with backtrack installed. My main problem recently is getting wireless to work.
    I know there are many questions like this, but I feel I have tried everything and I am confused and have no clue what my solution is. (besides buying a new linux/kali wireless card). The funny thing is it's very simple in what I am trying to do, but upon entering the first terminal commands I get error messages which screw up the whole driver installation.

    So I will try my best to explain.

    I have a qualcom atheros qca61x4 wireless adapter built in my laptop.
    So my first solution was to install the new driver via backports with following this-----

    "Get the latest backport from https://www.kernel.org/pub/linux/ker...ts/2015/07/31/ (the zip/tar file)
    Uncompress somewhere
    Patch the code with https://github.com/atondwal/linux/co...d67d2a04392466
    Then do:
    make defconfig-ath10k
    make
    sudo make install

    Then, get the latest firmware from https://github.com/kvalo/ath10k-firm...ive/master.zip
    Unzip and copy ath10k folder to /lib/firmware/ath10k
    Copy these two files (overwrite what you got before) in /lib/firmware/ath10k/QCA6164/hw2.1:
    https://github.com/atondwal/ath10k-f.../QCA6164/hw2.1

    Create a file named /etc/modprobe.d/ath10k.conf with the following line:

    "options ath10k_core skip_otp=y"

    Reboot and modprobe ath10k_pci. Do "lshw -C network"; "ip link show" or "rfkill list" to see if you got your card working."


    Fairly straight forward...

    But when I enter "make" after doing "make defconfig-ath10k" I get error messages --

    "/usr/src/linux-headers-4.0.0-kali1-common/scripts/Makefile.build:408: receipe for target '/root/Documents/backports-20150731/drivers/net/wireless failed"

    and then says lots of errors like --
    "make[3]: ***[modules] Error 2
    Makefile:40: receipt for target 'modules' failed"

    So that is happening so I moved onto another tutorial. Which follows installing Ndiswrapper to install a windows driver.

    So I place latest ndiswrapper extract in /usr/src and open a terminal in the ndiswrapper folder.

    Upon entering the Command "make" I then get similar errors as I got from the above when entering "make"
    "make files receipt for target failed"


    So it seems I cant "make" anything.
    I have installed the correct linux headers and build essentials done all apt gets, updates, and upgrades (i think)

    I mean I am just not sure whats going on. I cant even install ndisgtk because I need ndiswrapper installed and I cant. I enter modprobe for ndiswrapper and it says it cant be found.

    So because of this I failed to even get the wireless driver installed, is there anything I could try or do?

    I have reinstalled kali linux 3x now thinking it was because of wrong linux headers or something, but I have nothing left to try out. I feel like this is so simple to figure out.

    Couple things, when entering "lspci" it recognized the wireless card but no driver. When entering iwconfig just says etho and lo - no wireless extensions.

    Where to begin?

  2. #2
    Join Date
    2015-Jul
    Location
    /home/duxim
    Posts
    408
    I don't know is this problem related to drivers or Kali itself.
    Only what I can advise you is to try once again to reinstall Kali Linux.
    This time download new iso img. Try with Light version of Kali Linux.
    First time when you boot to Kali just check if you have wireless.
    If you don't have wireless. Restart and set BIOS to their default setting.
    If you don't have wireless after that you can assume that problem is in driver.
    Try to install it.
    hope that you fix this problem

    and read this post could be helpful
    https://forums.kali.org/showthread.p...-Kali-2-0-Sana

  3. #3
    Join Date
    2015-Aug
    Posts
    9
    Quote Originally Posted by duxim View Post
    I don't know is this problem related to drivers or Kali itself.
    Only what I can advise you is to try once again to reinstall Kali Linux.
    This time download new iso img. Try with Light version of Kali Linux.
    First time when you boot to Kali just check if you have wireless.
    If you don't have wireless. Restart and set BIOS to their default setting.
    If you don't have wireless after that you can assume that problem is in driver.
    Try to install it.
    hope that you fix this problem

    and read this post could be helpful
    https://forums.kali.org/showthread.p...-Kali-2-0-Sana
    Thanks for the link duxim

    Tried the light version still nothing

    Now I fixed the "make" problem. I can compile things now. The problem was the "patch" had bad coding in it. So didn't try compiling with the patch and it compiled, though it didn't fix the problem with the wireless adapter, even after completing the steps correctly.

    Also found the driver files for my built in adapter and tried installing it with ndiswrapper and it came up with errors. (I am typing from another computer so it would take along time to type the whole lines, but can get it)


    Not to sure what the problem is either, I am running windows 7, bios running off legacy. It does have uefi but I switched to legacy to run w7. Don't think it would effect it but not sure. Didn't touch anything else with the bios. And I ran the command to check if the adapter was blocked and it said no.

    Also tried a wifi usb I found laying around just now and installing the drivers (windowsxp)via ndiswrapper command and had errors installing it. Also tried installing it from the GUI and had error saying to check if ndiswrapper is installed. Funny because it is

  4. #4
    Join Date
    2015-Jul
    Location
    /home/duxim
    Posts
    408
    Quote Originally Posted by kali50 View Post
    Not to sure what the problem is either, I am running windows 7, bios running off legacy. It does have uefi but I switched to legacy to run w7. Don't think it would effect it but not sure. Didn't touch anything else with the bios. And I ran the command to check if the adapter was blocked and it said no.
    I didn't understand did you bring up bios to their default setting as I recommended in first post.
    just do it. you will not messed up anything.

  5. #5
    Join Date
    2015-Aug
    Posts
    9
    I did default the bios - no change

    I was not able to boot windows after doing so (just hangs at bios logo), however I was able to boot kali 2 light with USB. Upon booting with USB live, still no wireless by default

  6. #6
    Join Date
    2015-Jul
    Location
    /home/duxim
    Posts
    408
    i am very sorry to hear that. What type of BIOS you use?
    This error that you could not boot into Windows should not happened.
    This is something I can not understand in this moment. It doesn't make any sense to me.
    First in this moment try to repair Windows boot.

    Try first with this command from Kali
    update-grub
    and look if it show Windows entry. Try to boot into Windows
    If it is not helpful then try with one of this tools in this order
    http://sourceforge.net/projects/boot-repair-cd/
    make boot usb and try to fix it. In this case you will need internet connection
    or Hiren's Boot cd

    http://www.hirensbootcd.org/download/
    or Bootmed
    http://www.bootmed.com/download-boot...-download-com/

    P.S. probably you have problems with wifi drivers in Kali
    Last edited by duxim; 2015-08-26 at 10:31.

  7. #7
    Join Date
    2015-Aug
    Posts
    9
    Quote Originally Posted by duxim View Post
    i am very sorry to hear that. What type of BIOS you use?
    This error that you could not boot into Windows should not happened.
    This is something I can not understand in this moment. It doesn't make any sense to me.
    First in this moment try to repair Windows boot.

    Try first with this command from Kali
    update-grub
    and look if it show Windows entry. Try to boot into Windows
    If it is not helpful then try with one of this tools in this order
    http://sourceforge.net/projects/boot-repair-cd/
    make boot usb and try to fix it. In this case you will need internet connection
    or Hiren's Boot cd

    http://www.hirensbootcd.org/download/
    or Bootmed
    http://www.bootmed.com/download-boot...-download-com/

    P.S. probably you have problems with wifi drivers in Kali
    Haha no worries about windows, just had to switch back to legacysupport in bios for first boot to get it back and boot correctly. My laptop camewith windows 8 installed, to install Windows7 had toconvert the hdd to gpt to install a mbr (of I remember correctly)

    Bios version A2CN34ww(Ve.02)
    was reading that if iupdate mybios for my model it can cause hardware issues for lots of people. Haven't updated but might try that.

    It's almost for sure a driver issue I think as well, but surpised can't get my USB one to work either

  8. #8
    Join Date
    2015-Aug
    Posts
    1
    I also have similar issues but my driver's for the wireless is up and working but can't just see or connect to any network
    any assistance is appreciated

  9. #9
    Join Date
    2015-Aug
    Location
    127.0.0.1
    Posts
    7
    Quote Originally Posted by duxim View Post
    I didn't understand did you bring up bios to their default setting as I recommended in first post.
    just do it. you will not messed up anything.
    I would be carefull whit that, after i reseted my BIOS, it couldn't see any of my Hard drives or DVD drive.and i couldn't boot into any OS.
    I needed to open my laptop to put the BIOS Battery out !
    After that everythink worked again.

  10. #10
    Join Date
    2015-Aug
    Location
    127.0.0.1
    Posts
    7
    Quote Originally Posted by oba View Post
    I also have similar issues but my driver's for the wireless is up and working but can't just see or connect to any network
    any assistance is appreciated
    I had the same Problem.
    Maybe this sounds stupid but Switch your Computer/laptop into Sleep mode / hibernate mode ! ( on my ASUS its "FN" + "F1")
    After "waking" up my laptop, he finally could find / search / connect to Networks.

    I hope this help you

  11. #11
    Join Date
    2015-Jul
    Location
    /home/duxim
    Posts
    408
    Quote Originally Posted by Vlado View Post
    I would be carefull whit that, after i reseted my BIOS, it couldn't see any of my Hard drives or DVD drive.and i couldn't boot into any OS.
    I needed to open my laptop to put the BIOS Battery out !
    After that everythink worked again.
    This is not problem with BIOS. this is problem with your hardware configuration, and I just recommended to set BIOS to their default settings.
    it could not make any problems with boot, except in special cases but this something you can solve in few steps.

  12. #12
    Join Date
    2015-Aug
    Location
    127.0.0.1
    Posts
    7
    Quote Originally Posted by duxim View Post
    This is not problem with BIOS. this is problem with your hardware configuration, and I just recommended to set BIOS to their default settings.
    it could not make any problems with boot, except in special cases but this something you can solve in few steps.
    Jes, but i think i am not the only one whit an Usual Asus Laptop.
    Many people had this problems whit laptops after changing to Default settings. so better they know a Solution (like putting BIOS battery out )

    Ziveli

  13. #13
    Join Date
    2015-Jul
    Location
    /home/duxim
    Posts
    408
    @vlado
    you are correct. every solution is better then none.
    živeli

  14. #14
    Join Date
    2015-Aug
    Posts
    7
    BIOS:
    Config > Power >
    Look for power management of the card

    Security > I/O Port Access:
    Wireless LAN [Enabled]?
    Wireless WAN [Enabled]?


    What errors are you getting on:
    iwconfig ?
    ifconfig ?
    dmesg | tail ?

    Does you'r wifi card works on live OS? Other OS maybe?
    Did you try to fire up wifite?
    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

  15. #15
    Join Date
    2015-Aug
    Posts
    7

  16. #16
    Join Date
    2015-Aug
    Posts
    9
    Quote Originally Posted by 60d View Post
    BIOS:
    Config > Power >
    Look for power management of the card

    Security > I/O Port Access:
    Wireless LAN [Enabled]?
    Wireless WAN [Enabled]?


    What errors are you getting on:
    iwconfig ?
    ifconfig ?
    dmesg | tail ?

    Does you'r wifi card works on live OS? Other OS maybe?
    Did you try to fire up wifite?
    In bios, those both say enabled.

    For the errors:
    iwconfig says no wireless extensions for etho and lo
    ifconfig just shows information about the ethernet adapter and lo (loopback)
    dmesg tail says ---

    "

    dmesg | tail
    [ 20.427381] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [ 20.427388] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [ 20.427394] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
    [ 20.427401] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
    [ 20.427408] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
    [ 20.427414] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
    [ 20.427419] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
    [ 20.427424] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
    [ 20.671977] r8169 0000:02:00.0: firmware: direct-loading firmware rtl_nic/rtl8168g-3.fw
    [ 20.683622] r8169 0000:02:00.0 eth0: link down

    "

    Yes, wifi works on windows, which is dualbooted.
    /wifite wont work because no network adapter setup

  17. #17
    Hmm, could you please run and show us the output?

    lspci -k

    &

    lsusb ; lsusb -t

  18. #18
    Join Date
    2015-Aug
    Posts
    9
    Quote Originally Posted by fruchttiger00x0 View Post
    Hmm, could you please run and show us the output?

    lspci -k

    &

    lsusb ; lsusb -t
    Sure, it is below . lspci -k see the adapter but not the driver. As it should say Kernel driver in use: XXX but only shows "subsystem"


    lspci -k
    00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1566
    Subsystem: Lenovo Device 3801
    00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Mullins [Radeon R4/R5 Graphics] (rev 05)
    Subsystem: Lenovo Device 3801
    Kernel driver in use: radeon
    00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kabini HDMI/DP Audio
    Subsystem: Lenovo Device 3801
    Kernel driver in use: snd_hda_intel
    00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 156b
    00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1
    Kernel driver in use: pcieport
    00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1
    Kernel driver in use: pcieport
    00:08.0 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device 1537
    Subsystem: Lenovo Device 3801
    Kernel driver in use: AMD Cryptographic Coprocessor
    00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 11)
    Subsystem: Lenovo Device 3801
    Kernel driver in use: xhci_hcd
    00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode]
    Subsystem: Lenovo Device 3801
    Kernel driver in use: ahci
    00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 39)
    Subsystem: Lenovo Device 3801
    Kernel driver in use: ehci-pci
    00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 39)
    Subsystem: Lenovo Device 3801
    Kernel driver in use: ehci-pci
    00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 42)
    Subsystem: Lenovo Device 3801
    00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 02)
    Subsystem: Lenovo Device 3801
    Kernel driver in use: snd_hda_intel
    00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
    Subsystem: Lenovo Device 3801
    00:14.7 SD Host controller: Advanced Micro Devices, Inc. [AMD] FCH SD Flash Controller (rev 01)
    Subsystem: Lenovo Device 3801
    Kernel driver in use: sdhci-pci
    00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1580
    00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1581
    00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1582
    00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1583
    Kernel driver in use: k10temp
    00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1584
    Kernel driver in use: fam15h_power
    00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1585
    01:00.0 Network controller: Qualcomm Atheros Device 0041 (rev 20)
    Subsystem: Lenovo Device 3545
    02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
    Subsystem: Lenovo Device 3812
    Kernel driver in use: r8169
    l---
    and the lsusb


    Bus 002 Device 004: ID 0cf3:e300 Atheros Communications, Inc.
    Bus 002 Device 003: ID 5986:014f Acer, Inc
    Bus 002 Device 002: ID 0438:7900 Advanced Micro Devices, Inc.
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
    Bus 001 Device 002: ID 0438:7900 Advanced Micro Devices, Inc.
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
    /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
    /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
    |__ Port 2: Dev 3, If 0, Class=Video, Driver=uvcvideo, 480M
    |__ Port 2: Dev 3, If 1, Class=Video, Driver=uvcvideo, 480M
    |__ Port 3: Dev 4, If 0, Class=Wireless, Driver=btusb, 12M
    |__ Port 3: Dev 4, If 1, Class=Wireless, Driver=btusb, 12M
    /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
    |__ Port 3: Dev 3, If 0, Class=Vendor Specific Class, Driver=rtsx_usb, 480M



  19. #19
    Join Date
    2015-Sep
    Posts
    4
    When you installed Kali Linux, did you have an Ethernet cable plugged into your laptop? The first time I installed Kali I did not have Ethernet cable plugged in and had all sorts of errors trying to get my wifi up. I reinstalled with Ethernet cable plugged in, and everything worked perfectly.

  20. #20
    Join Date
    2013-Jul
    Posts
    844
    All MTeams computers are dual boot XP/Linux. To allow linux to access wifi devices in two(2) of these computers we must turn on the Internal wifi device with windows first. Once the Internal wifi device is functioning we can reboot into Linux and. as long as we do not switch the power button off, the wifi devices work for both Operating Systems.

    MTeams

Similar Threads

  1. Kali detects USB wireless adapter, but no wireless networks shown
    By Debelox in forum TroubleShooting Archive
    Replies: 2
    Last Post: 2023-04-14, 15:57
  2. Kali detects USB wireless adapter, but no wireless networks shown
    By reifi in forum TroubleShooting Archive
    Replies: 13
    Last Post: 2017-04-26, 11:57
  3. Wireless authentication required after setting wireless card to monitor
    By TheRussianBear in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2014-09-15, 21:10
  4. broadcam 43227 , cant connect any wireless [wireless didnt show up]
    By aciang in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2013-10-11, 04:10

Posting Permissions

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