primus has asked for the wisdom of the Perl Monks concerning the following question:

hey monks,

i was wondering if there was a way to set the speed and duplex of my NIC. i am running windows 2000... if that is of concern.

i figured there must be some way to set it with perl.

thanks

Replies are listed 'Best First'.
Re: set duplex and speed of NIC
by Mr. Muskrat (Canon) on Jul 21, 2003 at 16:24 UTC

    Several ideas come to mind.

    1. Use Win32::TieRegistry to update the appropriate registry locations.
    2. Use Win32::GuiTest to automate the manual task of changing the information in Network Properties.
    3. Use Win32::API to access the Windows networking API directly.

    I have probably forgotten a few ways too. ;-)

Re: set duplex and speed of NIC
by The Mad Hatter (Priest) on Jul 21, 2003 at 16:25 UTC
    Most NICs nowadays will autodetect the highest speed/duplex available (which I assume is what you want) and set themselves to that. Are you sure you need to set it?
      i will try those methods out. also it is manually at half duplex, but needs to be changed to full. thanks for the replies!