[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

如何判断 pon 已经使自己的modem与ISP连通?



我现在用 pon 命令只有通过 yawmppp 程序来监视modem有没有通.
还有什么命令可以判断 modem 已经通了, 这样我就可以用一个
shell script 自动收发 email 和 apt-get update; 
apt-get upgrade 我的系统.思路如下

#file /usr/bin/dailyautowork

while(modem-offline){
pon ISP
}
fetchmail
apt-get update
apt-get upgrade
and some want to run
poff
#end of file

谢谢各位.

Ben Luo



Reply to: