| View previous topic :: View next topic |
| Author |
Message |
NRG88 Voice
Joined: 17 Nov 2005 Posts: 2
|
Posted: Thu Nov 17, 2005 10:23 pm Post subject: Bandwidth Monitor |
|
|
Hi, I've downloaded the bandwidth monitor ( http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&id=1134 ). The problem is, that i'm using windrop, and it isn't working under windows. Possibly the following (bolded) two lines have to be rewritten:
| Code: | variable api "/proc/net/dev"
variable interface "eth0:LAN,eth1:LAN,ppp0:WAN" ;# for windows win:<something> without the others.. |
...they are from...
| Code: | namespace eval bandwidth {
variable api "/proc/net/dev"
##########################################
# <interface>:<alias> seperated by a ','
# or a hex representation of 2e, for
# windows use only win:<whatever>
##########################################
variable interface "eth0:LAN,eth1:LAN,ppp0:WAN" ;# for windows win:<something> without the others.. |
Can someone help me with this? |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Thu Nov 17, 2005 10:57 pm Post subject: |
|
|
| Quote: | | # for windows win:<something> without the others.. |
Tried System Information?
Do you have onboard ethernet? _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Fri Nov 18, 2005 1:34 am Post subject: |
|
|
simply put there win:whatever, it doesn't matter what whatever will be, it's not used by the script (stats are obtained by netstat -e command)
api is not used on Windows either (there is no /proc kernel interface on that operating system) _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
NRG88 Voice
Joined: 17 Nov 2005 Posts: 2
|
Posted: Fri Nov 18, 2005 6:05 am Post subject: |
|
|
ok, i'll try it
Edit: tried it, and nothing happens. It loads the script, but no reactions to the bot it does nothing.. Chaneged it to win:whatever |
|
| Back to top |
|
 |
|