This guide will help you establish ADSL network connection with PPPoE Ethernet modem under Ubuntu 6.06 LTS (Dapper Drake). 1. Introduction Although router networking is common, we sometimes need to connect directly to ADSL (sometimes called DSL) modems using PPPoE. Of course, first of all, you have to pay the money to the network operator of Netcom or Telecom, and connect the line. The "DSL" light on the modem is on, generally indicating that your line is unobstructed. You must have a username and password for the account. Modem and Ethernet card must be connected with a suitable network cable. 2. Configure the PPPoE with the command line to set the modem to use the terminal. Open with the following menu: Applications > Attachments > Terminal. The package used for configuration is called PPPoE. This package is installed by default, but sometimes it may not be in the system when the configuration changes. If the following command does not work, you will have to install the package (see the PPPoE package installation section). Type in the terminal: sudo pppoeconf A text mode selection program will guide you through the following steps: Confirm the detected Ethernet card. Enter your user name. enter password. If you already have a PPPoE connection, you will be asked if you want to modify it. Common options: Do you want to remove 'nodetach' with the 'noauth' and 'defaultroute' options - select "Yes". DNS - Select “Yes”. MSS - Select “Yes”. Ask if you want to start the connection at boot time, most of the time you should select “ is ”. (Annotation: But if your network is often broken, so you have to reconnect frequently, or choose no, then write a script connection is good. Because the automatic connection is high-privilege when booting, "poff" command to use sudo, Inconvenient.) Finally, ask if you want to establish a network connection immediately. (Look at it!) After the setup is completed, the general network can be used. 3. Manually control the network connection To connect to your set ADSL connection, enter: sudo pon dsl-provider in the terminal To disconnect the ADSL connection, enter: sudo poff dsl-provider
in the terminal. Problem If you can't connect, you can try to connect manually (see the previous section). 4.1. PPPoE package installation Check if the PPPoE package is installed. You can enter it in the terminal: dpkg -s pppoeconf If it is installed, you should see the following two lines: Package:pppoeconfStatus:install ok installed If not installed, enter : sudo apt-get install pppoeconf If you want to install on CD and the system can't find the package, you may need to add a CD source. To add a CD as a source, put the CD into the CD-ROM drive and type in the terminal: sudo apt-cdrom add When there is no way, you can download it at http://packages.ubuntu.com/. But at this time you will get another machine to download and copy it. Double-click the package icon in GNOME to install it. 4.2. Problems with startup If you have to re-run pppoeconf after each reboot, you can try the following two methods: Edit /etc/network/interfaces so that 'pppoe maintained' is in 'auto dsl-provider' Front of the line: # added by pppoeconfauto eth0iface eth0 inet manualpre-up /sbin/ifconfig eth0 up # line maintained by pppoeconfauto dsl-provideriface dsl-provider inet pppprovider dsl-provider If not, edit /etc/init.d/bootmisc.sh Before the last line ("exit 0"), add: ifconfig eth0 up pon dsl-provider 4.3. Error log If there is a problem with the connection, you may find useful information in the system log. You can view system log files using a terminal or graphical interface. * To use the graphical interface, from the menus choose: System > System Management > System Log System Log in /var/log/messages. * To use the terminal, type: sudo dmesg
Nginx has been widely used in production environments compared to Apaches high performance and high
ifconfig -a View all NIC information of Linuxifconfig eth0 down Turn off eth0 network cardifconfig e
The process is simply a process of executing a program, it is a dynamic concept. No matter what sys
For the daily use of the Linux system, it is necessary to use the command line to carry out, for ex
30 questions that must be mastered by embedded system Linux kernel development engineers
What is the relationship between Linux and GNU?
Detailed explanation of RPM command parameters in Linux
How to view the sector size in Linux
NetBeans integrated development environment under CentOS
Linux 12 is not known 12 insider
How to set IP and MAC binding on Linux routing
Common svn commands under Linux command line
Naming files with variables in Linux
How to choose screenshot software PrtScrn is simple and convenient
Win10 build 9901 consumer preview version ISO image download
How to quickly lock a computer in win xp
Detecting whether the computer hardware can successfully install the Windows 7 operating system
IE can't download problem solution in Vista system
Win8 tile background how to set
Win10 system can not find WIN + X mobile center how to do? How to get it back?
How to solve the problem of Windows 7 system registry to be disabled by the administrator