ubuntu下宽带连接

来源:互联网 发布:java定时执行任务 编辑:程序博客网 时间:2024/04/29 10:08
<html>
<body>
<h4>
1.检测pppoeconf
</h4>
 dpkg -s pppoeconf </br>
出现下面信息说明已经安装(一般都是安装了的)</br>
<pre>
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>
</pre>
<h4>
2.如果没有安装就进行安装
</h4>
 $ sudo app-get install pppoeconf
<h4>
3.pppoeconf设置
</h4>
 $ sudo pppoeconf </br>
注:之后的操作就是除提示输入用户也密码时输入你的用户名与密码个,其它都选YES。
<h4>
4.开启宽带连接
</h4>
$ sudo pon dsl-provider
<h4>
5.关闭宽带链接
</h4>
$ sudo poff dsl-provider
<h4>
备注:
</h4>
<pre>
问题解决:
1、如只按上面设置可以会出现在频繁掉线,这时只要修改如下文件即可。
     $ sudo vim /etc/ppp/options
修改如下:
{{
 lcp-echo-interval 30
 lcp-echo-failure 4
}}
改为如下:
{{
  lcp-echo-interval 30
  lcp-echo-failure 20
}}
</pre>
</body>
</html>
0 0
原创粉丝点击