In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the raspberry pie Ubuntu 20.04 terminal how to connect to WiFi, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian take you to understand.
1) use nmtui to connect to the device's WiFi network
Nmtui- Network Manager text user interface-is a command line tool for network configuration of Linux systems. During execution, the graphical text interface is invoked to help users configure the web interface in a simple and efficient manner.
You can also follow these simple steps to connect to the wireless network.
Step 1: start nmtui
To start nmtui, open a terminal and execute the following command.
$sudo nmtui
The graphical interface starts. Select 'Activate a connection' as shown and use the TAB key to select 'OK''.
Step 2: connect to the wireless network
The following interfaces show the available network interfaces and wireless networks. As you can see, there are multiple wireless networks in the range. Select a WiFi network to connect and type enter.
Enter the wireless network password in the pop-up dialog box, and then use the TAB key again to select the OK option.
After successfully connecting to the wireless network, select the "Back" option to return to the main screen of the nmtui interface, and finally select "Quit'."
To test your Internet connection, you can follow these steps to ping Google the DNS in the terminal:
Ping 8.8.8.8-c 4
2) use nmcli to connect to the device's WiFi network
The nmcli command line tool is another utility that can be used to connect to a wireless or WiFi network. Follow these steps to connect to the wireless network of the device.
Step 1: check the WiFi adapter and wireless network name
First, the iwconfig command to display the system wireless interface and check its status
From the output above, you can see that the radio interface has been marked wlan0.. In your case, there may be other situations. You can also see from the output that you are not connected to the wireless network.
To list the wireless interfaces, run only the following command.
$iw dev
You can also use the following command to check if the interface is connected to a wireless device.
$iw interface_name link
In this case, the command will be:
$iw wlan0 link
The output confirms that you are not connected to the wireless network. Proceed to the next step and connect to your WiFi network.
Step 2: connect to WiFi on the device
Before connecting to the WiFi network, it is advisable to run a scan on the device to search for available wireless networks. To do this, run the following command.
$sudo iwlist wlan0 scan | grep-I ESSID
From the output, you can see that you can connect to two wireless networks. Connect to the 'rjsyb' network using the nmcli command:
$sudo nmcli dev wifi connect [essid_name] password [insert your password]
When you run the command, you should see the output to confirm that you have successfully connected to the WiFi network. Then interface the command above iwconfig.
You can also check using the following methods:
$sudo iw wlan0 link
Thank you for reading this article carefully. I hope the article "how to connect the raspberry pie Ubuntu 20.04 terminal to WiFi" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.