Zakk84 Posted October 26, 2006 Share Posted October 26, 2006 Hi all, I'm quite fresh on Autoit programming, so I'm afraid I'm gonna need some help on this... I'm trying to write a script for a packet counter for a simple network adapter (ethernet). I want to use some SNMP commands (such as GET and SET) te read some info from the MIB, and then save this info on another file. Well, I've tried lots of times but with no success 'till now... Can anyone help me? does anyone already has a script with this functionality???? Please help me guys! Thanks in advance! Link to comment Share on other sites More sharing options...
lod3n Posted October 26, 2006 Share Posted October 26, 2006 You could probably do it with Microsoft's SNMP provider for WMI:http://www.microsoft.com/downloads/details...C5-089E3DFE4FEEThen just query WMI correctly to get the info. [font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font] Link to comment Share on other sites More sharing options...
lod3n Posted October 26, 2006 Share Posted October 26, 2006 Also take a look at this:http://support.microsoft.com/kb/555455 [font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font] Link to comment Share on other sites More sharing options...
Zakk84 Posted October 26, 2006 Author Share Posted October 26, 2006 You could probably do it with Microsoft's SNMP provider for WMI:http://www.microsoft.com/downloads/details...C5-089E3DFE4FEEThen just query WMI correctly to get the info.Hey, thanks for the information Lod3n! I think I can see your point, I got your idea, but I'm afraid I'm not sure how to implement the whole thing...sorry, I'm still quite fresh with autoit scripts.... Can you (or anyone else!) help me here?Thanks guys! Link to comment Share on other sites More sharing options...
lod3n Posted October 27, 2006 Share Posted October 27, 2006 Well, what do you want to do exactly? Why? Where will it be used? What have you already tried and failed at? Who's going to use it? [font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font] Link to comment Share on other sites More sharing options...
Zakk84 Posted October 27, 2006 Author Share Posted October 27, 2006 Well, what do you want to do exactly? Why? Where will it be used? What have you already tried and failed at? Who's going to use it?Hi lod3n...just answering your questions:What do I want exactly? Basically, a simple script that counts the lost/transmitted packtets (any kind of packets...TCP, UDP..._from an Ethernet Network Adapter.Why? To learn something new, to learn some network scripts, etc Where will it be used? The script will run on a host of a simple LANWhat have I already tried and failed at? I did some trials in programming this stuff, but, as I have already said, I'm quite new on this, so I'm afraid I don't have the skill to develop this kind of thing....that's why I want to take a look at the code, to understand the logic and the commandsWho's going to use it? Just me :"> Thanks! Link to comment Share on other sites More sharing options...
lod3n Posted October 29, 2006 Share Posted October 29, 2006 I did post some packet monitoring stuff here:http://www.autoitscript.com/forum/index.php?showtopic=31123Play around with that, and see what you can figure out. [font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now