Disconnected Internet in Linux

You’ve probably heard from other Linux users how useful this operating system is and how much freedom it gives to its users so that the user can do the things in Linux that you dreamed of doing in Windows after you decided that Enter the world of Linux, it’s time to choose one of its Distro, at this point your expectations are very high, so you may be unhappy with what you encounter in Linux, things like disconnected internet outages in Your operating system.

Especially when you are just starting out with the Linux operating system, in this case, until you get used to the general Linux environment, this environment can seem a little scary to you. How to install programs and software and even How to browse your system files can all be quite different between Windows and Linux, and the scariest can be not connecting to the Internet or the disconnected internet.

Linux versions

Linux has many different versions, which depending on the needs of users, their applications can be different from each other, one of the scary things is to choose between its versions, in today’s tutorial we use Ubuntu 18.4 LTS which is By far one of the most common and popular versions of Linux to date, the terminal commands for each version of Linux may be slightly different, so make sure the commands you enter are equivalent to the same commands. To check your Linux version, enter the following command in the terminal:

uname –a

After entering the above command, you will encounter the same text in the terminal:

ubento command

Before looking for a network connection problem from your operating system, it is better to take a look at your modem connections, if you have connected your system via Ethernet cable, it is better to make sure that your cable is safe, also if you use a laptop. Some laptops have physical buttons for turning on and off WiFi, it is better to check them first.

Connect to the Internet

Most of the time, the definitive reason for the Internet is that the WiFi key is off, and as a result, the text No Internet connection is shown to you. On the right top of the screen, click on a down arrow, a small menu will open for you, click on the settings icon.

On the Wifi tab, make sure the WiFi key is on and also the airplane mode is off, Enter the following command in the terminal:

ip link

Now you have the following text:

02ubento command

In the text above, pay attention to the enp0s3 section, in this section the word “LOWER_UP” should be visible to you, it means that you have done well so far, then you should check your IP to make sure that it is set correctly, To do this, enter the following command in the terminal:

ip addr

Your terminal will then put the following text in front of you:

ubento command 03

Similar to the result you should be able to see your IP after the word innet in the picture, if you do not see anything after the word innet, it means that your IP is not set.

Drivers Update

Most of the time the drivers are either not installed properly or not installed at all, or the other drivers are not up to date, if your hardware is working properly, then this problem could be related to your hardware drivers, click on the shell button at the bottom right of the page and type software and updates, then open the software and update program.

Go to Additional Drivers from the top tabs, in this step you need to connect an external device such as your flash drive to the computer to download and install the driver files from your system, or if you have access to a network cable, connect the cable to your computer so that your system can download your files over the Internet. After connecting to the Internet through the network, a list of the results found will be displayed for you. Download the appropriate driver for your system.
If no drivers are displayed for you, it means that there are no Linux drivers for your hardware, in other words, the Linux operating system does not support your equipment, and your internet outage may continue.

But since the Linux operating system is very light and is constantly receiving numerous updates from developers, this will rarely happen, to find out more about your hardware and what chipset you are using. Enter the following command in the terminal:

lspci

After entering this command, the results that are displayed for you are related to all your hardware components, or components that are connected to your system via USB, on this page you should look for your device chipset You can often use your motherboard model instead, to find your system driver just put your motherboard type in Google and the word Linux in front of it to download if there is a driver on websites.After that it done and you have no longer any disconnected internet problem.

Conclusion

Many disconnected internet problems are simply due to the Wi-Fi switch on the operating system being turned off, and sometimes the airplane mode is turned on. Do not forget to update your system drivers, as this is the second most common solution for Linux systems that will surely help you.

1 Comments

  • […] The ecosystem of chips produced by Raspberry company is all open source and users can install any operating system from Linux and other operating systems such as Android of their choice on these chips, by default these chips come with a version Personalized Linux comes by the name Raspbian, which is completely open-source and has a complete package of open source applications. Also, the personalized Raspbian operating system is open for the public to install on their systems. […]

Leave a Reply

Your email address will not be published. Required fields are marked *