- 论坛徽章:
- 0
|
将问题进行到底!
原帖由 "quakelee" 发表:
ppp本身就有自动断线的功能,设上就完了,如果你要长期挂网就不用经常断掉了吧,顶多killall ppp不完了
或者用mpd的dial on demand也很好呀,有请求就连,没请求就断呗。
手动调来调去的累死了,摆着自动功能用手?.........
i prefer to use 'pppctl'. the reason is there is side effect with kill command, i.e. although ppp process is killed, the interface tun0 won't be freed. at next time you establish a new ppp connection, new interfaces tun1, tun2, ... will be created, if all 4 interfaces are taken, ppp call will fail.
and too many tunnel interfaces are also not suitable for firewall rules.
i wroted some scripts for ppp automation, IMHO, only pppctl made best approach.
 |
|