Score:0

Networking without network manager

aw flag

If I were to, for educational purposes, delete network manager on ubuntu 22.04 and try to configure wifi, ethernet, usb tethering and VPNs manually.

What would I need to have installed and how would i set it up?

waltinator avatar
it flag
Look at the network logs with the terminal command: `sudo journalctl -b 0 -u NetworkManager`. Read `man journalctl`. Figure out what Network Manager does, and what the programs it calls do, and figure out how you could do the same. The only thing that you would learn from "for educational purposes, delete `network manager`" is "Don't Do That".
chili555 avatar
cn flag
I think you could do ethernet and wifi pretty easily with netplan.
Filip Vuković avatar
aw flag
I was thinking more along these lines: I will install any package necessary to achieve the same output. I was thinking about wpa_supplicant and dhcpcd but I don't know if that can cover everything on the list
guiverc avatar
cn flag
Ubuntu 22.04 LTS Server does not use *Network Manager* so it's not required; though if you're starting with a Desktop system (*You didn't specify!*) then you're using a system that was configured for it.
Filip Vuković avatar
aw flag
You guys are such a buzzkill . I'm simply asking you the following: if there were no network-manager how would you setup your networking stack on ubuntu
guiverc avatar
cn flag
https://discourse.ubuntu.com/t/configuring-networks/11876 Netplan is the default for Ubuntu Server, with changes in coming Desktop releases too (https://wiki.ubuntu.com/UbuntuWeeklyNewsletter/Issue796#Testing_Netplan.2BIBk-s_Desktop_integration_with_NetworkManager). If you install a Ubuntu 22.04 LTS system that doesn't include *Network Manager*, Netplan.io is what is installed on it - you didn't mention any Ubuntu 22.04 LTS *product* details; just the release (22.04).
Score:0
aw flag

So apparently the answer I was looking for was: wpasupplicant + dhcpcd5

I configured my networking stack using just those two and all of the above worked automatically while network-manager was stopped and disabled.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.