In Linux, pppoe is used with the drcom plug-in for Internet access ......

Source: Internet
Author: User

Introduction to pppoe and drcom plug-in Internet access in Linux

I 've been hanging out on the BBS in the West mail in recent days. I 've accidentally noticed that many people are entangled in the same issue-Linux Internet access. As we all know, it's an annoying thing for Linux systems to access the Internet in the dormitory, although there are methods available on BBS for your reference, many students still cannot connect to the network. I think the methods on BBS are not detailed enough, so here are some methods to better understand: (this method applies to most common Linux distributions such as fedora and untu ......) The Ubuntu release can be skipped to the end. (I am writing a lot of code. I hope you can read it with patience .. Haha)
I. Preparations before going online.
This step is to find DNS (Domain Name resolution ).
For advanced Windows systems, connect to the network, win + R open "run" and "cmd" Open DOS, and input the command --
-"Ipconfig/all": Check what appears. Find a line with the DNS server in the displayed content, and write down the two DNS servers in backup. For details, see:

After the preparation is completed, shut down and go to the Linux system.

2. Networking.

1. Open the Linux system, open the terminal (BASH Shell), and press the su command to obtain the root permission.
2. to connect to the internet in the dormitory, you must install the RP-pppoe kit. You can enter rpm-q rp-pppoe.

check whether the suite is installed on your system. (Note: Most releases should have been installed with the change kit when you install the system. If you have already installed the package, congratulations, and press the pppoe-setup command, press enter and go to step 1. Continue! Some releases may not have the RPM package management suite installed, so this command cannot be used, so follow the steps below)
3. install the RP-pppoe kit. Download the two packages I provided below to your computer and put them in your home directory. (The demo below is carried out in a real virtual machine. I installed fedora 12. The connection process is the same as that of a physical machine. I have already put these two packages in my home directory.) run the CD command to the directory where you placed these two packages. Run the LS command to check whether these two packages exist.


4. Then press tar-zxvf rp-pppoe-3.8.tar.gz (the package name) on the terminal to unzip the package. For example:

5. Then tap into the command CD rp-pppoe-3.8 To Go To The rp-pppoe-3.8 directory, and then tap into the./go patiently wait for the compilation and installation process.


6. The following figure shows that the./go process is complete. Press your Netcom user name at the cursor and press Enter:

7. Next, enter eth0 and press Enter.

8. Then you will see the next screen, and enter no press enter at the cursor.

9. Next, press the cursor to enter the first DNS carriage return we obtained in windows.

10. Here we press the cursor to enter the second DNS carriage return we obtained in windows.

11. enter your Netcom password and press enter in the next screen (Note: The entered password is not displayed)
If the password is accidentally incorrect, you can use the backspace key to clear it and then enter it.

12. The next time you enter your Netcom password, it will not be displayed again.

13. The next step is firewall configuration. There are 0, 1, 2, and 3 levels. 0 indicates that the firewall is disabled. Select it here. I usually enter 0 and press Enter.


14. in this step, our settings are coming to an end, press Y at the cursor and press enter to confirm our configuration. If you want to reconfigure it once, enter N and press enter again from step 1.

15. After you press y and press enter, we will return to the command line Input status, which is still the root permission. After you press the pppoe-start command, press Enter. If connected appears, the connection is successful.


16. Next, go to the directory where we placed the remaining drcom. c file and type
For the GCC-C drcom drcon. C command, see:

17. Next we came to the last step and typed the./drcom (case sensitive) command.

Okay, so far, we have completed this journey. If you still cannot connect to the network, You can reset the pppoe-setup command with the root permission.

If your system is Ubuntu, enter pppoeconf with the root permission and press enter until you press enter (that is, select "yes"). The system will prompt us to enter the username (Netcom account) and password, then press Enter. Here I will not provide the steps and images. It's very easy to go back to the command line interface and start from the above 16th steps.

The next time we open Linux to access the Internet, we will continue to open the terminal to obtain the root permission to execute the pppoe-start command and then go to the directory where the drcom plug-in is located for execution. /If drcom is not unexpected, the image will be the same as that shown in step 1 above.

If the level is limited, you can only write so much. Thank you for your patience to read the other methods or skills in this article. You can only think about it for the time being .....

During the compilation process, this article referred to the "new Internet surfing era for Netcom Linux" provided by Y-element on the Western Mail BBS! Introduction to the release and usage of dr.com for Linux "I used the source file of the drcom plug-in provided by mengxp of xiyou BBS to thank them again ....

Download package:

Drcom

Rp-pppoe-3.8.tar


(Original address:Http://www.xiyoulinux.org/blog? P = 170)

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.