0

Setting up a hotspot on Ubuntu 20.04 via NetworkManager with below commands:

# nmcli dev wifi hotspot ifname wlp2s0 ssid ap-ssid password mypassword
# nmcli con show Hotspot | grep wps
802-11-wireless-security.wps-method:    0x0 (default)
# 
# nmcli con modify Hotspot 802-11-wireless-security.wps-method 1
# 
# nmcli con down Hotspot; nmcli con up Hotspot
# nmcli con show Hotspot | grep wps
802-11-wireless-security.wps-method:    0x1 (disabled)

When my windows 10 laptop tries to connect to the AP, system still prompt to input the pin code.

According to 802-11-wireless-security reference:

"wps-method - Flags indicating which mode of WPS is to be used if any. There's little point in changing the default setting as NetworkManager will automatically determine whether it's feasible to start WPS enrollment from the Access Point capabilities. WPS can be disabled by setting this property to a value of 1."

Is there a way to disable the WPS and keep the WPA-PSK only? Or how can I change Access Point capabilities?

sleepy
  • 147
  • 1
  • 2
  • 9
  • There is a merge request addressing this in gitlab https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/756 . Not clear to me in which NM version it landed. – eudoxos Dec 16 '22 at 13:10

0 Answers0