nasowasauch Posted October 17, 2006 Share Posted October 17, 2006 Hi,does anyone know how to set the speed and duplex mode for the INTEL 1000 GT programmatically? This means to switch e.g. between 100 Mbit and 1 Gbit and/or full- halfduplex. My Intention is to be able to call the device driver function of the NIC from my own c++ code. Does anybody know how this could be done or point me to a device driver function documentation?Best regards Link to comment Share on other sites More sharing options...
allen2 Posted October 17, 2006 Share Posted October 17, 2006 Most of the time the .inf file in the drivers contains the defaults speed setting. Changing it directly in the .inf should then allow to have the speed automatically set but be carefull modifying an .inf will more likely break the driver signin check and you'll need to allow the driver to install. Another way around is to read from the .inf the needed reg entry and to set it after driver install. Link to comment Share on other sites More sharing options...
staples Posted October 17, 2006 Share Posted October 17, 2006 Try this exe http://www.zyard.com/files/linkspeed.exe. It is a autoit executable I wrote to switch between 10 full, 100 full and gigabit. It handles most intel, broadcom, and 3com nics (including the one offs from dell). Autoit is C++ code.Right now there is no way to detect the duplex, you can only set half or full based upon what you assume is in your enviroment. Link to comment Share on other sites More sharing options...
mf_2 Posted July 4, 2007 Share Posted July 4, 2007 Sorry for digging out old topics, but does anybody have a copy of linkspeed.exe? I need to set the network speed and duplex in my unattended DVD. Link to comment Share on other sites More sharing options...
mf_2 Posted July 4, 2007 Share Posted July 4, 2007 NVM, I found the appropriate switches in the INF files. 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