LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Closed Thread
  Search this Thread
Old 11-24-2003, 12:13 PM   #1
soikkeli
LQ Newbie
 
Registered: Nov 2003
Location: Salo, Finland
Distribution: RH9
Posts: 3

Rep: Reputation: 0
Question How to check networkcard parameters. Half or Full Duplex?


Hello,

How I can check/change my networkcard's duplex option.
I'm using RH9 and my network card is 3Com PCMCIA 3C589D-TP (10Mbit)

I have tried with mii-tool. but it gave strange error message.

[root@fw-2 root]# mii-tool eth1
SIOCGMIIPHY on 'eth1' failed: Operation not supported

 
Old 11-24-2003, 12:50 PM   #2
TheOneKEA
Member
 
Registered: Oct 2003
Distribution: Debian GNU/Linux 11 (amd64) w/kernel 6.0.15
Posts: 299

Rep: Reputation: 30
Have you tried the ethtool command? mii-tool uses an older ioctl interface which has been supersded by a generic MII library for the MII-supporting network drivers. man 8 ethtool will tell you more.
 
Old 11-24-2003, 01:19 PM   #3
soikkeli
LQ Newbie
 
Registered: Nov 2003
Location: Salo, Finland
Distribution: RH9
Posts: 3

Original Poster
Rep: Reputation: 0
ethtool tells nothing ??

[root@fw-2 root]# ethtool eth1
Settings for eth1:
No data available

[root@fw-2 root]# ethtool eth0
Settings for eth0:
No data available

What is wrong in my system?
Why ethtool doesn't tell anything??

mii-tool reports everything about eth0 but not eth1
eth0: negotiated 100baseTx-FD, link ok
SIOCGMIIPHY on 'eth1' failed: Operation not supported


My eth0 network card is 3Com 3CCFE575CT 10/100 PCMCIA


Last edited by soikkeli; 11-24-2003 at 01:28 PM.
 
Old 11-24-2003, 02:08 PM   #4
TheOneKEA
Member
 
Registered: Oct 2003
Distribution: Debian GNU/Linux 11 (amd64) w/kernel 6.0.15
Posts: 299

Rep: Reputation: 30
You really ought to read the ethtool man page; the thing is a veritable Swiss army knife of switches and arguments. The only dependency is driver support.
 
Old 11-25-2003, 01:53 AM   #5
soikkeli
LQ Newbie
 
Registered: Nov 2003
Location: Salo, Finland
Distribution: RH9
Posts: 3

Original Poster
Rep: Reputation: 0
I tried almost everyting.


[root@fw-2 root]# ethtool -s eth1 duplex half
Cannot get current device settings: Operation not supported
not setting duplex

[root@fw-2 root]# ethtool -s eth1 duplex full
Cannot get current device settings: Operation not supported
not setting duplex

[root@fw-2 root]# ethtool -s eth1 port tp
Cannot get current device settings: Operation not supported
not setting port

[root@fw-2 root]# ethtool -s eth1 port mii
Cannot get current device settings: Operation not supported
not setting port

[root@fw-2 root]# ethtool -g eth1
Ring parameters for eth0:
Cannot get device ring settings: Operation not supported

[root@fw-2 root]# ethtool -k eth1
RX/TX checksumming parameters for eth1:
Cannot get device rx csum settings: Operation not supported
Cannot get device tx csum settings: Operation not supported
Cannot get device scatter-gather settings: Operation not supported
no checksumming/SG info available

[root@fw-2 root]# ethtool -t eth1
Cannot test: Operation not supported

The only command which gives answer without error message:

[root@fw-2 root]# ethtool -i eth1
driver: 3c589_cs
version: 1.162
firmware-version:
bus-info: PCMCIA 0x300


I just wonder, why this ethtool doesn't work either with my other network card.

 
Old 11-25-2003, 03:32 AM   #6
TheOneKEA
Member
 
Registered: Oct 2003
Distribution: Debian GNU/Linux 11 (amd64) w/kernel 6.0.15
Posts: 299

Rep: Reputation: 30
I guess the other network card's driver doesn't support feedback with ethtool.
 
Old 11-25-2003, 07:59 AM   #7
aqoliveira
Member
 
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622

Rep: Reputation: 30
howzit

with mii-tool u need to put in the option that says -F e.g mii-tool -vF 100BaseTx-FD this should work. This will force it to be what setting u want and not auto.

chow
 
Old 11-27-2003, 11:04 PM   #8
tornadoburn
LQ Newbie
 
Registered: Nov 2003
Location: Montreal, Canada
Distribution: RH 7.1
Posts: 23

Rep: Reputation: 15
.my error

Last edited by tornadoburn; 11-27-2003 at 11:05 PM.
 
Old 03-11-2009, 08:47 AM   #9
prakash0106
LQ Newbie
 
Registered: Jan 2009
Posts: 15

Rep: Reputation: 1
hi i have one question with doubt

i have NAT server in linux as a 3 nic with ip of

eth0:192.169.*.*

eth1:172.19.*.*

eth2:10.186.*.*

eth1 ip is have full internet access and NATed to eth0 and eth2

my fileserver is in 192.168.*.*

i need to (from client machine 10.186.*.* series) connect filesever.

but i cant....

give the solution for NAT ing side or IP roue side....


regards
Prakash.M
chennai
 
Old 08-09-2009, 11:53 AM   #10
Kardell
LQ Newbie
 
Registered: Jun 2009
Location: London a new Babylon
Distribution: Fedora, Debian, Arch etc.
Posts: 21

Rep: Reputation: 0
Unfortunatelly one of my network cards is pcmcia and I cannot use ethtool, to read if its in full duplex by default.

I'm trying to figure out why my samba is so slow and ~4GB files transfer was calculated to more than 3h (by a wire), via ftp ~45min.
 
Old 08-09-2009, 02:19 PM   #11
noden
LQ Newbie
 
Registered: Aug 2009
Location: Denmark
Distribution: Debian
Posts: 29

Rep: Reputation: 18
Quote:
Originally Posted by soikkeli View Post
....

eth0: negotiated 100baseTx-FD, link ok
SIOCGMIIPHY on 'eth1' failed: Operation not supported
Isnt the FD tag Full Duplex?
Maybe you can plug in another computer, a managed switch or a router to the other end and see if it negotiated full or half duplex?
Though I havent seen a NIC that didnt support full duplex in ages.

It is not too rare to see a duplex "miss-negotiation" between two devices.
 
Old 08-09-2009, 03:14 PM   #12
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
OK OK this thread was started SIX YEARS AGO. Closed to preserve sanity.
 
  


Closed 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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
howto half/full duplex eth0 mickeyboa Fedora 2 02-25-2009 07:36 AM
Half and Full Duplex in Debian swmok Linux - Networking 1 07-23-2004 12:46 AM
how to set half/full duplex on a lan card billy998168 Linux - General 8 03-19-2004 05:33 PM
Full/Half Duplex??? LupusNebula Linux - Networking 8 02-04-2003 03:33 PM
nic - 10/100mbit - full/half-duplex aaronluke Slackware 2 10-17-2002 11:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration