Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the problem that ubuntu has a wired connection but cannot access the Internet?

2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains how to solve the problem that ubuntu has a wired connection but cannot surf the Internet. Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to solve the problem that ubuntu has a wired connection but cannot surf the Internet.

Ubuntu appears to be wired but unable to access the Internet. Execute the following command to solve the problem.

The code is as follows:

Sudo sysctl net.ipv4.conf.default.rp_filter=0

Sudo sysctl net.ipv4.conf.all.rp_filter=0

Sudo sysctl net.ipv4.ip_forward=1

Sudo sysctl net.ipv6.conf.all.forwarding=1

Or append directly to / etc/sysctl.conf

If you encounter a "device unmanaged", the network is generally disabled after the desktop defaults to mobile ip.

Then modify / etc/NetworkManager/NetworkManager.conf and set managed=true,reboot

Sometimes even if the above four items are still unable to connect to the network, then it is caused by managed=true, and then changed to false to connect to the web page.

At this point, I believe you have a deeper understanding of "how to solve the problem that ubuntu has been wired but cannot be connected to the Internet". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue 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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report