系统相关
首页 > 系统相关> > ubuntu20.04无线配置方案

ubuntu20.04无线配置方案

作者:互联网

1. 参照 ubuntu18.04.3,配置netplan相关yaml

network:
 ethernets:
  enp2s0:
  dhcp4: true
 wifis:
  wlp8s0:
  dhcp4: true
  access-points:
   "<ssid>":
   password: "<passowrd>"
version: 2

2. 先连接有线网络,安装无线网络配置工具

sudo apt install net-tools wireless-tools network-manager
3. 连接WiFi

nmcli dev wifi connect <ssid> password <password>
4. 开启常用端口,避免被防火墙拦截

sudo ufw allow ssh
sudo ufw allow http
sudo ufw allow https

标签:ubuntu20.04,sudo,network,dhcp4,配置,allow,tools,无线,ufw
来源: https://www.cnblogs.com/coolguo/p/15647942.html