LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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

Reply
 
Search this Thread
Old 10-21-2008, 09:55 AM   #1
mokku
Member
 
Registered: Feb 2007
Posts: 197

Rep: Reputation: 30
auto negotiation question


server is runnnig half duplex, here is the result. Does it mean switch set to auto negoation or network card set to auto negotiation? Please help me.

>ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Half
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: g
Wake-on: d
Link detected: yes
 
Old 10-21-2008, 10:02 AM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
Code:
Advertised auto-negotiation: Yes
...
Auto-negotiation: on
Your card is set to auto-neg. Presumably so is the switch or it wouldn't have got a link.
 
Old 10-21-2008, 10:12 AM   #3
mokku
Member
 
Registered: Feb 2007
Posts: 197

Original Poster
Rep: Reputation: 30
Here is the /etc/sysconfig/ethconf file, does it need to set to auto or full duplex?


cat ethconf
# This file is read by /etc/init.d/ethconf shortly after the network
# is started. It is used to sets each NIC in the system according to
# the requirements of the network its on. The format of this file is
# as follows:
# DEVICE=<ifname>:<speed>[:duplex]
#
# where:
# <ifname> is eth0, eth1, etc.
# <speed> is 10, 100, or 1000, or auto
# <duplex> is half or full (or empty if auto is set)
#
# auto and 1000 are synonymous (the gigE standard requires auto-negotiation,
# and the interface and switchport will negotiate 1000 full-duplex)
#
# Here are some examples:
# DEVICE=eth0:auto
# DEVICE=eth1:100:full
# DEVICE=eth2:10:half
#
# If auto (or 1000) is not set, then the duplex must be specified or
# the script will continue without flagging an error.

DEVICE=eth0:100:ful
 
Old 10-21-2008, 10:32 AM   #4
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
Code:
DEVICE=eth0:100:ful
you missed an l.

Whether it needs 100:full or auto depends on your switch. How is the switch port configured?
 
Old 10-21-2008, 10:49 AM   #5
mokku
Member
 
Registered: Feb 2007
Posts: 197

Original Poster
Rep: Reputation: 30
Switch configured as full duplex

Port 1/26 100Full

Does it need to be auto or full ? Thanks in advance


There was a type it was configured as FULL, I just missed the L.
 
Old 10-21-2008, 10:53 AM   #6
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
Then your card should be configured for 100/full to match the switch. Either both sides should be auto, or both sides forced to the same speed and duplex.

I have no idea why the ethconf file isn't working if you don't have a typo. You can use ethtool to force the speed/duplex manually.
 
Old 10-21-2008, 04:15 PM   #7
mokku
Member
 
Registered: Feb 2007
Posts: 197

Original Poster
Rep: Reputation: 30
Thanks a lot for helping me out. When we do ethtool eth0, does it grep the information form ethconf and display the mode, such as auto or full duplex?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
auto negotiation feature sulekha Linux - Networking 2 09-10-2008 08:01 AM
PPTP VPN routing negotiation slapin Linux - Networking 0 01-19-2007 07:16 AM
phase2 negotiation failed due to time up waiting for phase1 hishamiqbal Linux - Security 1 11-16-2004 03:38 PM
racoon -- ERROR: phase1 negotiation failed due to time up hishamiqbal Linux - Security 0 10-24-2004 01:43 AM
Crash upon card speed negotiation bcalder01 Linux - Networking 2 03-22-2004 07:44 AM


All times are GMT -5. The time now is 07:49 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration