In-depth description of configuring ADSL dial-up Internet access: ubuntu application instance

Source: Internet
Author: User

In-depth introduction to configuring ADSL dial-up Internet access: an ubuntu application instance is used to introduce the configuration of ADSL dial-up Internet access settings. It does not matter if many people do not know how to configure ADSL dial-up Internet access settings, after reading this article, you must have gained a lot. I hope this article will teach you more things.

Open the application menu, and select attachment-terminal. In the terminal window that appears, enter sudo pppoeconf and press Enter. Then you will be prompted to enter the password of the current Ubuntu administrator user, and then press Enter. Ask your network device, which is usually used for detection, and then always choose yes.

Then, you will be prompted to enter your configured ADSL dial-up Internet user Name (account) and password, and delete the original user when entering the account, all other questions except passwords can be answered with "Yes" Yes. the system will prompt you whether to enable automatic dial-up. If you select Y, you will be able to access the Internet without any prompt by default. If N is selected, enter the terminal to manually enter the pon dsl-provider dialing command.

Enter sudo gedit/etc/ppp/options on the terminal and change lcp-echo-failure 4 in the pop-up document to lcp-echo-failure 40. This is because Ubutnu's default settings have obvious defects, lcp-echofailure is set to 4, and lcp-echo-interval is set to 30 seconds. That is to say, if no echo-reply signal is returned when the ADSL dial-up Internet access server is configured within 120 seconds, Ubuntu will think that the network is faulty and the reconnection will be interrupted immediately.

If you use XP dial-up to configure ADSL dial-up to access the Internet, but configure ADSL dial-up on Ubuntu dial-up to access the Internet without interruption, it may be a DHCP problem. This problem may be that your MODEM automatically gives you, some MODEM can automatically dial up, such as my MODEM big Asia DB102-C.

You can enter 192.168.1.1 in the browser to check whether your MODEM has the routing function and enable automatic dialing. If an interface pops up after you enter the user name and password, this indicates that your MODEM has the routing function. Of course, you can directly check your MODEM model and function on the Internet.

If so, you can go to your MODEM to disable its own DHCP function. How can you go to your MODEM to disable its DHCP function? Please search the Internet based on your MODEM model ), after DHCP is disabled, I configured the ADSL dial-up for Internet access in Ubuntu, and there was no short line. After configuring the DHCP function of MODEM, if you enter XP and configure ADSL dial-up for Internet dialing, it will be slow, so you need to set the local connection so that it is OK.

On the official Ubutnu forum, you can set a fixed IP address for your eth, such as 10.0.0.1 or 192.168.0.1. If your MODEM can dial up the Internet, you don't need to set PPPOE In Ubuntu. You just need to set up your Nic and direct the gateway to it.

Make the network reconnection and disconnection command poff. If there is still a problem with configuring ADSL dial-up and Internet dialing, you can go to the Ubutnu forum to find a solution using the search function, alternatively, you can go to Ubuntu WIKI or refer to the configuration ADSL dial-up online dialing guide Henan Netcom dialing program installation guide if the original XP is to use the star sky to speed up the Internet.

You can refer to Ubuntu Linux and Windows to completely crack the starry sky quickly. If you are a campus network user, refer to Huawei 802.1x authentication for Internet access-5.18 other common network configuration gui. Sometimes the network configuration cannot take effect, you can use the command line to configure the IP command line as follows: sudo gedit/etc/network/interfaces DHCP.

The DHCP configuration is as follows)
# The primary network interface-use DHCP to find our address
Auto eth1
Iface eth1 inet dhcp // specify as dhcp

Then restart
Sudo/etc/init. d/networking restart
Static IP

The static IP address is configured as follows (assuming you use eth1 to access the Internet)
# The primary network interface
Auto eth1
Iface eth1 inet static // specify as static
Address 192.168.3.90 // ip address
Gateway 192.168.3.1 // gateway
Netmask 255.255.255.0 // Subnet Mask

Also need to restart
Sudo/etc/init. d/networking restart
DNS

Configure DNS if necessary
Sudo gedit/etc/resolv. conf
Nameserver 192.168.3.2.

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.