cannot share wifi configuration between interfaces

Bug #1842791 reported by kjonca
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Netplan
New
Undecided
Unassigned

Bug Description

I have configured several wifi networks, (ssids, credentials and so on)
I also have built in wifi interface and sometimes use wifi-usb card.
I do not want copy configuration between interfaces.
I tried to use something based on https://netplan.io/reference#examples
and wrote:
==================================================
  wifis:
    common:
      # useful on a system where you know there is
      # only ever going to be one device
      match: {}
      access-points:
        "my_network1":
          # mode defaults to "infrastructure" (client)
          password: "s3kr1t"
    # this creates an AP on wlp1s0 using hostapd
    # no match rules, thus the ID is the interface name
    wlp1s0:
      dhcp4: yes
=================================================

but netplan generate/netplan apply
gives me error about
networkd cannot use "match" stanza for wifi's. Only name.

How can I share config betwen nics?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.