Configuring NIC transfer (media) type

Configuring NIC transfer (media) type

Post by Doug Kryde » Sat, 29 Dec 2001 00:25:41



I've got a RH 7.2 install. I'm a newbie. In WinXP I can configure
the NIC "media" type between Auto/100BaseTX/100BaseTXFullDuplex/
10BaseT/10BaseTFullDuplex. I can't figure out how to do this in
RH 7.2. Any pointers appreciated. Thanks.
 
 
 

Configuring NIC transfer (media) type

Post by Frank Swase » Sat, 29 Dec 2001 04:53:50



> I've got a RH 7.2 install. I'm a newbie. In WinXP I can configure
> the NIC "media" type between Auto/100BaseTX/100BaseTXFullDuplex/
> 10BaseT/10BaseTFullDuplex. I can't figure out how to do this in
> RH 7.2. Any pointers appreciated. Thanks.

On Linux, you pass such things as options to the NIC driver.  What the
option is called varies from one driver to the next.  Usually, Linux
drivers default to Autonegotiate (and call the option you are looking
for speed or something like that), I urge you to leave it at
autonegotiate unless you really need to hard code it.

Frank

 
 
 

Configuring NIC transfer (media) type

Post by Eric P. McC » Sat, 29 Dec 2001 05:02:29



> > I've got a RH 7.2 install. I'm a newbie. In WinXP I can configure
> > the NIC "media" type between Auto/100BaseTX/100BaseTXFullDuplex/
> > 10BaseT/10BaseTFullDuplex. I can't figure out how to do this in
> > RH 7.2. Any pointers appreciated. Thanks.
> On Linux, you pass such things as options to the NIC driver.  

Sometimes you can do that, but not all drivers support it or support
it in a similar way.

The "generic" method is to use mii-diag or another program
specifically designed for your make and model of network card.

I agree with the recommendation (which I have removed) that you let
your NIC autonegotiate its speed unless you have an extremely good
reason not to.  Fixed-speed NICs cause far more problems than you
might expect; at least, I found that to be the case when I had to do
it.

--

"I woke up this morning and realized what the game needed: pirates,
pimps, and gay furries."  - Rich "Lowtax" Kyanka

 
 
 

Configuring NIC transfer (media) type

Post by Doug Kryde » Sat, 29 Dec 2001 07:33:22



>  I urge you to leave it at
> autonegotiate unless you really need to hard code it.

There is no reason other than curiosity over if a 800MB
file would travel faster between the 2 computers on this
little net I've put together in the last 2 weeks. I thought
with both set to auto I might only be getting 10MB lan
transfers and was interested to see if I locked it at 100MB
if the speed increased. But in reality, nothing important
would be accomplished. I appreciate the response and will
take your advice, since the complexity of the test seems
out of my league at this time.Thanks!
 
 
 

Configuring NIC transfer (media) type

Post by Doug Kryde » Sat, 29 Dec 2001 07:34:16



> I agree with the recommendation (which I have removed) that you let your
> NIC autonegotiate its speed unless you have an extremely good reason not
> to.  Fixed-speed NICs cause far more problems than you might expect; at
> least, I found that to be the case when I had to do it.

No reason other than curious for a comparison. Advice accepted.
Thanks!
 
 
 

Configuring NIC transfer (media) type

Post by Teemu Kilpivuor » Sat, 29 Dec 2001 14:44:44




>> I've got a RH 7.2 install. I'm a newbie. In WinXP I can configure
>> the NIC "media" type between Auto/100BaseTX/100BaseTXFullDuplex/
>> 10BaseT/10BaseTFullDuplex. I can't figure out how to do this in
>> RH 7.2. Any pointers appreciated. Thanks.

> On Linux, you pass such things as options to the NIC driver.  What the

For eepro100 driver, 100BaseTXFullDuplex is forced on using
options eepro100 options=0x30,0x30

in my modules.conf file. (Above forces two cards actually.)
Some old switches can not autonegotiate correctly with some cards and this
is needed.

You can find options using a proper google (groups) search or search from
appropriate kernel source file, like

/usr/src/linux/drivers/net/eepro100.c in my case.

--
// Teemu

 
 
 

1. Q: Linksys LNE10/100TX NIC with 82c169 problems: Wrong media type?

Hi there,

my Linksys 10/100 card is recognized by release 4.0, but a ping to my
gateway fails. A ping to localhost and my own IP address works fine. It's
probably a misconfigured route but I suspect that my media type is wrong as
ifconfig shows "no carrier".

Here's what dmesg says concerning the NIC, ifconfig dc0 and my uname -a
output:
---
dmesg
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
isab0: <Intel 82371FB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX ATA controller> port 0xe800-0xe80f at device 7.1 on
pci0
pci0: <S3 968 graphics accelerator> at 10.0 irq 15
dc0: <82c169 PNIC 10/100BaseTX> port 0xe400-0xe4ff mem 0xf7ff0000-0xf7ff00ff
irq 9 at device 11.0 on pci0
dc0: Ethernet address: 00:a0:cc:27:2e:a2
miibus0: <MII bus> on dc0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
dc0: supplying EUI64: 00:a0:cc:ff:fe:27:2e:a2

[..]

dc0: starting DAD for fe80:0001::02a0:ccff:fe27:2ea2
dc0: DAD complete for fe80:0001::02a0:ccff:fe27:2ea2 - no duplicates found

---
ifconfig dc0 output:

dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
 inet 134.176.85.175 netmask 0xffffff00 broadcast 134.176.85.255
 inet6 fe80::2a0:ccff:fe27:2ea2%dc0 prefixlen 64 scopeid 0x1
 ether 00:a0:cc:27:2e:a2
 media: 100baseTX status: no carrier
 supported media: autoselect 100baseTX <full-duplex> 100baseTX 10baseT/UTP
<full-duplex> 10baseT/UTP none

---
uname -a:
FreeBSD somehost.somedomain.sometld 4.0-RELEASE FreeBSD 4.0-RELEASE #0: Mon
Mar 20 22:50:22 GMT 2000

What's wrong here?

Thanks in advance
Stefan

2. vi editor FAQ (Frequently Asked Question List), Part 1/2

3. 3com NIC using wrong media type

4. missing "anon_segkp_pages_locked" and memtool

5. Slow Cable Modem\Setting NIC media type

6. Can't install on HD

7. media transfers

8. wtmp DEAD_PROCESS

9. Question relating to changing network card media type

10. switch media type

11. Mime Type recognition for Real Media files

12. Lilo boot problem: doesn't boot dos (invalid media type)

13. Setting Media Type problem...