eth0 Disconnected on Kali Linux ARM
First, open the Network Manager configuration file in /etc/NetworkManager with a text editor, and set "managed=false". Then edit network configuration file /etc/network/interfaces
like this:
# The loopback network interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
Then reboot your computer.
Check that Ethernet cable is good and auto negotiation is enabled via command ethtool eth0
.
Related videos on Youtube
Colin Stricker
Updated on September 18, 2022Comments
-
Colin Stricker over 1 year
I have recently installed Kali Linux ARM on a flash drive for my Rasberry pi. Upon boot up, I ran into the
device not managed
problem. If you do not know what this is, it is where by default Linux does not manage Ethernet connections.You can read the article I used as my solution here:
I went through all the steps of the article, however when I enter
service network-manager restart
I do not get any prompts from the terminal as the article does. It just completes the command.Now, my Ethernet reads
disconnected
when on the physical layer it is certainly connected. If you want proof that all the steps in the article are completed, my /etc/NetworkManager/NetworkManager.conf file currently is this:[main] plugins=ifupdown,keyfile [ifupdown] managed=true
I assume there are some discrepancies between normal Linux and ARM Linux causing this problem. However currently I cannot connect to the Internet with my RasPi, are there any solutions to it simply reading
disconnected
?-
Anshu over 7 yearsThe joy of NetworkManager. I have been known to nuke it from high orbit and manually set up the interface and just use the network service. BUT, this makes moving from one network to another painful. Maybe someone who knows how to actually make NM work will chime in.
-
Colin Stricker over 7 years@Xalorous r/linuxquestions has so far suggested I just use wicd and nuke NetworkManager all together. This seems like the best option thus far. It would be nice to find a solution however.
-
Anshu over 7 yearsI don't know wicd, but I'm in a server environment, and our configs are static. It irritates me that so much has been shifted to NetworkManager on Servers. Servers are typically static on network config. NetworkManager, with all of its bells and whistles, seems to serve the mobile segment more. NetworkManager suits when changing from network to network as you go from home to school/work and then whatever hangout. Of course Kali is pentesting environment, so manually setting the network settings should be within the operator's skillset.
-
VocalFan over 7 yearsWhat is the output of
service network-manager status
? -
Colin Stricker over 7 years@JigglyNaga network-manager: unrecognized service
-
VocalFan over 7 yearsIs
network-manager
even installed? (dpkg -l network-manager
) Did you run theservice network-manager ...
commands as root? -
Colin Stricker over 7 years@JigglyNaga I dunno, I've moved over to Rasbian now, and the issue persists even after configuring for DHCP. It's odd, as the physical layer is good. Since it's Rasbian, I will be making a new question for this. This no longer involves NetworkManager nor Kali Linux.
-