Yep, I know, I don’t like talking about windows, but…
One of the main (only?) things I DO like about Windows, is the ipconfig command, and being able to view/change most network stuff from one commandline utility.
Have dabbled a bit, and played with scripts (NOT an expert), to try and create something similar, which I think should be quite possible, but before I go any deeper, does anyone know if there is anything out there that allows viewing/changing network settings as in IP info/DHCP/DNS etc?
Thanks.
@hornetster sure nmcli
or the TUI nmtui
for an ncurses version.
First, ipconfig
does not really allow you to change anything. It can force updating DNS or DHCP and it can set DHCP ID (I am not sure if this is persistent either), but that’s it. There is no universal tool that supports the same operations on Linux.
For viewing the same information as ipconfig
there is no universal tool either. If you are using NetworkManager, nmcli
comes close, but e.g. DNS information that system is using may be different from what is configured in NM (due to extra indirections via netconfig
/recolvconf
or systemd-resolved
). So, the simplest way to view mostly the same info is
ip a
ip r
ip -6 r
cat /etc/resolv.conf
You can also install net-tools-deprecated and get ifconfig which is like ipconfig.
Some of us hate change for the sake of change.
Also Mate desktop looks like windows vista desktop.
My 2 cents
The Name Service Cache Daemon can be used to invalidate cached tables – for example, the cached DNS entries –
# nscd --invalidate=hosts
To view the current cache statistics use –
# nscd --statistics
@dcurtisfra no nscd installed here, AFAIK not a default on Tumbleweed…
It IS installed on my PC.
Don’t recall ever manually installing…