Score:0

netplan wifi with multiple AP

mk flag

I have two AP and want to connect one of them and use the second as a fallback. But currently, netplan connects to one of them and if it switched off, only manual switch wpa_cli -i wlp2s0 select_network network_id works. Or restart, and the host will connect to the second AP as the first not available at the moment. But when the first AP starts in won't reconnect back automatically.

So, how can I fix the lock on first AP and change AP priorities?

network:
  version: 2
  wifis:
    wlp2s0:
      dhcp4: true
      optional: true
      access-points:
        ap1:
          password: pass1
    wlp2s0:
      dhcp4: no
      dhcp6: no
      addresses: [192.168.43.2/24]
      nameservers:
        addresses: [8.8.8.8, 1.1.1.1, 192.168.43.1]
      optional: true
      access-points:
        ap2:
          password: pass2
waltinator avatar
it flag
Please see `https://netplan.io` and `https://netplan.io/examples`.
QuAzI avatar
mk flag
Nope. In examples I can find how to set eth0 more preferred than Wi-Fi, but not how to change AP's priority on the same interface.
Score:0
us flag

Configure netplan to use the NetworkManager backend, not the default networkd backend which does not have support for this.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.