LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1135|回复: 7

adsl 总是掉线重启

[复制链接]
发表于 2004-9-22 02:00:18 | 显示全部楼层 |阅读模式
我的装了linux 8.0   装了pppoe
但总是掉线。重启请看日志。
Sep 22 02:18:51 test pppd[4836]: Connect: ppp0 <--> /dev/pts/1
Sep 22 02:18:51 test /etc/hotplug/net.agent: assuming ppp0 is already up
Sep 22 02:18:51 test pppoe[4837]: PPP session is 4326
Sep 22 02:18:52 test pppd[4836]: local  IP address 218.13.81.118
Sep 22 02:18:52 test pppd[4836]: remote IP address 61.145.65.238
Sep 22 02:19:50 test pppoe[4837]: Inactivity timeout... something wicked happen
d on session 4326
Sep 22 02:19:50 test pppoe[4837]: Sent PADT
Sep 22 02:19:50 test pppd[4836]: Modem hangup
Sep 22 02:19:50 test pppd[4836]: Connection terminated.
Sep 22 02:19:50 test pppd[4836]: Connect time 1.0 minutes.
Sep 22 02:19:50 test pppd[4836]: Sent 5340 bytes, received 10390 bytes.
Sep 22 02:19:50 test /etc/hotplug/net.agent: NET unregister event not supported
Sep 22 02:19:50 test pppd[4836]: Exit.
Sep 22 02:19:50 test adsl-connect: ADSL connection lost; attempting re-connecti
n.
Sep 22 02:19:55 test pppd[4897]: pppd 2.4.1 started by root, uid 0
Sep 22 02:19:55 test pppd[4897]: Using interface ppp0
Sep 22 02:19:55 test pppd[4897]: Connect: ppp0 <--> /dev/pts/1
Sep 22 02:19:55 test /etc/hotplug/net.agent: assuming ppp0 is already up
Sep 22 02:19:55 test pppoe[4898]: PPP session is 4331
Sep 22 02:19:56 test pppd[4897]: local  IP address 219.130.252.148
Sep 22 02:19:56 test pppd[4897]: remote IP address 61.145.65.238
怎么解决啊。
发表于 2004-9-22 09:27:43 | 显示全部楼层
PPP拨号设置里有个时间,timeout的,设置大一些。
你的掉线是说你的网络空闲,无人上网,而设置的时间到了!
 楼主| 发表于 2004-9-22 19:59:08 | 显示全部楼层
多谢smile787,我如果永远不让他掉线应该怎么设。
还有我的http 和squid 都用到了80端口,  只能启动一个。
不能两个同时用应该怎么办。
发表于 2004-9-22 21:51:35 | 显示全部楼层
pppoe的配置文件在什么位置叫什么名子啊????
 楼主| 发表于 2004-9-23 09:44:22 | 显示全部楼层
pppoe.conf
/etc/ppp下面。
我设置了tmiout 值很大。还是掉线。
如果我重启adsl-setup 然后拨号。就不会掉线。
如果我adsl-stop 然后再拨就会自动不停的掉线重拨。
也就是说中间不能停掉adsl 重拨.只有第一次是好的。
再拨就会出问题。
发表于 2004-9-23 09:51:17 | 显示全部楼层
ADSL-SETUP的配置文件在/etc/sysconfig/network-scripts/ifcfg-pppo
将里面的
PPPOE——TIMEOUT=0
这样就不会因为没有数据而掉~
 楼主| 发表于 2004-9-25 08:44:43 | 显示全部楼层
多谢你啦。我在试试。
PPPOE_TIMEOUT=20
CONNECT_TIMEOUT=60  这个连接超时指的是什么呢。在拨号的时候吗?
发表于 2004-9-25 09:48:54 | 显示全部楼层
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表