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

What if the Linux system cannot surf the Internet?

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Xiaobian to share with you Linux system can not access the Internet how to do, I believe most people do not know how, so share this article for everyone's reference, I hope you read this article after a great harvest, let's go to understand it!

1.Linux system iso image file is best not to use the lived version, before installing this version of the linux system, every time a new folder, downloaded resources can not be used after restarting, later download

That's it.

2. However, downloading this version has a problem. Use the ifconfig command to check the ip address of the system. At first, the following situation appears. There is no ipv4 address, as shown below.

3. If there is no ipv4 address, use the command, preferably select linux connection as bridge connection

Right click centos64 bit click settings, appear as follows

If it is not a bridge connection, click Network Adapter to select it.

The arrow must be set like this.

,dhclient eth0, after this command, restart the network service network restart, otherwise the virtual machine will not be able to obtain the ip address after restarting.

Then use the ifconfig command again to see the ip address.

If you need to use xftp to connect to linux system, then use ping linux server ip address in local dos, if ping ip address returns result, then you can connect, then use tenlet command in linux

telnet linux ip address port (port number 22), if this command does not appear, you need to use yum -y install telnet to create telnet command. Use telnet linux ip address port again, if return result, OK.

Use telnet linux ip address port in local dos, if it doesn't return results, run service sshd start in linux to open port 22. At this point you can use xsfp to connect to linux systems.

The above is "Linux system can not access the Internet how to do" all the content of this article, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!

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