|
|
发表于 2004-4-26 07:59:13
|
显示全部楼层
我记得/etc/hotplug/net.agent,这个pppd可以实现断线重新连接。我公司的网络也是经常断。但每次都能自动拨号上网。
/var/log/message
Apr 25 18:48:03 linux pppd[17854]: pppd 2.4.1 started by root, uid 0
Apr 25 18:48:03 linux pppd[17854]: Using interface ppp0
Apr 25 18:48:03 linux pppd[17854]: Connect: ppp0 <--> /dev/pts/0
Apr 25 18:48:03 linux /etc/hotplug/net.agent: assuming ppp0 is already up
Apr 25 18:48:03 linux pppoe[17855]: PPP session is 6071
Apr 25 18:48:06 linux pppd[17854]: local IP address 219.130.29.1
Apr 25 18:48:06 linux pppd[17854]: remote IP address 218.16.0.3 |
|