Article 5DHQ6 Wifi doesn't work on Ubuntu server 20.04

Wifi doesn't work on Ubuntu server 20.04

by
MilkTea
from LinuxQuestions.org on (#5DHQ6)
I am trying to enable my wifi on a ubuntu server 20.04. My current /etc/netplan/00-installer-config.yaml looks like below.
Code:# This is the network config written by 'subiquity'
network:
ethernets:
enp3s0:
dhcp4: true
optional: true
version: 2
wifis:
wlx984827af4e82:
dhcp4: false
optional: true
addresses: [192.168.1.10/24]
gateway4: 192.168.103.1
nameservers:
addresses: [192.168.1.1]
access-points:
"my-ssd":
password: "my-wifi-password"I tried Quote:
netplan apply
and got
Quote:
Warning: The unit file, source configuration file or drop-ins of netplan-wpa-wlx984827af4e82.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Warning: The unit file, source configuration file or drop-ins of netplan-wpa-wlx984827af4e82.service changed on disk. Run 'systemctl daemon-reload' to reload units.
but wifi was still down.
Tried Quote:
systemctl daemon-reload
did not help either.

In addition, even though the "optional" is set to true for both network interfaces, it still takes more than 2 minutes in the systemd-networkd-wait-online.service.
Quote:
2min 110ms systemd-networkd-wait-online.service
Ethernet works fine.

How can I enable wifi and how to prevent slow boot if either ethernet or wifi does not present. Thanks.latest?d=yIl2AUoC8zA latest?i=DWEeYD7znz0:uiPds3an3uA:F7zBnMy latest?i=DWEeYD7znz0:uiPds3an3uA:V_sGLiP latest?d=qj6IDK7rITs latest?i=DWEeYD7znz0:uiPds3an3uA:gIN9vFwDWEeYD7znz0
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments