Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

set duplex and speed of NIC

by primus (Scribe)
on Jul 21, 2003 at 16:12 UTC ( [id://276340]=perlquestion: print w/replies, xml ) Need Help??

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!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://276340]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-16 12:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found