Hai Guys,
Most of the KALI LINUX users are now stuck at with a problem that the internet speed is too low that it is not even not fit for having an update, upgrade or to install an application.So a FIX is needed for most of the folks.
So First thing that we must ensure is that we have a good and decent internet connection.
Then we can can choose a proper DNS Server.In this case we are choosing Google as our DNS Server.
To update our DNS Server,Go to a directory where the file containing information related to our DNS Servers.For going into that directory open terminal and type:
cd /etc/
Then Type:
resolv.conf
It will open a file named resolv.conf from /etc directory.
We must edit that file to change DNS Server.The file should be edited like this:
Save the file and close it.Our first step has completed successfully.
Then we can clean by typing the command:
sudo apt-get clean
Then we must check whether our software repository is proper or not. For that Type:
cd /etc/apt/
Then Type:
sources.list
It will open a new file and check whether it resemples like this:
If all are going well then the file will look like this.Minimise the file.You should not close it.Because it can be used later in this tutorial.Open a new terminal and type:
sudo apt-get install apt-transport-https -y
It will install a small file (Too small just 148kb size). After installing go back to our sources.list file which we had minimised earlier.We must edit a little bit in this file.
We should replace the first "http" with "https". Then save and close it. Its Done!!! We had increased our internet speed in Kali Linux.
If these pieces of code had worked comment it below. If you have encountered any errors, Then also don't hesitate to contact us.
nano command in resolv.conf is missing
ReplyDelete