From: Michael R. <re...@eu...> - 2004-07-14 04:48:19
|
Hi Andreas, > I have some troubles with the ppp Plugin in the new version of LCD4Linux. I > thought that the syntax is the same as the syntax from the netdev module. > Isn't it? No, I'm afraid it isnt: > I probe ppp('ppp0', 'Rx_bytes')+ppp('ppp0', 'Tx_bytes') in the Widget. The 'right way' would be: expression (ppp('Rx:0', 500)+ppp('Tx:0', 500)) BUT the ppp plugin is somewhat broken: It takes a lot of CPU time, because it always triggers a modprobe for non-existing ppp devices. I don't know exactly why... To be save, use the netdev plugin with the ppp device: expression netdev('ppp0', 'Rx_bytes', 500) bye, Michael -- Michael Reinelt Tel: +43 676 3079941 Geisslergasse 4 Fax: +43 316 692343 A-8045 Graz, Austria e-mail: re...@eu... |