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 how to create MySql scheduled tasks in navicat

Detailed explanation of creating MySql scheduled ...

Tutorial on installing JDK Tomcat MySQL on Linux (remote access using Mac)

One environment Alibaba Cloud Server: CentOS 7.4 ...

Detailed tutorial for downloading and installing mysql8.0.21

Official website address: https://www.mysql.com/ ...

In-depth explanation of JavaScript this keyword

Table of contents 1. Introduction 2. Understand t...

Mini Program implements list countdown function

This article example shares the specific code for...

Analysis of the difference between Mysql InnoDB and MyISAM

MySQL supports many types of tables (i.e. storage...

How to adjust the log level of nginx in Docker

Table of contents Intro Nginx Dockerfile New conf...

Use scripts to package and upload Docker images with one click

The author has been working on a micro-frontend p...

my.cnf (my.ini) important parameter optimization configuration instructions

MyISAM storage engine The MyISAM storage engine i...

Summary and analysis of commonly used Docker commands and examples

Table of contents 1. Container lifecycle manageme...

Summary of MySQL time statistics methods

When doing database statistics, you often need to...

AsyncHooks asynchronous life cycle in Node8

Async Hooks is a new feature of Node8. It provide...

Exploring the practical value of the CSS property *-gradient

Let me first introduce an interesting property - ...