Problem
I want to lock my ethernet speed on my autosensing 10/100MB Netelligent NIC.
It is possible to force a Netelligent 10/100 NIC to a specific speed and override the autosensing mode?
Solution
To force the ethernet speed to 100 MB, take these steps:
1. As root, change to the following (or corresponding) subdirectory:
/var/opt/K/CPQ/efs/5.14a/cntl/packages/CUCNET/configThe 5.14a subdirectory refers to the Compaq EFS level installed and may differ for your installation.
2. Use your favorite editor to edit the .info file.
3. Add this line to the very bottom of the file:
media-speed 0 100mbpsThe new file will look similar to:
board-id CPQF120 board-id CPQF130 board-id CPQF140 board-id CPQF150 board-id CPQAE32 board-id CPQAE34 board-id CPQAE35 board-id CPQAE43 board-id CPQAE40 board-id CPQB012 board-id CPQB011 media-speed 0 100mbps
The second field in the string designates the NIC number net0. The /var/opt/K/CPQ/efs/5.14a/cntl/packages/CUCNET/config subdirectory should contain a file '0' that represent the NIC net0.
The file '0' should contain information similar to the following:
ADAPTER: DESCRIPTION=Netelligent 10/100 TX PCI UTP in slot 2 MEDIA_TYPE=ethernet AOF=cnet REQUIRED= SLOT=2 INTERFACE=0
If you need to lock the ethernet speed at 10MB, modify the above entry to read:
media-speed 0 10mbps4. After saving your changes, it is necessary to stop and restart the cnet driver.
This can be achieved by:cnet stop
cnet start