On Sat, 12 Feb 2005, Serge Koksharov wrote: |Question2: |If in the same script /etc/ppp/ip-up.local I use following command to |synchronize time: |ntpdate ntp.someserver.org |And in the /etc/ppp/ip-down.local I use command to log sent/received byte count |and connection time by this command: |echo " TX: $BYTES_SENT RX: $BYTES_RCVD for $((CONNECT_TIME/60)) minutes"\ |>> /etc/ppp/history ^^^^^^^^^^^^^^^^^^^^
That should be $(($CONNECT_TIME/60)) . I often get wrong connection time in /etc/ppp/history, for example: TX: 41180 RX: 291021 for 71582784 minutes. I don't see how you ever got the _right_ time. --- Clifford Kite http://ckite.no-ip.net - To unsubscribe from this list: send the line "unsubscribe linux-ppp" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
