Putty connects to VMwareRedHatLinux9

Source: Internet
Author: User
1. access the Internet in Linux: After RedHat9 is installed on the Virtual Machine VMware, the connection network is faulty. DeterminingIPinformationforeth0. .. failed; nolinkpresent. Checkcable? This problem has been fixed for a long time. I always thought that I had not set the correct settings. Finally, I found it was a RedHat bug. Solution: to/etc/sy

1. access the Internet through Linux:

After Red Hat 9 is installed on the Virtual Machine VMware, the network connection problem occurs.

Determining IP information for eth0. .. failed; no link present. Check cable?

This problem has been fixed for a long time, and I always thought it was my own setup,

It was found that it was a RedHat bug. Solution:

To/etc/sysconfig/network-scripts/ifcfg-eth

/Etc/sysconfig/networking/devices/ifcfg-eth

It indicates the ID number of the Ethernet adapter, which is generally 0.

When it is zero,

It's/etc/sysconfig/network-scripts/ifcfg-eth0

/Etc/sysconfig/networking/devices/ifcfg-eth0

Add check_link_down () {return 1;} to the two files ;}

In addition, if the/etc/sysconfig/networking/profiles/default/ifcfg-eth0 file exists,

You can also add this item in it and then restart the system.

If not, manually configure the DNS, such as the primary DNS: 192.168.1.1.

Ii. Configure ifconfig

If you select NAT for network connection, find the VMware8 ip segment in windows and set the Linux ip segment to the same network segment.

Command: ifconfig eth0 192.168.1.21 netmask 255.255.255.0 up

3. Disable the Firewall

Chkconfig iptables off disable firewall restart.

Related Article

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.