When I run sudo wpa_supplicant -Dwext -iwlan3 -cwifi.conf 2>&1
I get:
Successfully initialized wpa_supplicant
ioctl[SIOCSIWAP]: Operation not permitted
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
wlan3: Trying to associate with 9c:3d:cf:fb:95:96 (SSID='Bell514' freq=2462 MHz)
wlan3: Association request to the driver failed
wlan3: Associated with 9c:3d:cf:fb:95:96
wlan3: Authentication with 9c:3d:cf:fb:95:96 timed out.
Yet when I run:
sudo wpa_supplicant -Dwext -iwlan3 -cwifi.conf 2>&1 | grep --line-buffered wlan3
I only get:
ioctl[SIOCSIWAP]: Operation not permitted
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
Am I not redirecting the stderr
properly?
sudo stdbuf -o0 wpa_supplicant... | grep...
to see if that makes a difference. – Stéphane Chazelas Nov 23 '17 at 19:48wifi.conf
file so that other users can easily reproduce your output. – igal Nov 23 '17 at 20:08