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 ApplicationProgramChoose accessories> 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.
You will be prompted to enter yourConfigure ADSL dial-up Internet accessThe User Name (that is, the account) and password are deleted when the account is entered. All other questions except the password are answered "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 within 120 seconds,Configure ADSL dial-up Internet accessIf the server does not return the echo-reply signal, UBUNTU will think that the network has encountered a problem and the reconnection will be interrupted immediately.
If you use XP dial-upConfigure ADSL dial-up Internet accessIt is normal, but on Ubuntu dial-upConfigure ADSL dial-up Internet accessBut it does not stop disconnection. 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 to go to your modem to disable its DHCP function, please search the Internet based on your modem model ), after DHCP is disabledConfigure ADSL dial-up Internet accessThere is no short line for the dial-up, and after the DHCP function of the modem, you enter the XPConfigure ADSL dial-up Internet accessDialing 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.
The command for network reconnection and disconnection is poff ifConfigure ADSL dial-up Internet accessIf there is still a problem with dialing, you can go to the ubutnu forum to use the search function to find a solution, or go to the Ubuntu wiki or referConfigure ADSL dial-up Internet accessDial guide Henan Netcom dial-up program installation guide if the original XP is the use of star speed access.
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 (assuming you use eth1 to access the Internet)
# 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.
(Original address: http://www.qqread.com/linux/2009/12/t486122.html)