I'm trying to configure my orangepi to connect to a wifi hotspot using different wifi adapters.
Configuring a single wifi adapter in my Netplan /etc/netplan/armbian-default.yaml
works smoothly. config below:
network:
version: 2
ethernets:
eth0:
renderer: networkd
dhcp4: no
addresses:
[192.168.1.114/24]
gateway4: 192.168.1.1
nameservers:
addresses: [8.8.8.8, 4.4.4.4]
wifis:
wlx00e1b0101341:
renderer: networkd
access-points:
"wifissid":
password: "wifipass"
dhcp4: no
addresses:
[192.168.43.7/24, 192.168.42.7/24]
My wifi adapters names all start with "wlx" and my goal is to have a wildcard configuration and avoid configuring each one alone. But when I try to add a match parameter to it as below
network:
version: 2
ethernets:
eth0:
renderer: networkd
dhcp4: no
addresses:
[192.168.1.114/24]
gateway4: 192.168.1.1
nameservers:
addresses: [8.8.8.8, 4.4.4.4]
wifis:
match:
name: wlx*
renderer: networkd
access-points:
"wifissid":
password: "wifipass"
dhcp4: no
addresses:
[192.168.43.7/24, 192.168.42.7/24]
I get the below error when using netplan --debug apply
Error in network definition //etc/netplan/armbian-default.yaml line 13 column 6: unknown key name
Any ideas?