Kali Linux not detecting wireless network in dual boot

3

Am new to Linux. Just downloaded and installed Kali Linux 1.0.7 yesterday.

I have a wireless connection in the house.

But Kali doesn't seem to be detecting the network. I go to the network icon and see only wired connections there.

When I type ifconfig there appears to be an ethernet connection detected:

$ ifconfig
eth0      Link encap:Ethernet HWaddr 20:89:84e5:f0:37
              UP BROADCAST MULTICAST MTU:1500 Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txquelen:1000
              RX bytes:0 (0.0B) TX bytes:0 (0.0B)
              Interrupt:16

lo          Link encap: local Loopback
             inet addr:127.0.1.1 Mask: 255.1.1.0
             inet6 addr: ::1/128 Scope:Host
             UP LOOPBACK RUNNING MTU:65536 Metric:1
             RX packets:20 errors:0 dropped:0 overruns:0 frame:0
             TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txquelen:0
           RX bytes:1200(1.1 KiB) TX bytes:1200(1.1KiB)

But when I type

$ iwconfig

eth0: no wireless extensions

lo: no wireless extensions  

How can I make it detect the connection? Please help. :(


EDIT 1:

$ lspci -nnk
01:00.0 Ethernet controller [0200]: Atheros Communications Inc. Device [1969:10a0] (rev 01) Subsystem: Lenovo Device [17aa:3802] Kernel Driver in use : alx
02:00.0 Network controller [0280] :Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01) Subsystem:Lenovo Device [17aa:0611] Kernel Driver in use: bcma-pci-bridge  

Gaurav Menezes

Posted 2014-07-01T04:43:20.793

Reputation: 31

Are you dual-booting with Windows 8/8.1 with fast start-up enabled? – Cornelius – 2014-07-01T06:22:44.560

Drivers might be missing for your card. Attach output of sudo lshw -class network – abhishekkannojia – 2014-07-01T09:45:41.273

Dual Booting with Windows 7 64-bit. As for drivers I'll have to check and see – Gaurav Menezes – 2014-07-01T09:57:19.977

bash command not found :(

Is it lshw? that's the part not found – Gaurav Menezes – 2014-07-01T10:04:14.190

Ok, I guess lshw is not installed. Attach this sudo lspci -nnk – abhishekkannojia – 2014-07-01T10:07:49.190

Actually for Kali Linux, even wicd manager is not installed. Is this normal? – Gaurav Menezes – 2014-07-01T10:30:31.790

Yeah, wicd is not installed by default. Default is Gnome's Network Manager. And attach output of sudo lspci -nnk – abhishekkannojia – 2014-07-01T10:39:35.810

Very sorry but I'm not able to access the snapshot.

But I did check and it said that ethernet controller was some Atheron card and network controller was Broadcomm BCM43142 – Gaurav Menezes – 2014-07-01T10:48:39.910

Here's the portion: 01:00.0 Ethernet controller [0200]: Atheros Communications Inc. Device [1969:10a0] (rev 01) Subsystem: Lenovo Device [17aa:3802] Kernel Driver in use : alx – Gaurav Menezes – 2014-07-01T10:51:44.920

Please update the original post with additional details and Don't post outputs in comments. And I'm interested in Wireless LAN Controller – abhishekkannojia – 2014-07-01T10:55:48.310

02:00.0 Network controller [0280] :Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01) Subsystem:Lenovo Device [17aa:0611] Kernel Driver in use: bcma-pci-bridge – Gaurav Menezes – 2014-07-01T10:57:27.343

Answers

2

Your Wireless Card BCM43142 is not supported by open source driver b43 (See this)
Try installing their proprietary driver Broadcom Linux STA

Follow these steps to Build and install driver (Use root shell sudo -i):

  1. Install required packages and tools

    # echo 'deb http://ftp.us.debian.org/debian stable main contrib non-free' > /etc/apt/sources.list
    # echo 'deb-src http://ftp.us.debian.org/debian stable main contrib non-free' > /etc/apt/sources.list
    # apt-get update && apt-get upgrade
    # apt-get install build-essential linux-headers-$(uname -r)
    # apt-get build-dep linux
    
  2. Download proper Broadcom Linux STA driver from here (32-bit or 64-bit) http://www.broadcom.com/support/802.11/linux_sta.php

  3. Extract the tarball

    # mkdir hybrid_wl
    # cd hybrid_wl
    # tar xzf <path-to-tarball>/hybrid-v35*
    
  4. Build Driver as Linux loadable Kernel Module

    # make clean
    # make
    
  5. This will build wl.ko file. If this file is not present it means there were errors while building. Now you need to remove conflicting drivers. Check if any of confilicting drivers are present

    # lsmod  | grep "brcmsmac\|b43\|ssb\|bcma\|wl"
    
  6. Remove those modules which are present already:

    # rmmod b43
    # rmmod brcmsmac
    # rmmod ssb
    # rmmod bcma
    # rmmod wl
    

    and Blacklist them to prevent loading them in future

    # echo "blacklist ssb" >> /etc/modprobe.d/blacklist.conf
    # echo "blacklist bcma" >> /etc/modprobe.d/blacklist.conf
    # echo "blacklist b43" >> /etc/modprobe.d/blacklist.conf
    # echo "blacklist brcmsmac" >> /etc/modprobe.d/blacklist.conf 
    
  7. Install the module

    # insmod lib80211
    # insmod wl.ko
    
  8. Wait for few seconds for Network Manager to detect the new driver installation and check if Wifi is functional.

The instructions are taken from here.

Hope this helps. :)

abhishekkannojia

Posted 2014-07-01T04:43:20.793

Reputation: 871

In the first step itself it's saying the packages are absent – Gaurav Menezes – 2014-07-01T14:25:22.917

add these lines in /etc/apt/sources.list.

deb http://ftp.us.debian.org/debian stable main contrib non-free deb-src http://ftp.us.debian.org/debian stable main contrib non-free – abhishekkannojia – 2014-07-01T15:45:30.080

0

You can also try
# apt-get install firmware-iwlwifi
# modprobe -r iwlwifi; modprobe iwlwifi

callielinux

Posted 2014-07-01T04:43:20.793

Reputation: 1