Resolution of RedHat9.0Linux Internet access problems

Source: Internet
Author: User
A few days ago, the RedHat9.0Linux system was installed, and it was unable to access the network. after suffering for a few days, I found the answer in a friend's article on the Internet when I was desperate. it is a system BUG. I don't know if it is true, but it is quite comfortable to solve the problem. list them and share them with you. enter the system directory/etc/sysconfig/networking/devices/find the ifcfg-eth () file. In the editing status, add the following code check_link_down () to install Red Hat 9.0 Linux system a few days ago, unable to access the network. after suffering for a few days, I found the answer in a friend's article on the Internet when I was desperate. it is a system BUG. I don't know if it is true, but it is quite comfortable to solve the problem. list them and share them with you.

Enter the system directory/etc/sysconfig/networking/devices/find the file ifcfg-eth () and add the following code in the editing status.

Check_link_down ()
{
Return 1;
}

Enter the system directory/etc/sysconfig/network-scripts/find the file ifcfg-eth () and add the following code in the editing status.

Check_link_down ()
{
Return 1;
}

Where Indicates the ID number of the Ethernet adapter, which is generally 0. When it is zero

Ifcfg-eth ()

Restart the system. If there is no error, it can be solved.

If the restart still fails, perform the following operations:

1. Select DHCP for the netconfig command
2. service network start
3. Activate the NIC

Good luck.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.