canonical / openthread-border-router-snap

BSD 3-Clause "New" or "Revised" License
8 stars 2 forks source link

Changing the default `wpan0` Thread interface name #17

Open farshidtz opened 1 year ago

farshidtz commented 1 year ago

The interface name is hardcoded to wpan0 in the upstream otbr-firewall code as well as the DBus interface name in snapcraft.yaml.

Since https://github.com/canonical/openthread-border-router-snap/pull/12, the snap rejects modification of the thread-if configuration option.

Modifying the interface name is currently possible by changing:

  1. the default value in upstream code sourced inside the snap
  2. the DBus policy name
  3. the defaults set in snap's install and configure hooks