This article is from a FAQ concerning SCO operating systems. While some of the information may be applicable to any OS, or any Unix or Linux OS, it may be specific to SCO Xenix, Open Desktop or Openserver.

There is lots of Linux, Mac OS X and general Unix info elsewhere on this site: Search this site is the best way to find anything.

TCP/IP and NFS FAQ

How can I force the speed and duplex settings of my NIC (or check what it is now)?

You can check the settings with ndstat -l.

You may find that you can change settings under the Advanced tab of Modify Hardware Configuration in netconfig.


Hate these ads?

If not, check the space.c file for the driver. For example, for the e3H driver, you'd look in /etc/conf/pack.d/e3H/space.c and you'd find this section:



 /* 
        Media type (ie. speed and half/full duplex) can be specified.
     See space.h for appropriate values
  */
 short e3H_Media_Override[4] = {
        MEDIA_OVERRIDE_DEFAULT, 
        MEDIA_OVERRIDE_DEFAULT,
        MEDIA_OVERRIDE_DEFAULT,
        MEDIA_OVERRIDE_DEFAULT
 };


 


And in space.h you'd find this:



 
 /*
        Media type may be overridden.  Default is to let the NIC determine the
        speed and duplex mode.  
 */
 #define MEDIA_OVERRIDE_DEFAULT 0
 #define MEDIA_OVERRIDE_NONE    0
 #define MEDIA_OVERRIDE_AUTO    1
 #define MEDIA_OVERRIDE_100_HALF        2
 #define MEDIA_OVERRIDE_100_FULL        3
 #define MEDIA_OVERRIDE_10_HALF 4
 #define MEDIA_OVERRIDE_10_FULL 5


 


You could change space.c to reflect what you want to force, and then relink a new kernel and reboot.

See also (thanks Bill Vermillion): http://www.cisco.com/warp/public/473/46.html


Technorati tags:  

Comments /SCOFAQ/FAQ_scotec4duplexspeed.html


Add your comments

Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)

Or use any RSS reader

Delivered by FeedBurner





Views for this page
Today This Week This Month This Year  Overall
2783957 5,372

/SCOFAQ/FAQ_scotec4duplexspeed.html copyright 1997-2003 (various) All Rights Reserved

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

More:
       - FAQ




Unix/Linux Consultants


http://www.vss3.com SCO/Caldera OpenServer, Unixware & Linux. Tarantella & Non-stop Clustering


http://thatitguy.com Business networking servers, Linux and Unix experts. In business since 1997! Windows and Exchange to Samba and Scalix migration experts.


SCO, OpenServer, UnixWare, software, servers, security, networks, installation, administration, troubleshooting, maintenance, Watchguard, firewalls, VPNs, e-mail. Visit us at http://opensystemscomputing.com and www.go2unix.com.


Twitter
  • May 11 13:53
    Happy Mother's day
  • May 10 06:39
    Gym log this week: 4 days, 179.5 lbs, rowing 40 minutes, walking 40, dips 60, pullups 97, crunches 160, pushups 60, squats/lunges 200









Change Congress

Related Posts