Open the Terminal, type nmcli device and press Enter.

Wireless adapter was not recognized \ http://cz.archive.ubuntu.com/ubuntu

Make sure that working device drivers are installed / ndiswrapper


sudo lshw -C network


sudo apt remove broadcom-sta-dkms bcmwl-kernel-source


sudo apt install firmware-b43-installer

https://packages.ubuntu.com/bionic/all/firmware-b43-installer/download


We will proceed through the following steps to get your computer connected to the internet:

  • Performing an initial check

  • Gathering information about your hardware

  • Checking your hardware

  • Attempting to create a connection to your wireless router

  • Performing a check of your modem and router


Installing Realtek wifi driver in ubuntu (any version)

  1. sudo apt-get install linux-headers-generic build-essential git.

  2. cd rtlwifi_new.

  3. make.

  4. sudo make install.

  5. sudo modprobe rtl8723be.



lspci a

connect to wifi

If you have a wireless-enabled computer, you can connect to a wireless network that is within range to get access to the internet, view shared files on the network, and so on.

  1. Open the system menu from the right side of the top bar.

  2. Select Wi-Fi Not Connected. The Wi-Fi section of the menu will expand.

  3. Click Select Network.

  4. Click the name of the network you want, then click Connect.

    If the name of the network is not in the list, try clicking More to see if the network is further down the list. If you still do not see the network, you may be out of range, or the network
    might be hidden.

  5. If the network is protected by a password (encryption key), enter the password when prompted and click Connect.

    If you do not know the key, it may be written on the underside of the wireless router or base station, or in its instruction manual, or you may have to ask the person who administers the wireless network.

  6. The network icon will change appearance as the computer attempts to connect to the network.

  7. If the connection is successful, the icon will change to a dot with several curved bars above it (). More bars indicate a stronger connection to the network. Fewer bars mean the connection is weaker and might not be very reliable.

If the connection is not successful, you may be asked for your password again or it might just tell you that the connection has been disconnected. There are a number of things that could have caused this to happen. You could have entered the wrong password, the wireless signal could be too weak, or your computer’s wireless card might have a problem, for example. See Wireless network troubleshooter for more help.

A stronger connection to a wireless network does not necessarily mean that you have a faster internet connection, or that you will have faster download speeds. The wireless connection connects your computer to the device which provides the internet connection (like a router or modem), but the two connections are actually different, and so will run at different speeds.



ndsi wrapper / download

https://linuxconfig.org/


Ubuntu 20.04: Connect to WiFi from command line with Netplan step by step instructions

  • First step is to identify the name of your wireless network interface. To do so execute:

$ ls /sys/class/net

enp0s25 lo wlp3s0


  • Depending on your Ubuntu 20.04 system the wireless network interface name would be something like: wlan0 or like in this case it is wlp3s0.

  • Next, navigate to the /etc/netplan directory and locate the appropriate Netplan configuration files. The configuration file might have a name such as 01-network-manager-all.yaml or 50-cloud-init.yaml.

  • $ ls /etc/netplan/


To manually set your network settings:

  1. Open the Activities overview and start typing Settings.

  2. Click on Settings.

  3. If you plug in to the network with a cable, click Network. Otherwise click Wi-Fi.

    Make sure that your wireless card is turned on or a network cable is plugged in.

  4. Click the button.

For a Wi-Fi connection, the button will be located next to the active network.

Select the IPv4 or IPv6 tab and change the Method to Manual.

Type in the IP Address and Gateway, as well as the appropriate Netmask.

In the DNS section, switch the Automatic switch to off. Enter the IP address of a DNS server you want to use. Enter additional DNS server addresses using the + button.

In the Routes section, switch the Automatic switch to off. Enter the Address, Netmask, Gateway and Metric for a route you want to use. Enter additional routes using the + button.

Click Apply. If you are not connected to the network, open the system menu from the right side of the top bar and connect. Test the network settings by trying to visit a website or look at shared files on the network, for example.