2

I'm having some serious issues with the network manager in Kali. I have read 25+ other threads / questions with this problem to no avail. Here is what is happening. Essentially the icon is missing from the top and there seems to be no way to open it.

On a Kali Linux live USB (latest stable version of OS) plugged into a Macbook Air, the network manager icon is missing in the corner. Many threads suggest that you "right click and add to panel" to get it back, but I can't right click this-- right-clicking the upper right notifications area does the same thing as left-clicking. There is no option to add anything.

I have tried running NetworkManager at the terminal, and it recognizes the command but does nothing. I have also tried running /etc/init.d/network-manager start after stopping it, and it tells me it is starting it but nothing appears on the screen and nothing changes.

When I go to Settings, the only related area is "Network" which brings up a little window with some proxy options and nothing else. This doesn't seem to be the Network Manager, which is also not listed under Applications.

What is going on here? I don't know what to try next. I have no internet access so I can't download anything.


Edit:

Here is the output of iwconfig:

lo    no wireless extensions

Here is the output of ifconfig:

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
    inet 127.0.0.1 netmask 255.0.0.0
    inet6 ::1 prefixlen 128 scopeid 0.10<host>
    loop txqueulen - (Local Loopback)
    RX packets 16 bytes 960 (960.0B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 16 bytes 960 (960.0B)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Here is the output of ipconfig:

bash: ipconfig: command not found

Here is the output of lspci | grep -i network:

03:00.0 Network controller: Broadcom Corporation BCM4360 802.11ac Wireless Network Adapter (rev 03)

Also, service network-manager restart has no output at all. And running nm-applet causes a notification to pop up that reads "Disconnected: The network connection has been disconnected." There is no other result.

temporary_user_name
  • 575
  • 2
  • 6
  • 12

3 Answers3

4

I found a way that helped.

airmon-ng check kill

service NetworkManager start

And voilà NM is back again

Stephen Rauch
  • 4,209
  • 14
  • 22
  • 32
Björn
  • 41
  • 1
  • Thanks @Bjorn, your answer helped me a lot from pain. that was simple but effective. After killing all service with airmon-ng check kill, this killed my network. and I try to search how to get back my network. I tried many solution but not worked for me. eventually your answer is worked. Thanks again. – shaheb Jul 03 '22 at 05:39
3

The issue is very likely a lack of installed drivers for the MacBook Air's network card. NetworkManager tends not to display an applet icon when no networks are available.

Could you list the output of ipconfig, ifconfig, and/or iwconfig? One or more of those commands may not be available by default, but any of them should list a decent amount of your networking information. lspci | grep -i network should also provide some helpful information.

If you give the model and year of the laptop, we should be able to better help you.

  • I'll get back to you with this in the morning. Thanks! – temporary_user_name Apr 03 '16 at 05:35
  • Updated with output of those commands. – temporary_user_name Apr 03 '16 at 19:19
  • @Aerovistae give this [link](http://unix.stackexchange.com/questions/175810/how-to-install-broadcom-bcm4360-on-debian-on-macbook-pro) a shot. – Thomas Ramage Apr 03 '16 at 19:41
  • Gee, this whole reputation thing is severely limiting. Commenting here because that's about all I can do. Take the USB drive and boot into it using a computer with internet access, then do the install. – Thomas Ramage Apr 03 '16 at 20:22
  • Oh, you're new to SE! Welcome! You'll have the necessary rep for basic things quick enough if you participate for a few days. And yes, okay, I'll try it out on my PC later tonight when I get home. What were you trying to do other than add a comment here, that you didn't have the rep for? – temporary_user_name Apr 03 '16 at 20:59
  • Can't comment on other posts, including your question. Just makes responses difficult without creating multiple answers. – Thomas Ramage Apr 03 '16 at 21:01
3

Edit /etc/apt/sources.list and add the following lines:

# Regular repositories
deb http://http.kali.org/kali sana main non-free contrib
deb http://security.kali.org/kali-security sana/updates main contrib non-free
# Source repositories
deb-src http://http.kali.org/kali sana main non-free contrib
deb-src http://security.kali.org/kali-security sana/updates main contrib non-free

Update apt-get update

install linux-header

apt-get install linux-headers-$(uname -r)

install broadcom-sta-dkms

apt-get install broadcom-sta-dkms

Unload and load driver

sudo modprobe -r b43 bcma
sudo modprobe wl

edit

Mount your Live_usb

Open terminal and type the following command:

dpkg -i /media/Your_username/your_usb/pool/main/d/dkms/dkms_*.deb
dpkg -i /media/Your_username/your_usb/pool/restricted/b/bcmwl/bcmwl-kernel-source_*.deb

Replace Your_username and your_usb with yours.

Toby Speight
  • 8,460
  • 3
  • 26
  • 50
GAD3R
  • 63,407
  • 31
  • 131
  • 192