Ubuntu 20.04 connects to wifi (2 methods)

Ubuntu 20.04 connects to wifi (2 methods)

I recently installed Ubuntu 20.04 and found that I could not connect to wifi and there was no wifi icon. It seems that there is no driver.

Solution

Method 1

1. Connect the computer with an Ethernet cable first

2. Execute in the terminal

sudo apt update

3. Execute in terminal

sudo apt-get install bcmwl-kernel-source

4. Restart

Method 2

#List your network ip a

There is a YAML configuration file under /etc/netplan/

Modify the configuration file

ubuntu@ubuntu:~$ cat /etc/netplan/50-cloud-init.yaml
 
network:
  ethernets:
    eth0:
      dhcp4: true
      optional: true
  version: 2
  Wifis:
      wlan0:
          dhcp4: true
          access-points:
              "Your wifi's ssid":
                  password: "your password"
netplan try
netplan apply

I restarted it then.

This concludes this article about 2 methods of connecting to wifi in Ubuntu 20.04. For more relevant content about connecting to wifi in Ubuntu 20.04, please search previous articles on 123WORDPRESS.COM or continue to browse the related articles below. I hope you will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • Steps to connect Ubuntu to Android debugging program using WiFi

<<:  Detailed explanation of interface request management based on Typescript and Axios

>>:  The MySQL server is running with the --read-only option so it cannot execute this statement

Recommend

Mini Program to Implement Sieve Lottery

This article example shares the specific code of ...

How to use Vue to develop public account web pages

Table of contents Project Background start Create...

How to install mysql5.7.24 binary version on Centos 7 and how to solve it

MySQL binary installation method Download mysql h...

Solve the conflict between docker and vmware

1. Docker startup problem: Problem Solved: You ne...

Tutorial on installing lamp-php7.0 in Centos7.4 environment

This article describes how to install lamp-php7.0...

Some suggestions for Linux system optimization (kernel optimization)

Disable swap If the server is running a database ...

Detailed explanation of the function and usage of DOCTYPE declaration

1. Browser rendering mode and doctype Some web pa...

Example of how to increase swap in CentOS7 system

Preface Swap is a special file (or partition) loc...

Docker builds python Flask+ nginx+uwsgi container

Install Nginx First pull the centos image docker ...

Implementation of CSS border length control function

In the past, when I needed the border length to b...

Master the CSS property display:flow-root declaration in one article

byzhangxinxu from https://www.zhangxinxu.com/word...