Google Answers Logo
View Question
 
Q: How to change Ethernet link speed from a program (WindowsXP) ( No Answer,   0 Comments )
Question  
Subject: How to change Ethernet link speed from a program (WindowsXP)
Category: Computers > Internet
Asked by: ken13-ga
List Price: $40.00
Posted: 12 Sep 2006 20:46 PDT
Expires: 12 Oct 2006 20:46 PDT
Question ID: 764702
I want to programmatically (e.g., from a script, console mode program,
or Windows program) change the link speed of an Ethernet interface in
a WindowsXP PC.  Rebooting is not acceptable.  I have tried to do this
via SNMP and it does not seem to work.  My SNMP incantations are:

c:\work>snmptool get 127.0.0.1 public interfaces.ifTable.ifEntry.ifDescr.2
  ErrorStatus: 0 (No Error)
   ErrorIndex: 0
    varbind 1:
         Name: interfaces.ifTable.ifEntry.ifDescr.2
          OID: 1.3.6.1.2.1.2.2.1.2.2
         Type: OCTET STRING
       Length: 68
        Value: Intel(R) PRO/1000 MT Network Connection - Packet Scheduler Miniport

c:\work>snmptool get 127.0.0.1 public interfaces.ifTable.ifEntry.ifSpeed.2
  ErrorStatus: 0 (No Error)
   ErrorIndex: 0
    varbind 1:
         Name: interfaces.ifTable.ifEntry.ifSpeed.2
          OID: 1.3.6.1.2.1.2.2.1.5.2
         Type: Gauge
        Value: 100000000

c:\work>snmptool set 127.0.0.1 public
interfaces.ifTable.ifEntry.ifSpeed.2 6 10000000
  ErrorStatus: 2 (No such variable name)
   ErrorIndex: 1
    varbind 1:
         Name: interfaces.ifTable.ifEntry.ifSpeed.2
          OID: 1.3.6.1.2.1.2.2.1.5.2
         Type: Gauge
        Value: 10000000

Yes, I have made public READWRITE.  

I can change my link speed (and without reboot) from the properties
dialog box for my NIC.  So, clearly (?!) there must be a way for me to
do this from a program.

Five stars to someone who can show me how to do this with an example
program.  Preferred is to get SNMP to work.  Second preference is
within a C language program.  If the solution must be NIC specific, I
can live with that (but, a general solution is preferred).

Thanks!
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy