Re: how to disable WiFi / wpa-supplicant so hostapd can be used ?



If I do :
  # nmcli radio wifi off
, it disassociates the PHY for the device and I have to
  'rfkill $id unblock' .
  If I reenable wireless, and  do
  # systemctl stop wpa_supplicant
  # mv /usr/sbin/wpa_supplicant /usr/sbin/wpa_supplicant.bin
 after starting NM, then I can run hostapd .
I have to remember to move wpa_supplicant back after I stop
using hostapd .
Please add support for enabling either hostapd or wpa_supplicant,
not both, to NM = or is there some way of disabling running the
wpa_supplicant service only, without rfkill ?


On 20/07/2021, Jason Vas Dias <jason vas dias gmail com> wrote:

Good day -

 Whenever I try to run hostapd, NM still runs wpa-supplicant,
 which periodically tries to put the WiFi interface into scanning
 mode, which messes up the hostapd session .

 Please is there a config file setting or applet interaction
 to disable wpa-supplicant (and maybe configure & run hostapd) ?

 I'd like NM to start dhclient on my Wired interface, and
 be able to bring up my L2TP VPN, but leave the Wireless
 interface entirely alone.

 Any way to do this in NetworkManager.conf or GUI ?

Thanks in advance for any replies,
Best Regards,
Jason



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]