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

Detailed explanation of JQuery selector

Table of contents Basic selectors: Level selector...

MySQL password modification example detailed explanation

MySQL password modification example detailed expl...

MySQL 4 methods to import data

1. Import mysql command The mysql command import ...

VScode Remote SSH remote editing and debugging code

The latest Insider version of Visual Studio Code ...

Detailed explanation of the principle of Vue monitoring data

Table of contents 1. Introduction II. Monitoring ...

HTML simple shopping quantity applet

This article shares a simple HTML shopping quanti...

Detailed instructions for installing mysql5.7 database under centos7.2

The mysql on the server is installed with version...

Vue achieves seamless carousel effect

This article shares the specific code of Vue to a...

MySQL 5.7.17 Compressed Version Installation Notes

This article shares the installation steps of MyS...

How to solve the mysql error 1033 Incorrect information in file: 'xxx.frm'

Problem Description 1. Database of the collection...

Centos7 startup process and Nginx startup configuration in Systemd

Centos7 startup process: 1.post(Power-On-Self-Tes...

Example of how to use CSS3 to layout elements around a center point

This article introduces an example of how CSS3 ca...