Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-09-2003, 03:19 PM
|
#1
|
|
LQ Newbie
Registered: Jan 2003
Location: Vancouver, BC Canada
Distribution: Red Hat 7.3
Posts: 13
Rep:
|
NIC speeds
With RH 7.3 how does the machine know how to configure the NIC card at boot up.
I have a 10/100/1000 NIC card and seems to auto configure the communications speed at boot time. For example if connected to 10baseT hub it reports 10 half duplex at boot up but if moved to a 100baseT switch it reports 100 full duplex.
Is this managed via an init.d script or is it managed elsewhere. I know on some *nix's you can force it to configure at a given speed.
|
|
|
|
01-09-2003, 03:59 PM
|
#2
|
|
Member
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857
Rep:
|
this behavior is the default behavior . If you need to hard code the connection speed or duplex.. the method is dependent on the driver that the card uses.
For example:
Assuming we are using the eepro100 driver you need to make the following entries in /etc/modules.conf
alias eth0 eepro100
options eepro100 options=0x30
The various options are:
Hex Decimal Meaning
0x10 16 Force Full-Duplex operation (must be used with 0x20 or 0x40)
0x20 32 Force 100mbps-only operation
0x30 48 Force 100mbps-only with Full Duplex
0x40 64 Force 10mbps-only
0x50 80 Force 10mpps-only with Full Duplex
This information for a particular driver can usually be found in the doucmentation for that driver.
Someone told me there is a utilty available from Scyld.com called "mii-diag" but I have never seen or used it.
-KevinJ
|
|
|
|
01-09-2003, 04:22 PM
|
#3
|
|
LQ Newbie
Registered: Jan 2003
Location: Vancouver, BC Canada
Distribution: Red Hat 7.3
Posts: 13
Original Poster
Rep:
|
Thanks. 
|
|
|
|
01-09-2003, 10:22 PM
|
#4
|
|
Member
Registered: Aug 2002
Location: Sydney, Australia
Distribution: Redhat, Open BSD, SuSe, Debian, CentOS
Posts: 177
Rep:
|
You can try mii-tool which is installed on RedHat 8.0 (I can't remember if it's on any of the earlier dists though...)
[root@dcssl-smg-webids02 rohang]# mii-tool --help
usage: mii-tool [-VvRrwl] [-A media,... | -F media] [interface ...]
-V, --version display version information
-v, --verbose more verbose output
-R, --reset reset MII to poweron state
-r, --restart restart autonegotiation
-w, --watch monitor for link status changes
-l, --log with -w, write events to syslog
-A, --advertise=media,... advertise only specified media
-F, --force=media force specified media technology
media: 100baseT4, 100baseTx-FD, 100baseTx-HD, 10baseT-FD, 10baseT-HD,
(to advertise both HD and FD) 100baseTx, 10baseT
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:13 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|