Eth collisions w/ samba and how do you set duplex mode?
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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).
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.
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.
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.
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"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.