[Bug 1814012] Re: netplan type wifis needs a device option

Launchpad Bug Tracker 1814012 at bugs.launchpad.net
Fri Feb 18 15:10:54 UTC 2022


This bug was fixed in the package netplan.io - 0.104-0ubuntu1

---------------
netplan.io (0.104-0ubuntu1) jammy; urgency=medium

  * New upstream release: 0.104
    - Enable 'embedded-switch-mode' setting on SmartNICs
    - Permit multiple patterns for the driver globs in match (LP: #1918421)
    - Improve routing capabilities (LP: #1892272, LP: #1805038)
    - Support additional link offload options for networkd (LP: #1771740)
    - Handle differing 'ip6-privacy' default value for NetworkManager
    - YAML state tracking for DBus API and 'netplan try' (LP: #1943120)
    - Support ConfigureWithoutCarrier ('ignore-carrier') for networkd
    - Cleanup Makefile, install only public headers
    - Netplan 'get' to use the libnetplan parser
    - libnetplan:
      + introduce the notion of NetplanState
      + use an explicit parser context
      + expose coherent generator APIs
      + improve overall error handling
      + consolidation of YAML parsing into the library
    ATTENTION:
    - Restrict the symbol export to a determined public API
      + We dropped some internal symbols from the API that we know have no
        external consumers, see upstream changelog for list of dropped symbols
    Bug fixes:
    - Fix removal of defunct OVS vlan interfaces (LP: #1959147)
    - Make ConfigManager cleanup on destruction (LP: #1959729)
    - Do not write unvalidated YAML from keyfile (LP: #1952967)
    - Disable tmp address generation for real with NetworkManager (LP: #1948027)
    - Ignore empty YAML hints, delete files on 'set network=null' (LP: #1946957)
    - Wait for 'netplan try' to be ready in DBus API (LP: #1949893)
    - Initialize self.state in 'apply' (LP: #1949104)
    - Driver fallback to nl80211 and/or wext for wpa_supplicant (LP: #1814012)
    - Handle missing 'gateway' in keyfile routes, keep 'dns-search' fallback
    - Make it possible to unset a whole devtype subtree (LP: #1942930)
    - Fix memory leaks, dangling pointers & overall cleanup of API data
  * d/t/control: Add explicit wpasupplicant test Depends
  * d/control: Improved glib (v2.70+-) compat
  * d/control: Strict version dependency on libnetplan
  * d/control: Bump standards version to 4.6.0, improve sections
  * Mute false positive lintian warning
  * d/patches/: Drop patches, applied upstream
  * d/p/autopkgtest-fixes: Refresh
  * d/libnetplan0.symbols: Add new symbols for 0.104
  * d/libnetplan0.symbols: Drop (internal) legacy symbols

 -- Lukas Märdian <slyon at ubuntu.com>  Thu, 17 Feb 2022 12:46:23 +0100

** Changed in: netplan.io (Ubuntu)
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netplan.io in Ubuntu.
Matching subscriptions: foundations-bugs
https://bugs.launchpad.net/bugs/1814012

Title:
  netplan type wifis needs a device option

Status in netplan:
  Fix Committed
Status in netplan.io package in Ubuntu:
  Fix Released

Bug description:
  Some wifi adaptors need to use the -Ddrivername argument for
  wpa_supplicant to successfully associate with an AP.

  The netplan yaml spec doesn't currently support an optional driver
  property for the wifis type.

  For instance, here's my 01-netcfg.yaml:

  network:
    version: 2
    renderer: networkd
    ethernets:
      ens32:
        dhcp4: no
        dhcp6: no
        addresses: [192.168.0.222/24]
        gateway4: 192.168.0.1
        nameservers:
          addresses: [8.8.8.8,8.8.4.4]
    wifis:
      wlx4cedfb37602e:
        optional: true
        dhcp4: no
        dhcp6: no
        addresses: [192.168.1.222/24]
        access-points:
          "myssid":
            password: "mywpapsk"

  This isn't currently enough to get the wifi interface to associate.  I
  have to hand-edit:

  /run/systemd/system/multi-user.target.wants/netplan-
  wpa at wlx4cedfb37602e.service

  ..to include the proper driver name.  E.g.:

  [Service]
  Type=simple
  ExecStart=/sbin/wpa_supplicant -c /run/netplan/wpa-%I.conf -i%I -Dnl80211

  Once that edit has been made and systemctl daemon-reload run, the wifi
  interface associates.

  It would be nice if netplan included a..

    driver: "drivername"

  ..option for the yaml file that would add the -Ddrivername to the unit
  file.

To manage notifications about this bug go to:
https://bugs.launchpad.net/netplan/+bug/1814012/+subscriptions




More information about the foundations-bugs mailing list