Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jun 2024 02:20:48 -0400
From:      Steven Friedrich <freebsdlouisville@gmail.com>
To:        FreeBSD Wireless <freebsd-wireless@freebsd.org>
Subject:   Re: Could not connect to wpa_supplicant: (nil) - re-trying
Message-ID:  <d806b3f6-6062-4f5c-a6c5-7dbe633af203@gmail.com>
In-Reply-To: <2a4a5e4c-5f6b-4dc0-8da1-60a3848862a9@gmail.com>
References:  <2a4a5e4c-5f6b-4dc0-8da1-60a3848862a9@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I figured it out.  You have to declare the control interface in 
/etc/wpa_supplicant.conf at the global scope, i.e., outside of a network 
block.

ctrl_interface=/var/run/wpa_supplicant


On 6/15/24 23:49, Steven Friedrich wrote:
> root@Slimline:~ $ wpa_cli
> wpa_cli v2.10
> Copyright (c) 2004-2022, Jouni Malinen <j@w1.fi> and contributors
>
> This software may be distributed under the terms of the BSD license.
> See README for more details.
>
>
>
> Interactive mode
>
> Could not connect to wpa_supplicant: (nil) - re-trying
>
> Why can't I connect to wpa_supplicant ?
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d806b3f6-6062-4f5c-a6c5-7dbe633af203>