pppoe-status daje neki siromasan info...
pppoe-status: Link is up and running on interface ppp0
48: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1480 qdisc pfifo_fast state UNKNOWN qlen 3
link/ppp
inet 109.93.206.212 peer 109.93.206.1/32 scope global ppp0
ifconfig ne daje uptime...
ppp0 Link encap:Point-to-Point Protocol
inet addr:109.93.206.212 P-t-P:109.93.206.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1480 Metric:1
RX packets:33887341 errors:0 dropped:0 overruns:0 frame:0
TX packets:17530499 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:3406593206 (3.1 GiB) TX bytes:1257963303 (1.1 GiB)
-rw-r--r-- 1 root root 5 2010-09-13 21:12 /var/run/ppp0.pid
Na netu nisam nasao neke pametne skripte... sve racunaju vreme kada je kreiran pid file.
::www.kladovo.net ::