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


Reply
  Search this Thread
Old 12-30-2001, 10:00 PM   #1
system
Member
 
Registered: Dec 2001
Distribution: LFS, RH, Slack
Posts: 104

Rep: Reputation: 15
Eth collisions w/ samba and how do you set duplex mode?


I am getting a very large amount of collisions while transferring files using samba. My network consists of only two computers connected by a hub. One is RedHat 7.1 and one is Win98. I have read that this may be due to the nic cards being in full duplex mode without a switch. Should full duplex mode not be used with a hub, only a switch? How can I check what mode my card in the linux box is in and set it, if necessary? Thanks.
 
Old 12-31-2001, 06:56 AM   #2
bluecadet
Member
 
Registered: Oct 2001
Distribution: MD81 RH71
Posts: 555

Rep: Reputation: 30
seriously, if you've only 2 machines... why use a hub? i'd assume it's a 10base hub and 100base cards? well just get a sharp knife and go to work on the cable. you'll speed your network up 10 fold. (well 10ish).

as for checking modes, if your card is a rtl8139 generic then check http://www.scyld.com/network/rtl8139.html other cards may well have similar programs.
 
Old 12-31-2001, 07:14 AM   #3
system
Member
 
Registered: Dec 2001
Distribution: LFS, RH, Slack
Posts: 104

Original Poster
Rep: Reputation: 15
Can't do that. The reasoning for the hub is that, once the linux box is set up, there will be four machines on the hub all being served by the linux box.

The card in the linux box is a 3Com 900. It uses the stock 50x/90x driver. I've read that there are some problems with this card/driver, although I don't really understand what the problem actually was. The Win98 box has a cheap NetGear card.

I used mii-tools to check the 3Com card. It says it's in half-duplex mode. The Win box says it is in half duplex mode.

When I play an mp3 file off of the linux box, there are not really any collisions. The problem is only really evident when I am copying a file from one box to the other. When I do this, the collision light on the hub lights up solidly. The speed is not bad though, so perhaps it is normal. I worry that performance will be degraded when I add two more machines to the hub, though.
 
Old 12-31-2001, 04:04 PM   #4
tarballedtux
Member
 
Registered: Aug 2001
Location: Off the coast of Madadascar
Posts: 498

Rep: Reputation: 30
Here the problem

The problem is that your using a hub. With only two computers a hub is fine. More that two lets say four Then collisions are all over the place. What you need to do is get a switch( less than a $100) That can help alot. I was suprised nobody knew that.



--------------------------------------
tarballedtux -- the CCNA dork.
 
Old 12-31-2001, 05:19 PM   #5
system
Member
 
Registered: Dec 2001
Distribution: LFS, RH, Slack
Posts: 104

Original Poster
Rep: Reputation: 15
I'm getting the collisions whith only two machines, though. I haven't tried all four on the hub yet.
 
Old 01-01-2002, 05:24 PM   #6
tarballedtux
Member
 
Registered: Aug 2001
Location: Off the coast of Madadascar
Posts: 498

Rep: Reputation: 30
Of course there are collisions, collision always happen. I was asying that it will get worse when four machines are on the network. So a switch is neccesary to minimize the collisions. Also, full-duplex doesn't happen with hubs, I belive only switches.


-------------
CCNA Geek
 
Old 06-07-2002, 04:21 AM   #7
LinuxRacr
Member
 
Registered: Jun 2002
Distribution: CentOS 5.3
Posts: 50

Rep: Reputation: 15
I have a switch, and still get mad collisions. I want to turn my NE200 (ne2k-pci) compatible Kingston NIC to Full Duplex. How do I do that?
 
Old 06-07-2002, 10:48 AM   #8
system
Member
 
Registered: Dec 2001
Distribution: LFS, RH, Slack
Posts: 104

Original Poster
Rep: Reputation: 15
Use the program mii-tools if you don't have it, you should get it. It is usually in the /sbin/ directory. If you have it and need to know how to use it, look at the man page with "man mii-tools"
 
  


Reply



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
collisions and samba.... Basslord1124 Linux - Networking 5 03-20-2005 09:52 PM
Duplex Mode ? cccc Linux - Networking 0 11-19-2004 04:30 PM
100Mbps Full Duplex mode bpenris Linux - Networking 4 10-28-2004 02:39 AM
Setting Speed/Duplex Mode for ethernet NewLinuxEE Linux - Networking 5 01-12-2004 08:27 AM
promiscuous mode of eth santoshbhise Linux - Newbie 1 02-01-2002 09:58 AM

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

All times are GMT -5. The time now is 10:55 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