Enable Wi-fi on Kali Linux

  • I just installed Kali Linux on Dell Inspiron 1545, and am unable to get wireless connection.

    I attempted the following

    [email protected]:~# lspci -knn | grep Net -A2
    0c:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)
        Subsystem: Dell Wireless 1397 WLAN Mini-Card [1028:000c]
    
    # apt-get install firmware-iwlwifi
    # modprobe -r iwlwifi; modprobe iwlwifi
    

    I even tried commands I used when I installed Ubuntu on the same laptop

    sudo apt-get install bcmwl-kernel-source
    sudo modprobe -r b43 bcma
    sudo modprobe wl
    

    How to fix?

    UPDATE

    I also ran

    sudo apt-get install kali-linux-wireless

    but I still cannot detect and connect to my home wi-fi.

    Thanks!

    Tried first solution

    I tried first solution, but when I go to Administration > System, I get package manager. I searched for everything Broadcom downloaded, installed, rebooted, but still no wireless.

    There has to be an easy solution ......

    Am trying this, http://www.chokepoint.net/2014/04/installing-broadcom-bcm43142-drivers-on.html

    I was getting errors with install. After I reboot, still no wireless detector.

    Update

    I'm trying all your suggestions .... seems I will have to read the links you provided. Who knew getting wireless would be so difficult! I will extend bounty time if possible.

    Please read editing guidelines and modify your question.

    will do so ... why the down vote for something so trivial?

    Trivial!! This is not trivial. Properly framing your question is THE most important part of asking a question on the SE network. Moreover, the downvote is not permanent. Edit your question properly and it might go away.

    okay okay calm down ... I fixed ... kindly upvote if you wish

  • Arnab

    Arnab Correct answer

    5 years ago

    May be your wireless card is in turned off state, does the laptop have any dedicated physical switch or key combo(like Fn+F3 on my acer laptop) to turn on/off Wi-Fi ? most laptops also have a LED to show Wi-Fi card state.

    Device firmwares are not pre installed in kali-linux(my last used version 1.0.4 can't tell about latest versions) , so if not already installed, install them.

    sudo apt-get install firmware-linux firmware-linux-free firmware-linux-nonfree

    Install Broadcom wireless card firmware

    sudo apt-get install firmware-brcm80211 firmware-b43-installer firmware-b43legacy-installer broadcom-sta-dkms

    Then use proper kernel drivers, b43 or b43legacy, iwlwifi is Intel Wi-Fi card driver so firmware-iwlwifi is not necessary.

    I am installing in Dell Inspiron 1545 ... will try this

    @Arnam I tried the two commands, but no luck. What do you mean by `Then use proper kernel drivers, b43 or b43legacy, iwlwifi is Intel Wi-Fi card driver so firmware-iwlwifi is not necessary.`

    As your Wi-Fi module is made by Broadcom , so it is unnecessary to use any Intel Wi-Fi card driver, **iwlwifi** kernel module is for Intel Wi-Fi modules. Does the Wi-Fi interface shows up(check with `/sbin/ifconfig`) as wlan0 or even as eth1 ? I think your card needs Proprietary **Broadcom STA Wireless** driver , did you installed this ? **broadcom-sta-dkms** ? About 1yr ago I had same issue with an old lenovo laptop , but finally worked smoothly on Ubuntu with **bcmwl-kernel-source** package. check it here https://wiki.debian.org/wl , and hey, my name is _Arnab_ not _Arnam_ .

    sorry about the typo :-) will check this

    @Arnam Your answer gave me great ideas

    Fn + F2 on some devices, but thats not a solution. It only can set soft blocked yes to no. It can not do anything to hard blocked yes. This is a hardware issue, not software. If it is just not showing wifi go to this video: https://youtu.be/Z4ueXndm90o

License under CC-BY-SA with attribution


Content dated before 6/26/2020 9:53 AM