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.openswan.org 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.sohu.com Www.sohu.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, 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. From http://linux.chinaunix.net/techdoc/system/2009/04/30/1109668.shtml However, this method causes the wireless Nic to be disabled after the restart. Based on the several situations, the solution is summarized as follows: 1. Use the "Network Manager" that comes with ubuntu9.04 or the wicd tool (it is said that it can solve the problem that no wireless network adapter is not enabled after pppoe is set ). 2. ADSL dial-up tool, using the GTK-pppoe tool gtk-pppoe_0.0.1_i386.deb, after installation needs to change sudo gedit/etc/PPP/peers/DSL-provider. Http://cid-9eb071c4942d8e94.skydrive.live.com/self.aspx/ubuntu/gtk-pppoe%5E_0.0.1%5E_i386.deb Content is Noipdefault Defaultroute Replacedefaultroute Hide-Password Noauth Persist Plugin rp-pppoe.so wlan0 Usepeerdns User "Dialing username" Restart. The software above will be available. In this case, enter sudo gedit/etc/PPP/peers/DSL-provider in the terminal and change eth0 to wlan0 (this is the name of the wireless network card recognized by your system. With the above settings, you can access the Internet without error. Each time you start the software, you can click the connection. You can skip step 1. 3. This step can be used to remedy the problem that the wireless network card cannot be used after pppoe is used. However, if you fail to use pppoe, you can search for the above method. Modify the Network Manager settings of the Ubuntu built-in Network Manager: Open/etc/NetworkManager/nm-system-settings.conf Sudo gedit/etc/NetworkManager/nm-system-settings.conf Modify [Ifupdown] Managed = false; change false to true. In the end, the wireless Nic lights were not on, but they were working. Reposted by multiple parties and added a summary. Here is another article: Ubuntu 9.10 was installed as soon as it was released. It was a little slow to start, but it ran smoothly. The only bug encountered now is the inability to dial ADSL. The simplest two methods are recorded: I. Use the new NetworkManager version Directly reference a concise and clear reply from lainme; Http://forum.ubuntu.org.cn/viewtopic.php? F = 48 & t = 239763 & START = 3 1. Update network-manager from PPA Sudo apt-key adv -- keyserver keyserver.ubuntu.com -- Recv-keys bc8ebfe8 At the end of/etc/APT/sources. List, add Deb http://ppa.launchpad.net/network-manager/trunk/ubuntu karmic main Deb-Src http://ppa.launchpad.net/network-manager/trunk/ubuntu karmic main Sudo aptitude update Sudo aptitude safe-Upgrade 2. Resolve conflicts between pppoeconf and network-manager. Change managed = true in/etc/NetworkManager/nm-system-settings.conf Change/etc/Network/interfaces, retain only Auto Lo Iface lo Inet loopback Delete/etc/resolv. conf Then sudo/etc/init. d/network-manager restart If the Panel does not have the NM icon, ALT + F2 enter the NM-Applet and add auto-start (not added during my installation) 3. Right-click the NM icon, edit the link, switch to DSL, create, and enter the user name and password. Ii. Use the pppoeconf command to dial Enable Wired connection: sudo ifconfig eth0 up Enter sudo pppoeconf in the terminal A text menu-based program will guide you through the following steps: 1. confirm that the ethernet card has been detected. 2. Enter your user name (provided by the ISP). Note: when entering the user name, clear "username" in the input box. Otherwise, verification errors may occur ). 3. enter your password (provided by the ISP ). 4. If you have configured a pppoe connection, you will be notified that the connection will be modified. 5. A pop-up option is displayed: Whether you need the 'noauth' and 'defaultrotu' options and remove 'nodetach '. Here, select "yes ". 6. Use peer DNS-select "yes ". 7. Limited MSS problem-select "yes ". 8. When you are asked whether to automatically connect to the system when you enter the system, you can select "yes ". 9. Finally, you will be asked whether to establish a connection immediately. Start the ADSL connection as needed. You can enter sudo Pon DSL-provider in the terminal. Disconnect ADSL and enter sudo poff in the terminal. If you find that the connection works properly, try to manually adjust the configuration of your ADSL connection (refer to the previous section ). To view the log, enter plog in the terminal. Obtain the interface information. You can enter ifconfig ppp0 in the terminal. After using pppoeconf for dialing, network manager displays the solution that the device is not hosted: Enter the following command in the terminal to configure the network connection management file: Sudo gedit/etc/NetworkManager/nm-system-settings.conf After opening, find [Ifupdown] Managed = false Modify: [Ifupdown] Managed = true Run sudo gedit/etc/Network/interfaces on the terminal Retain only Auto Lo Iface lo Inet loopback Delete DNS settings Sudo mV/etc/resolv. CONF/etc/resolv. conf_backup Then restart the network-Manager Service: Sudo service network-manager restart |