Linux Lite Forums

Hardware - Support => Network => Topic started by: kpanic on August 17, 2018, 02:15:03 PM

Title: How complicated can it be? (Wi-Fi)
Post by: kpanic on August 17, 2018, 02:15:03 PM
Hi,

I was looking for the services, which start when the boot process reaches the
graphical target and found this:

Code: [Select]
systemctl list-unit-files --state=enabled
And the output looks like this, when sorted by directly network related services:

Code: [Select]
dbus-fi.w1.wpa_supplicant1.service         enabled  1
wpa_supplicant.service                     enabled  1
dbus-org.freedesktop.network1.service      enabled  2
systemd-networkd.service                   enabled  2
dbus-org.freedesktop.resolve1.service      enabled  3
systemd-resolved.service                   enabled  3
dbus-org.freedesktop.nm-dispatcher.service enabled  4
NetworkManager-dispatcher.service          enabled  4
network-manager.service                    enabled  SL
NetworkManager.service                     enabled  SL
networkd-dispatcher.service                enabled
resolvconf-pull-resolved.path              enabled
resolvconf.service                         enabled
networking.service                         enabled
NetworkManager-wait-online.service         enabled
systemd-networkd-wait-online.service       enabled
apport-forward.socket                      enabled
systemd-networkd.socket                    enabled
pppd-dns.service                           enabled
dns-clean.service                          enabled

....

I mean, how hard can it be to setup one wlan interface?
Years ago there was one init script under /etc/init.d which configured the
interface and that was it. But now we have this mess of mumbo-jumbo that
I don't understand.

Can someone check if this configuration has "some" overhead in it, please?
I use a laptop and my intention is just to get my wlan interface configured via dhcp.
Do I really need all of these units and services?

I added a number after those services which are related dbus <--> systemd
The "SL" means that the other is a symlink to the other one.

Thank you in advance!
Title: Re: How complicated can it be? (Wi-Fi)
Post by: trinidad on August 18, 2018, 12:47:50 PM
Checked my LL builder* for fun, (*the one I work on applicaitons within, has all kinds of goodies, github, getty, ruby rails, npm, direct server networks, etc.) 29 different network services running after login. Still boots in about 40 seconds. 70 related services and about 20 more listings. Yours looks lean and clean.

TC
Title: Re: How complicated can it be? (Wi-Fi)
Post by: kpanic on August 20, 2018, 05:56:03 PM
Checked my LL builder* for fun, (*the one I work on applicaitons within, has all kinds of goodies, github, getty, ruby rails, npm, direct server networks, etc.) 29 different network services running after login. Still boots in about 40 seconds. 70 related services and about 20 more listings. Yours looks lean and clean.

TC

@trinidad , I only tried to list those ones which "configure" the interface, the rest of those services run on top of the network stuff.
But man, you have a lot of stuff going on there...