I am installing Kali Linux dual boot on my windows 10 Dell laptop. During installation it shows "Network autoconfiguration failed"

Kunal Purohit

New Member
Joined
May 8, 2022
Messages
3
Reaction score
0
Credits
25
It says "Your network is probably not using the DHCP protocol. Alternatively, the DHCP server may be slow or some network hardware is not working properly."
Please help me with this
 


Lord Boltar

Well-Known Member
Joined
Nov 24, 2020
Messages
1,761
Reaction score
1,176
Credits
13,105
It says "Your network is probably not using the DHCP protocol. Alternatively, the DHCP server may be slow or some network hardware is not working properly."
Please help me with this
Try resetting your router unplug it for one minute then plug back in try to reconnect
 
OP
K

Kunal Purohit

New Member
Joined
May 8, 2022
Messages
3
Reaction score
0
Credits
25
Try resetting your router unplug it for one minute then plug back in try to reconnec

Try resetting your router unplug it for one minute then plug back in try to reconnect
But I am not connected to any router i am just installing Kali Linux, i don't think that installation requires internet connection.
Any other method...
 

Rob

Administrator
Staff member
Joined
Oct 27, 2011
Messages
914
Reaction score
1,728
Credits
1,123
That error is stating that it can't establish an internet connection i'd think.. connect to wifi if you aren't already and see if it persists. Alternatively, install Ubuntu or something as a test and see if you get the same error.
 

Lord Boltar

Well-Known Member
Joined
Nov 24, 2020
Messages
1,761
Reaction score
1,176
Credits
13,105
I do not believe this is a DHCP problem but more like missing firmware for the network card - If it is not seeing the network card then it won't see DHCP
boot form the live USB and run in the terminal
Code:
lspci | grep -i network
Since Kali is based on Debian you can get the firmware from here - https://debian.pkgs.org/11/debian-nonfree-amd64/
download the correct DEB file

Here is mine as an example:
expirion:~$ lspci | grep -i network
03:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)

So when I go the the above listed website I would download - firmware-atheros_20210315-3_all.deb

You then put that DEB file onto another USB stick, not the LiveUSB - As soon as you start the Install process from the LiveUSB plug in the second USB - Kali should pick up that DEB file on the second USB and install it during the installation process - Debian does, so I believe Kali should do the same thing. Hopefully this will fix it.
 
  • Like
Reactions: Rob

Brickwizard

Well-Known Member
Joined
Apr 28, 2021
Messages
2,656
Reaction score
1,759
Credits
19,882
Have you used Linux, are you fully convenient with how Linux works and the use of the terminal and the main command codes?
If the answer is NO then you are not ready to install Kali ,
see the first post and the third post on the Kali page index

this from the official Kali introduction
"(…) Kali is a Linux distribution specifically geared towards professional penetration testers and security specialists, and given its unique nature, it is NOT a recommended distribution if you’re unfamiliar with Linux or are looking for a general-purpose Linux desktop distribution for development, web design, gaming, etc. (…)"
 
  • Like
Reactions: Rob
OP
K

Kunal Purohit

New Member
Joined
May 8, 2022
Messages
3
Reaction score
0
Credits
25
I do not believe this is a DHCP problem but more like missing firmware for the network card - If it is not seeing the network card then it won't see DHCP
boot form the live USB and run in the terminal
Code:
lspci | grep -i network
Since Kali is based on Debian you can get the firmware from here - https://debian.pkgs.org/11/debian-nonfree-amd64/
download the correct DEB file

Here is mine as an example:
expirion:~$ lspci | grep -i network
03:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)

So when I go the the above listed website I would download - firmware-atheros_20210315-3_all.deb

You then put that DEB file onto another USB stick, not the LiveUSB - As soon as you start the Install process from the LiveUSB plug in the second USB - Kali should pick up that DEB file on the second USB and install it during the installation process - Debian does, so I believe Kali should do the same thing. Hopefully this will fix it.
Hey what I did is selected the option "Do not configure DHCP protocol at this time" and the installation got completed. After installing i am getting error while updating the Linux using sudo apt update command. I think it is due to that network configuration problem. What should I do now?
 

Lord Boltar

Well-Known Member
Joined
Nov 24, 2020
Messages
1,761
Reaction score
1,176
Credits
13,105
Hey what I did is selected the option "Do not configure DHCP protocol at this time" and the installation got completed. After installing i am getting error while updating the Linux using sudo apt update command. I think it is due to that network configuration problem. What should I do now?
run the
Code:
lspci | grep -i network
find what network controller is being used and go to the website and grab the firmware and install it - see my post #6
 

imdrash

New Member
Joined
Jun 19, 2022
Messages
1
Reaction score
0
Credits
7
I do not believe this is a DHCP problem but more like missing firmware for the network card - If it is not seeing the network card then it won't see DHCP
boot form the live USB and run in the terminal
Code:
lspci | grep -i network
Since Kali is based on Debian you can get the firmware from here - https://debian.pkgs.org/11/debian-nonfree-amd64/
download the correct DEB file

Here is mine as an example:
expirion:~$ lspci | grep -i network
03:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)

So when I go the the above listed website I would download - firmware-atheros_20210315-3_all.deb

You then put that DEB file onto another USB stick, not the LiveUSB - As soon as you start the Install process from the LiveUSB plug in the second USB - Kali should pick up that DEB file on the second USB and install it during the installation process - Debian does, so I believe Kali should do the same thing. Hopefully this will fix it.
it is not picking the DEB file from different USB then the live one, what should i do now?
After installation it is not even runs internet by ethernet, it is just connecting to the networks but i can't be connected to internet...
 

Lord Boltar

Well-Known Member
Joined
Nov 24, 2020
Messages
1,761
Reaction score
1,176
Credits
13,105
After installing i am getting error while updating the Linux using sudo apt update command
What is the error you are getting? If Kali is now installed you should be able to install the deb file - right click and open a terminal where the deb is stored and run
Code:
sudo dpkg -i package_name.deb
 
Last edited:
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Top