Sunday, December 12, 2010

Linux ADSL dial-up Internet access detailed steps

This guide will help you in Ubuntu6.06LTS (DapperDrake) uses PPPoE Ethernet ADSL modem to establish a network connection.

1. introduction while networking with router is very common, we sometimes need to use PPPoE to connect directly to ADSL (sometimes called DSL) modem. Of course, first you have to pay good money to Netcom what network or telecommunication operator, to line up. Modem, DSL "lights, generally indicates that your line is open. You must have the account user name and password. Between the Modem and the Ethernet card also have appropriate network connecting lines. 2. use the command line to configure PPPoE settings modem to use the Terminal. Open the following menu: applications > accessories > Terminal. Used to configure packages called PPPoE. This package is installed by default, but sometimes a configuration change is not possible in the system. If the command cannot be run, you'll have to install the package (see PPPoE package installation section). In Terminal, type: sudopppoecon a text-mode selector will guide you to the following step: to confirm the detection of the Ethernet card. Enter the user name. Enter the password. If you already have a PPPoE connection that you want to modify. Common options: is not a ' noauth ' and ' defaultroute ' option at the same time remove ' nodetach '-choose "Yes". DNS-choose "Yes". MSS-choose "Yes". Ask you whether or not to initiate a connection when powered on, most of the time to choose "Yes". (Translation: but if your network is often broken that always reconnect, or no, and then write a script attached. Because automatically connect using a high-privilege, "poff commands you want to use sudo, inconvenient. ) And finally asked you to immediately establish a network connection. (Look at the Office!) completed the Setup, General network will be able to use. 3. manual control of the network connection to connect to your ADSL connection set, enter in Terminal: sudopondsl-provider to disconnect ADSL connection, enter in Terminal: sudopoffdsl-provider4. problems if the connection is on, you can try to manually connect (see previous section). 4.1.PPPoE package PPPoE package is installed, check that is not installed, you can enter in Terminal: dpkg-spppoecon if you install it, you should see the following two lines: Package: pppoeconfStatus: installokinstalled if it is not installed, then enter: sudoapt-getinstallpppoecon if you want to use the CD to install the system and can't find the packages, you may need to add the CD source. To add a CD to do source, CD into the CD drive, enter in Terminal: sudoapt-cdromadd is really no way, you can download the http://packages.ubuntu.com/. However at this time you will get the other camera on download, and then copy over. In GNOME, double-click the package icon to install. 4.2. boot if every time you reboot you will have to rerun the pppoeconf, you can try the following two options: Edit the '/etc/network/interfaces pppoemaintained ' lines in ' autodsl-provider ' line: # addedbypppoeconfautoeth0ifaceeth0inetmanualpre-up/sbin/ifconfigeth0up # linemaintainedbypppoeconfautodsl-providerifacedsl-providerinetpppproviderdsl-provider if not, edit the last line/etc/init.d/bootmisc.sh ("exit0"), plus: ifconfigeth0uppondsl-provider4.3. the error log if the connection has a problem, you may be able to find in the system log of useful information. You can use a terminal or graphical interface to view the system log file. * To use graphical interface, you can select in the menu: systems > systems management > system logs the system log in/var/log/messages. * To use the Terminal, enter: sudodmesg

No comments:

Post a Comment