Computing.Net > Forums > Linux > NIC speed/duplex settings

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

NIC speed/duplex settings

Reply to Message Icon

Name: Jerry Marshall
Date: October 1, 2002 at 13:04:03 Pacific
OS: Mandrake 9
CPU/Ram: pent III 650/128 ram
Comment:

I need to know how to set my Intel 82557 Ethernet Pro 100 NIC to auto/auto. It probably should be, but I have it hooked to a 10mbit port and I do not get any network activity on the NIC. I can plug another computer into the same port with a 10/100 NIC set to auto/auto and get a 10mbit connection. That same computer will connect at 100mbit on a port that is setup at 100. I need to set my linux Mandrake 9 box to either 10/half or auto/auto. How do I do this?



Sponsored Link
Ads by Google

Response Number 1
Name: Trip
Date: October 1, 2002 at 14:41:12 Pacific
Reply:

Assuming the eepro100 driver was compiled as
a module, you need to add an option to the
line that loads this driver in
/etc/modules.autoload (Your distro may have
this in a different file)
options for the eepro100 are:
0x10 for 10half
0x20 for 10full
0x100 for 100half
0x200 for 100full

so you line in this file for 10half should
look like:
eepro100 options=0x10

Intel also has eepro drivers for linux but
there method of changing speed is different,
instead of options= they have
e100_speed_duplex= with the following
options:
0 for auto
1 for 10H
2 for 10F
3 for 100H
4 for 100F


0

Response Number 2
Name: Jerry Marshall
Date: October 2, 2002 at 06:35:39 Pacific
Reply:

Thanks, although the file modules.autoload did not exist on my system, I did find modules.conf. Added the line eepro100 options-0x10 to it and saved it, rebooted and still no network access. I haven't tried the Intel drivers. I did go to the site to look for them, but really didn't find 82557 drivers, they were kind of vague about which ones to get.

Thanks again for your help. I will try the drivers and tell you how it comes out.


0

Response Number 3
Name: DeHon Williams
Date: November 13, 2002 at 14:14:03 Pacific
Reply:

Here is the line from my modules.conf file:
alias eth0 eepro100

NOTE: This may be different for your linux distro.

Adjusting speed:

Driver is designed with the gold that no options should be needed in most environment. However not all cards and networks can be automatically configured, thus allow operational parameters to be modify when they are loaded as module. Typically the following variables may be set:

insmod rtl8139 options=0x40
Hex Decimal Meaning
0x10 16 …..Force Full-Duplex operation (must be used with 0x20 or 0x40)
0x20 32 …..Force 100mbps-only operation
0x40 64 …..Force 10mbps-only

try adding line:
options options=0x40


0

Response Number 4
Name: DeHon Williams
Date: November 13, 2002 at 14:21:00 Pacific
Reply:

Also try ethtool, I just remembered that lost little util. that can do all the adjustments you may ever require. I recommend installing if it not in your linux distro.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: NIC speed/duplex settings

Full Duplex setting problem www.computing.net/answers/linux/full-duplex-setting-problem/28109.html

Installing NIC card and Setting up DHCP www.computing.net/answers/linux/installing-nic-card-and-setting-up-dhcp-/7894.html

RedHat 7.2 eth0 overruns www.computing.net/answers/linux/redhat-72-eth0-overruns/12020.html