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 steps for installing Tomcat, MySQL and Redis with Docker

Table of contents Install Tomcat with Docker Use ...

CSS+HTML to realize the top navigation bar function

Implementation of navigation bar, fixed top navig...

How to migrate mysql storage location to a new disk

1. Prepare a new disk and format it with the same...

Implementing Binary Search Tree in JavaScript

The search binary tree implementation in JavaScri...

Some common properties of CSS

CSS background: background:#00ffee; //Set the back...

Examples of correct judgment methods for data types in JS

Table of contents Preface Can typeof correctly de...

VMware workstation 12 install Ubuntu 14.04 (64 bit)

1. Installation Environment Computer model: Lenov...

CSS3 realizes the childhood paper airplane

Today we are going to make origami airplanes (the...

Responsive layout summary (recommended)

Basic knowledge of responsive layout development ...

Example of how to enable Brotli compression algorithm for Nginx

Brotli is a new data format that can provide a co...

How to quickly log in to MySQL database without password under Shell

background When we want to log in to the MySQL da...