Centos7-32 network configuration problem solution, centos7-32 Solution

Source: Internet
Author: User

Centos7-32 network configuration problem solution, centos7-32 Solution

I just installed centos7 on a very old laptop (lenovo z61t). The system does not seem to have such an old wireless NIC driver, so the new system does not connect to the Internet, but can be connected by a network cable, if it is the network cable of the vro you have set, you do not need to set it too much. Plug in the network cable and click the network card name twice in the area where the network connection is displayed. Generally, the network card name can be automatically connected, however, for pppoe dialing, it would be a little troublesome. (The following command may require administrator privileges or sudo permissions)

First, run the rpm-q rp-pppoe command to check whether the dial-up software is installed. If no version information is displayed, the software is not installed. If no network is installed, you need to install the software in other ways, generally, related software is included in cd during installation.

Insert the disc used for installation into the optical drive and mount/dev/cdrom/mnt. find/mnt-name 'rp-pppoe * 'and find the file path xxxxxxxxxxxx. Then
You can install rpm-ivh/mnt/xxxxxxxxxxxxxx.

Then you can configure the pppoe dial-up connection. Generally, you can use it directly after installation. If the path is not displayed earlier, you can find the setting path in whereis. After setting the path, start setting pppoe-setup.

Enter your Login Name and Enter the account for the dial-up connection,

Enter the Ethernet interface connected to the PPPoE modem
For Solaris, this is likely to be something like/dev/hme0.
For Linux, it will be ethX, where 'x' is a number.

Enter the name of the NIC here. Do not enter the NIC name as needed. Fill in the NIC name after viewing ifconfig. Generally, the first Nic name is

It is best to set the DNS twice. I don't know which DNS is safe to set. I 'd better set it again on Baidu.

Please enter your Password: enter the dialing connection Password

The firewall choices are:
0-NONE: This script will not set any firewall rules. You are responsible
For ensuring the security of your machine. You are STRONGLY
Recommended to use some kind of firewall rules.
1-STANDALONE: Appropriate for a basic stand-alone web-surfing workstation
2-MASQUERADE: Appropriate for a machine acting as an Internet gateway
For a LAN
Choose a type of firewall (0-2 ):
You can set the firewall to 0.

Do you want to start this connection at boot time?
Please enter no or yes (default no ):

Ask if you want to start the instance after it is started. This can be set to start the instance after it is started. Note that when you log on to the vro again, pppoe-stop is required, otherwise, the webpage cannot be accessed even if the connection is successful.

Finally, press enter and pppoe-start.

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.