I just did and it said -40°C… yikes!)
So how does this magical tool work? Well, first you need to make sure NetworkManager is installed on your Kali machine. If not, don’t worry, we gotchu! Just open up a terminal window by pressing Ctrl + Alt + T (or clicking the little tty icon in the top left corner of your screen) and type:
# This script installs NetworkManager on a Kali machine if it is not already installed.
# NetworkManager is a tool used for managing network connections.
# Update the package list and install NetworkManager using apt-get.
sudo apt-get update && sudo apt-get install network-manager
This will download and install NetworkManager, as well as any necessary dependencies. Once that’s done, you can start using it to configure your network settings!
To connect to a WiFi network, just click the little WiFi icon in the top right corner of your screen (it looks like two overlapping rectangles) and select “Connect to hidden Wi-Fi network.” Then enter the name (SSID) of the network you want to join and its password. NetworkManager will take care of the rest!
If you’re using a wired connection, just plug in your Ethernet cable and wait for it to automatically connect. If that doesn’t work, try running this command:
# This command uses sudo to run the NetworkManager command line interface (nmcli) with the "device show" option, which displays information about network devices.
sudo nmcli device show | grep 'ethernet'
# The "|" symbol is a pipe, which takes the output of the previous command and "pipes" it into the next command.
# In this case, the output of "nmcli device show" is being filtered by the "grep" command, which searches for the word "ethernet" in the output.
# The "grep" command is used to search for specific patterns in text.
# In this case, it is searching for the word "ethernet" in the output of "nmcli device show" to find information about Ethernet connections.
# The single quotes around "ethernet" indicate that it is a string, or a sequence of characters, that we want to search for.
# The output of this command will include information about any Ethernet connections that are currently active or available on the device.
This will list all of the ethernet devices on your system (if any) and their current status. If you see “connected” next to one of them, then everything is working as expected!
To configure other network settings like DNS servers or proxy servers, just open up a terminal window and run:
# This script uses the nmcli command to modify network settings for a specific connection.
# It sets the DNS servers to '8.8.8.8' and '8.8.4.4' for the specified connection.
# Use sudo to run the command with root privileges.
sudo nmcli connection modify <connection_name> ipv4.dns '8.8.8.8 8.8.4.4'
# The 'connection modify' command allows us to modify the settings for a specific connection.
# The '<connection_name>' placeholder should be replaced with the name of the connection we want to modify.
# The 'ipv4.dns' option specifies that we want to modify the DNS servers for the connection.
# The '8.8.8.8 8.8.4.4' values are the DNS servers we want to set for the connection.
# Note: This command assumes that the connection already exists and is active.
This will add Google’s DNS servers to your network settings for the specified connection (replace `
# This script adds Google's DNS servers to the network settings for a specified connection
# Replace <connection_name> with the name of the WiFi or wired connection
# This command modifies the specified connection's IPv4 settings
sudo nmcli connection modify <connection_name> ipv4
# This enables the use of a proxy server for the connection
proxy on
# This sets the proxy server address and port
'http://10.0.0.254:3128'
# This command adds the modified connection to the network settings
# and enables the use of the proxy server
sudo nmcli connection modify <connection_name> ipv4.proxy on 'http://10.0.0.254:3128'
This will enable the specified proxy server for your network settings (replace `