欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

ubuntu server 18.04配置无线网络

程序员文章站 2022-03-04 08:53:20
...

文章目录

sudo apt install wireless-tools
sudo iwconfig
sudo iwlist <yourwirelessdevice> scanning
sudo vi /etc/netplan/01.netcfg.yaml
# /etc/netplan/01.netcfg.yaml
wifis:
  dhcp4: true
  nameservers:
    addresses: [223.5.5.5,8.8.8.8]
  access-points:
    "yourssid":
      password: "yourpassword"
sudo netplan try

参考:
[1]: https://www.itzgeek.com/how-tos/linux/ubuntu-how-tos/netplan-how-to-configure-static-ip-address-in-ubuntu-18-04-using-netplan.html
[2]: https://netplan.io/reference