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

html+css+js to realize the function of photo preview and upload picture

Preface: When we are making web pages, we often n...

How to elegantly implement the mobile login and registration module in vue3

Table of contents Preface Input box component lay...

Vue implements a simple shopping cart example

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

Linux system disk formatting and manually adding swap partition

Windows: Support NTFS, FAT Linux supports file fo...

HTML&CSS&JS compatibility tree (IE, Firefox, Chrome)

What is a tree in web design? Simply put, clicking...

Solution to the gap between divs

When you use HTML div blocks and the middle of th...

XHTML Getting Started Tutorial: What is XHTML?

What is HTML? To put it simply: HTML is used to m...

How to implement https with nginx and openssl

If the server data is not encrypted and authentic...

Docker deploys net5 program to achieve cross-platform functions

Deployment environment: docker container, liunx s...

Detailed explanation of the 14 common HTTP status codes returned by the server

HTTP Status Codes The status code is composed of ...

Tutorial on installing and uninstalling python3 under Centos7

1. Install Python 3 1. Install dependency package...

Share the problem of Ubuntu 19 not being able to install docker source

According to major websites and personal habits, ...