#29801 - 2002-09-27 07:27 AM
Checking modem connection speed remotly
|
linuxboy00
Fresh Scripter
Registered: 2002-09-27
Posts: 6
|
Hey everybody.. I looked in the manual, and in this board but could not find what I'm looking for. This is the deal...... I have two Win2k machines. Both have Professional installed on them. The one that I'm using for file storage has my modem in it. And I have everything set up for NAT with auto-dial and everything. My question is.. Is there a way to use kixtart to find out what my connection speed is of my modem once it connects from a different pc in my local network.? I looked at @RAS but I don't think it will do what I need it to. Any help would be great !!
Thanks.
|
|
Top
|
|
|
|
#29803 - 2002-09-27 07:49 AM
Re: Checking modem connection speed remotly
|
linuxboy00
Fresh Scripter
Registered: 2002-09-27
Posts: 6
|
Yes the modem speed.. Like 42.6 or 44.00
|
|
Top
|
|
|
|
#29804 - 2002-09-27 07:50 AM
Re: Checking modem connection speed remotly
|
linuxboy00
Fresh Scripter
Registered: 2002-09-27
Posts: 6
|
Ahh.. yeah. How to explain this. When my modem dials, I want to know the speed that it connected to the internet at. Wither that's 28.8 , 33.6, 42.6, .. ect
|
|
Top
|
|
|
|
#29806 - 2002-09-27 07:55 AM
Re: Checking modem connection speed remotly
|
linuxboy00
Fresh Scripter
Registered: 2002-09-27
Posts: 6
|
Yep, dat what I mean. :-)
|
|
Top
|
|
|
|
#29809 - 2002-09-27 08:19 AM
Re: Checking modem connection speed remotly
|
linuxboy00
Fresh Scripter
Registered: 2002-09-27
Posts: 6
|
Both my machines are on a 100Megbit network. But for them to have Internet access they have to go out my modem to my isp. I could use a webpage to tell me my speed, but i was hoping on having kixtart do for me becuase it would be much faster, and I wouldn't have to use my KVM switch to go to my server so I could see what my speed is. The reason I want to check and see what my modem speed is to the internet , is because sometimes I get a really crappy connection speed like 26.4 and I would like to be able to drop that connection if I don't want to use it and re-dial the modem.
|
|
Top
|
|
|
|
#29812 - 2002-09-27 10:14 AM
Re: Checking modem connection speed remotly
|
linuxboy00
Fresh Scripter
Registered: 2002-09-27
Posts: 6
|
Thanks for the info.. I will look around and see what I can find.
|
|
Top
|
|
|
|
#29813 - 2002-09-27 07:35 PM
Re: Checking modem connection speed remotly
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
has anyone tried:
select * from Win32_PerfRawData_RemoteAccess_RASPort where 'Name'='COM2' (or whatever) or in: Win32_PerfRawData_RemoteAccess_RASTotal
code:
AlignmentErrors: 0 BufferOverrunErrors: 0 BytesReceived: 0 BytesReceivedPerSec: 0 BytesTransmitted: 0 BytesTransmittedPerSec: 0 Caption: CRCErrors: 0 Description: FramesReceived: 0 FramesReceivedPerSec: 0 FramesTransmitted: 0 FramesTransmittedPerSec: 0 Frequency_Object: 21474836480 Frequency_PerfTime: 3579545 Frequency_Sys100NS: 10000000 Name: COM2 PercentCompressionIn: 0 PercentCompressionOut: 0 SerialOverrunErrors: 0 TimeoutErrors: 0 Timestamp_Object: 4294967296 Timestamp_PerfTime: 1311559834761 Timestamp_Sys100NS: 3664040638000 TotalErrors: 0 TotalErrorsPerSec: 0
I don't have a laptop here to test on... [ 27. September 2002, 19:37: Message edited by: Radimus ]
|
|
Top
|
|
|
|
#29814 - 2002-09-27 08:24 PM
Re: Checking modem connection speed remotly
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
you can also try:
$bandwidth=WMIQuery("CurrentBandwidth","Win32_PerfRawData_Tcpip_NetworkInterface")
|
|
Top
|
|
|
|
#29816 - 2002-09-27 08:53 PM
Re: Checking modem connection speed remotly
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
the data is... the code for the command is hand written
|
|
Top
|
|
|
|
#29817 - 2002-09-27 09:07 PM
Re: Checking modem connection speed remotly
|
Chris S.
MM club member
   
Registered: 2002-03-18
Posts: 2368
Loc: Earth
|
I thought it would make a good companion to WMIQuery.
|
|
Top
|
|
|
|
#29818 - 2002-09-27 09:40 PM
Re: Checking modem connection speed remotly
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
this will return your ras user's bandwidth.
code:
$bandwidth =WMIQuery("CurrentBandwidth","Win32_PerfRawData_Tcpip_NetworkInterface",$computer,"Name","WAN [PPP_SLIP] Interface")
I use your kixomatic exclusively now... it handles all those array values much better than the other.
|
|
Top
|
|
|
|
#29819 - 2002-09-27 09:44 PM
Re: Checking modem connection speed remotly
|
Chris S.
MM club member
   
Registered: 2002-03-18
Posts: 2368
Loc: Earth
|
Finally, a success story.
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 1095 anonymous users online.
|
|
|