2 ms·
Tangentially related question: Does anybody have a good overview resource how to configure networking in a linux system (exluding graphical tools)? I know ther
by atoav 3y ago
Tangentially related question: Does anybody have a good overview resource how to configure networking in a linux system (exluding graphical tools)?
I know there are multiple ways to do similar things and settings are somewhat scattered into different files, but this is why I wondered if there is some kind of overview that I could use as a starting point.
- shmerl 3y agonmcli is relatively high level (NetworkManager CLI tool).
- cassianoleal 3y agonmtui is also great if an interactive UI is preferred.
- hiAndrewQuinn 3y agoNetworking for System Administrators is often my recommendation for this. The author walks all the way up the stack from the physical layer up and name-drops every program and file he uses: `ethtool`, `/etc/hosts`, `/etc/resolv.conf`, `ipconfig`, `netcat`, `tcpdump` ... I quite liked the accessible style, and got a lot out of making Anki flashcards for all of them.
- dotancohen 3y agoHi! If you don't mind, I would love to see that Anki deck. I'm a heavy Anki user myself, too. My gmail username is the same as my HN username. Thank you!
- hiAndrewQuinn 3y agoExcellent, I'll email you later on tonight. It'll be a good excuse to give the cards a once-over for formatting, etc and make sure they're all up to snuff!
- dotancohen 3y agoThank you!
- shmerl 3y agoipconfig is deprecated. Replacement is ip.
- jamesear 3y agoThe "different files" you refer to are likely just different distros ways of configuring scripts that use netlink/ip. Each distro will do something differ, or use something like systemd-networkd/networkmanager. There's no one way. netlink is the API, and `ip` is the canonical CLI tool for interacting with the tool.
- lordnacho 3y agoI found that nothing made sense until I learned the basics, which I did by buying the CCNA books. They start at a very low level, explaining things like what an IP address is, what a network mask does, and so on. After you know that sort of thing, all the things built on top make a lot more sense.
- betaby 3y agoThis is the best, seriously https://wiki.archlinux.org/title/systemd-networkd https://wiki.archlinux.org/title/systemd-networkd and it's not specific to Arch, since systemd is in 99% of distros nowadays.
- MatthiasPortzel 3y agoThat only covers systemd-networkd. It doesn’t cover wireless and it doesn’t apply to people not using systemd-networkd.