1. Check whether the pppoeconf software is installed
$ Dpkg-s pppoeconf
The following instructions have been installed:
{{
Package: pppoeconf
Status: Install OK installed
Priority: Optional
Section: Net
Installed-size: 340
Maintainer: Ubuntu developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: All
Version: 1.19ubuntu1
Depends: whiptail-provider | whiptail, PPP (> = 2.4.2 + 20040428-2) | pppoe (> = 3.0), PPP (> = 2.4.1.uus2-4 ), gettext-base (> = 0.13), sed (> = 3.95)
Recommends: locales
Suggests: xdialog
Description: configures pppoe/ADSL connections
User-friendly tool for initial configuration of a DSL (pppoe) connection.
Original-maintainer: Gregory colpart <reg@debian.org>
}}
2. If no installation is performed, perform the following installation:
$ Sudo apt-Get install pppoeconf
Note: The general system is installed with its own.
3. pppoeconf software settings
$ Sudo pppoeconf
Note: After that, you can enter your username and password in addition to prompting you to enter the user and password. Select Yes for all others.
4. enable broadband connection
$ Sudo Pon DSL-provider
5. Disable broadband connections
$ Sudo poff DSL-provider
You have set it here. You can access the Internet.
Solution:
1. If you only follow the above settings, frequent disconnection may occur. You only need to modify the following file.
$ Sudo Vim/etc/PPP/options
Modify as follows:
{{
LCP-Echo-interval 30
LCP-Echo-failure 4
}}
Change to the following:
{{
LCP-Echo-interval 30
LCP-Echo-failure 20
}}