Network in Debian
An article for those who use Debian Linux on desktop.
To configure the network, disable all graphical programs that configure the network. It is much easier to do all this through files and terminal.
First, you need to know what you want to configure. You should have settings from your ISP or your local network. After you take and put the settings in front of you, write ifconfig in the terminal. This command will show the current state of your network equipment and settings. Then before editing our settings, write ifdown eth0 (your network interface name might differ) to shut down the interface.
Then open /etc/network/interfaces in a text editor and edit the configuration for your interface.
After saving the file, bring the interface back up with ifup eth0.
Everything is simple, clear, and without unnecessary GUI tools.