Re: Debian eth0 full duplex

2002-10-23 Thread Sven Heinicke
On Thu, 2002-10-17 at 23:01, Raghavendra Bhat wrote:
> Joe T. posts:
> 
> >> How do I find and/or set my eth0 interface to 100 Mb/s full duplex?
> 
> I use this command  to set the speed of my eepro  card to 10 MBps full
> duplex.  `mii-tool  --force=10baseT-FD --log eth0', maybe  you need to
> substitute 100baseT-FD  in lieu of 10baseT-FD.  You  should start this
> command via  the run-level init scripts,  preferably a level  of 25 in
> the rcS.d symlink dir.
> 

I have fillowing in the /etc/modutils/3c59x file:

post-install 3c59x /sbin/mii-tool --force=100baseTx-FD

I bet something similar would work for eepros.  Just watchi it if you
have more then one ethernet card that need to difference modes.

  Sven




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Debian eth0 full duplex

2002-10-19 Thread Rob Weir
On Fri, Oct 18, 2002 at 11:40:35AM -0400, Jason M. Harvey wrote:
> my eth1 is connected to another d-link via a cross-over cable. i thought
> using a cross-over cable limited you to half-duplex?
> interesting.

This computer (with an 8139 ethernet card) is connected to my firewall
(with an eepro100) using crossover, and both dmesg and mii-tool say I've
got a full duplex connection.

-rob



msg08015/pgp0.pgp
Description: PGP signature


Re: Debian eth0 full duplex

2002-10-18 Thread Jason M. Harvey
On Fri, Oct 18, 2002 at 10:04:00AM +0200, Johann Spies wrote:
| On Fri, Oct 18, 2002 at 11:38:49AM +1000, Rob Weir wrote:
| > On Thu, Oct 17, 2002 at 01:08:01PM -0500, Joe Thykattil wrote:
| > > How do I find and/or set my eth0 interface to 100 Mb/s full duplex?
| > 
| > Have a look at the output of dmesg, that should tell you.
| 
| There is a discrepancy between dmesg and mii-tool:
| 
| >From dmesg:
| 
| eth0: Setting 100mbps full-duplex based on auto-negotiated partner
| ability 45e1.
| 
| mii-tool:
| 
| zsh % sudo  mii-tool
| eth0: 10 Mbit, half duplex, no link
| 
| 
| ???
| 
| Johann
| 
| 
| -- 
| Johann Spies  Telefoon: 021-808 4036
| Informasietegnologie, Universiteit van Stellenbosch
| 
|  "Delight thyself also in the LORD; and he shall give 
|   thee the desires of thine heart."  Psalms 37:4
| 

hi,

i have the same exact output. dmesg says 100 mb while mii-tool says 10
mb. is it possible mii-tool only works with specific cards, or is a
"network tool" rather than a "card tool"? i have two d-link nic's using
the rtl8139too driver. according to the other pc, running some other os
(for the kids :-(), it is also running at 100 - which it should - but
doesn't tell my the duplex.
my eth1 is connected to another d-link via a cross-over cable. i thought
using a cross-over cable limited you to half-duplex?
interesting.

take care,
jason

-- 
--
| http://jharv.com   | http://counter.li.org/|
| 2.4.16-k6  | Debian GNU/Linux 3.1 Sarge|
| [EMAIL PROTECTED] | registered linux user #202942 |
--




msg07863/pgp0.pgp
Description: PGP signature


Re: Debian eth0 full duplex

2002-10-18 Thread Johann Spies
On Fri, Oct 18, 2002 at 11:38:49AM +1000, Rob Weir wrote:
> On Thu, Oct 17, 2002 at 01:08:01PM -0500, Joe Thykattil wrote:
> > How do I find and/or set my eth0 interface to 100 Mb/s full duplex?
> 
> Have a look at the output of dmesg, that should tell you.

There is a discrepancy between dmesg and mii-tool:

>From dmesg:

eth0: Setting 100mbps full-duplex based on auto-negotiated partner
ability 45e1.

mii-tool:

zsh % sudo  mii-tool
eth0: 10 Mbit, half duplex, no link


???

Johann


-- 
Johann Spies  Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch

 "Delight thyself also in the LORD; and he shall give 
  thee the desires of thine heart."  Psalms 37:4


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]