missing frequency in wpa_supplicant.conf when in adhoc mode.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
generated configuration for wpa_supplicant is missing "frequency", when in adhoc mode. Instead it always contains "freq_list", no matter in what mode.
here is my configuration for netplan:
network:
version: 2
wifis:
wlan0:
access-
"test":
mode: adhoc
band: 2.4GHz
channel: 7
password: "*******"
the generated configuration for wpa_supplication looks like this:
ctrl_interface=
network={
ssid="edge-test"
freq_list=2442
mode=1
key_mgmt=WPA-PSK
psk="*******"
}
instead of freq_list=2442 it should be frequency=2442.
here is what documentation for wpa_supplication says about frequency:
frequency: Channel frequency in megahertz (MHz) for IBSS, e.g.,
2412 = IEEE 802.11b/g channel 1. This value is used to configure the initial
channel for IBSS (adhoc) networks. It is ignored in the infrastructure mode.
In addition, this value is only used by the station that creates the IBSS. If
an IBSS network with the configured SSID is already present, the frequency of
the network will be used instead of this configured value.
here is my suggestion for a bug fix: /github. com/canonical/ netplan/ pull/363
https:/