The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
configure full duplex hassan2 Linux 4 01-22-2008 12:31 AM
How to force a full duplex Remi SUN Solaris 2 12-01-2006 06:55 AM
full -duplex ? parvathy High Level Programming 1 06-11-2005 07:07 AM
Full Duplex Howto Phobos UNIX for Dummies Questions & Answers 4 01-01-2005 07:54 PM
How to configure Full Duplex and TCP/IP marc3483 UNIX for Dummies Questions & Answers 2 07-24-2002 09:55 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 09-01-2002
merlin
Guest
 

Posts: n/a
Full duplex at HUB?

Ok at the moment I have a hub whit 5 computers connected to it. It's a 10/100 NetGear hub.

Ok I heard that there is some command I can run or a file I edit or something like that. But what the command/file/script/whatever does is tells you what connect speed it's connecting to the hub to.

I can force all ports to be fullduplex but doesn't mean it's going to connect at that.

What would be the best way to see what connection speed it would be running at the hub to the computer?



Thx in advance

Forum Sponsor
  #2  
Old 09-02-2002
Registered User
 

Join Date: Sep 2000
Posts: 70
so far i know are hubs always half-duplex (switches are most tiems full duplex).this is because they make your network that way that it looks like that all connections are on the same line. if you send with one computer something to the hub they all recieve it.
  #3  
Old 09-02-2002
auswipe's Avatar
Registered User
 

Join Date: Nov 2001
Location: Wide Awake Wylie, Texas
Posts: 536
Re: Full duplex at HUB?

Quote:
Originally posted by merlin
Ok I heard that there is some command I can run or a file I edit or something like that. But what the command/file/script/whatever does is tells you what connect speed it's connecting to the hub to.
You can execute the command `ifconfig -a` to get a list of current status. On my FreeBSD machine, for example:

Code:
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 10.0.0.103 netmask 0xff000000 broadcast 10.255.255.255
        inet6 aa00::123:0abb:fe00:81f3%rl0 prefixlen 64 scopeid 0x1
        ether 00:00:00:00:00:00
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
I can see that my NIC, rl0 is running at 100 Mbit currently set to full-duplex.
__________________
Not quite as cool as all the other Kids...
  #4  
Old 09-02-2002
merlin
Guest
 

Posts: n/a
Yes your both right. Sorry though I should have explained myself a little better.

There something like ndd -a or some type of command that you can use to see what speed the connection between a hub or a switch is.

I'm not sure of the command and the more I look into it the more I get myself lost (though I do find out good things to do with Solaris )

Does anyone know of a way that can tell you the connection speed between teh NIC and the hub/switch?

I'm running Soalris 7

  #5  
Old 09-03-2002
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,667
Here is some stuff from my SunOS notes. Note that other OS'es will probably handle stuff like this differently.

You can see the settings for the interface card with:
ndd -get /dev/hme link_speed
(0=10 mb and 1=100 mb)
ndd -get /dev/hme link_mode
(0=half and 1 = full)

But this doesn't mean that the hub port is in agreement. Hubs that can switch speeds and duplexes with have some way to check the port.

You want 100 mb and full-duplex. Usually the speed will be right. But often the duplex is wrong. You don't want to use autonegotiation, it fails too often.

If your interface card has the wrong settings, you can fix without a reboot by doing:

ndd -set /dev/hme instance 0
ndd -set /dev/hme adv_100T4_cap 0
ndd -set /dev/hme adv_100fdx_cap 1
ndd -set /dev/hme adv_100hdx_cap 0
ndd -set /dev/hme adv_10hdx_cap 0
ndd -set /dev/hme adv_autoneg_cap 0
(The last one will take a few seconds.)

The permanent fix so things will be cool after next reboot is to add some lines to /etc/system:
set hme:hme_adv_autoneg_cap=0
set hme:hme_adv_100T4_cap=0
set hme:hme_adv_100fdx_cap=1
set hme:hme_adv_100hdx_cap=0
set hme:hme_adv_10fdx_cap=0
set hme:hme_adv_10hdx_cap=0
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:23 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0