You are not logged in.

#1 2020-09-13 12:36:02

MS1
Member
Registered: 2018-02-02
Posts: 84

wpa_supplicant messages spamming journal

I make my home Wi-Fi transmitter shut down overnight to keep the kids off their phones. The NAS I use has 1000s of lines spamming the journal because it tries to connect. They look like "wpa_supplicant[3125]: wlan0: Failed to initiate sched scan." It tries every 8 seconds.  I want to know how I can silence them.

My network is setup is from the wiki, https://wiki.archlinux.org/index.php/Sy … me_machine and I use the wpa_supplicant@.service

Offline

#2 2020-09-13 12:50:35

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: wpa_supplicant messages spamming journal

man wpa_supplicant wrote:

-q     Decrease debugging verbosity (-qq even less).

Alternatively you could see about having the service log to /dev/null but that would be more extreme.  Try a dropin with the -qq option.

Last edited by graysky (2020-09-13 12:51:11)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2020-09-13 13:02:53

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,449
Website

Re: wpa_supplicant messages spamming journal

Given that the wifi shuts down (and presumably starts back up) at defined times, just run timer services to shut down and start up wpa_supplicant at the same time.

Even if you silence the ouput, it seems wasteful to be looking for a wireless network every 8 seconds if it's known ahead of time that it will not be available for ~8 hours.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB