Re: Small problem with wpa_supplicant
Reply #6 –
Well I guess it means rebuilding wpa_supplicant then:
$ git clone https://gitea.artixlinux.org/packagesW/wpa_supplicant.git
$ cd wpa_supplicant/repos/core-x86_64
$ makepkg -o wpa_supplicant
edit config file that is in PKGBUILD dir, add:
CONFIG_DEBUG_SYSLOG=y
CONFIG_DEBUG_SYSLOG_FACILITY=LOG_DAEMON
redo the sha sum for the PKGBUILD or change it to 'SKIP'
$ sha256sum config
30078f2b9a6469c95ab8633ff33ab72450f7a651277b06ad978a722571154742 config
PKGBUILD:
sha256sums=('fcbdee7b4a64bea8177973299c8c824419c413ec2e3a95db63dd6a5dc3541f17'
'SKIP'
# '23aee0597750ec21b37654b5163e2f577c1204fc33bdfbf7bc2fb470e8a467db')
'30078f2b9a6469c95ab8633ff33ab72450f7a651277b06ad978a722571154742')
$ makepkg -C
$ sudo pacman -U wpa_supplicant-2\:2.9-3-x86_64.pkg.tar.xz
The wpa_supplicant default config is found in src/wpa_supplicant-2.9/wpa_supplicant/defconfig if you wanted to look at what other build options are possible. There is another option that removes all debug output for example.
You could probably skip the makepkg -o / -C 2 stage bit and mod the config and PKGBUILD then run makepkg, but I was looking at the source first.
Running wpa_supplicant in the foreground in a terminal, it still prints to the terminal though, after I remembered to get rid of the earlier /usr/local/bin script. But now you can use -s to log to syslog. I suppose it would be possible to patch wpa_supplicant to be quiet by default, or patch NetworkManager to supply different args. I didn't see any config options to do this in the NM docs, whether that is possible somehow. The Void runit runfile is almost the same, apart from some extra dir checks in the Artix one.
Does it help with the Network Manager case?