ADSL dial-up Internet access and DNS settings in Ubuntu7.04

Source: Internet
Author: User
I am studying linux in my spare time at home, and it feels great to use Ubuntu7.04, but it is indeed a bit expensive to use the ADSL Internet and DNS settings of China Telecom. Next I will talk about my experiences. I will share with you 1. ADSL dial-up using ADSL to access the Internet under ubuntu first, you need to use pppoeconf to set the user name and password. (See ubuntu help) 1. confirm that your Ethernet card has been detected. 2. Enter your user name. 3. enter your password. 4. If you have configured a PPPoE connection

I am studying linux in my spare time at home, and it feels great to use Ubuntu7.04, but it is indeed a bit expensive to use the ADSL Internet and DNS settings of China Telecom. Let's talk about my experiences and discuss them with you.

1. ADSL
To use ADSL to dial up the Internet in ubuntu, you must first use pppoeconf to set the user name and password. (See ubuntu help)

1. confirm that your Ethernet card has been detected.
2. Enter your user name.
3. enter your password.
4. If you have configured a PPPoE connection, you will be asked if you need to change its settings.
5. Common options: you are asked if you want the "noauth" and "defaultroute" Options and remove "nodetach"-select "Yes.
6. Use peer DNS-select Yes.
7. Limited MSS problem-select Yes.
8. When you are asked whether to connect at startup, you usually want to select "yes ".
9. Finally, you will be asked if you want to establish a connection immediately.

Once you have completed these steps, your connection will be available.

If you want to start your ADSL connection immediately, enter:

Sudo pon dsl-provider

To interrupt your ADSL connection, enter:

Sudo poff dsl-provider

2. dns settings
During dial-up Internet access, it is often found that some websites cannot log on, such as www.linuxidc.com and www.kernel.org.

Enter: # nslookup in the command line
> Server
Default server: 202.102.192.68
Address: 202.102.192.68 #53
Default server: 202.102.199.68
Address: 202.102.199.68 #53

You can find the dns you are using. You can also enter some URLs to see if they can be parsed.
> Www.linuxidc.com

Www.linuxidc.com canonical name = d7.a.sohu.com.
D7.a.sohu.com canonical name = cachesh1.a.sohu.com.
Name: cachesh1.a.sohu.com
Address: 61.152.234.80
Name: cachesh1.a.sohu.com
Address: 61.152.234.81
Name: cachesh1.a.sohu.com
Address: 61.152.234.82
Name: cachesh1.a.sohu.com
Address: 61.152.234.84
Name: cachesh1.a.sohu.com
Address: 61.152.234.85
Name: cachesh1.a.sohu.com
Address: 61.152.234.86

But Input
> Www.kerner.org
Server: 202.102.192.68
Address: 202.102.192.68 #53

Non-authoritative answer:
* ** Can't find www.kernel.org: No answer
After some pain, you must first modify the/etc/ppp/pper/dsl-provider file and release the usepeerdns item. This annotation does not require the dns in/etc/resolve. conf automatically set by ubuntu. I am in Hefei, Anhui province, and ubuntu gives me the default dns.

As follows:
Nameserver 202.102.192.68
Nameserver 202.102.199.68
Then I came to the Internet to find an open-source DNS

As follows:
Nameserver 208.67.222.222
Nameserver 208.67.220.220
No worries about accessing the Internet.

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.