Re: How Do I Suppress Console Output in TTY1?
Reply #1 –
Well, that seems to be a bug related to wireless managers which work with NetworkManager, wpa_supplicant in the first place. Actually, it spams messages not to tty1 directly, but to /dev/console. There is a recipe somewhere on the forum, but in a brief. Here how I overcame this issue.
First, install iwd and make NetworkManager use it instead of wpa_supplicant:
/etc/NetworkManager/conf.d/iwd.conf
[device]
wifi.backend=iwd
This feature is described as "experimental", but it works. Then, enable logging for iwd service:
/etc/runit/sv/iwd/log/run
#!/bin/sh
exec svlod -t /var/log/iwd
(Make this file executable, of course)
And then, enable iwd service as usual:
ln -sf /etc/runit/sv/iwd /run/runit/service
NetworkManager enables wpa_supplicant automatically, and you don't need to activate it, but iwd must be activated. With logging is enabled for iwd, no messages appear in /dev/console.