LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-15-2004, 05:52 PM   #1
xtra
LQ Newbie
 
Registered: Jun 2004
Posts: 20

Rep: Reputation: 0
filecopy from xp to samba slow, copy to mounted share fast


I have an xp and a redhat box.

When I copy a file from the xp box to a samba share, it takes ages.

When I copy a file from my linux box to a mounted share on the xp box it goes super duper fast.

What does this mean? I have used the tool included in redhat, to make the samba shares user level security. This is all okay because I can connect, logon etc.

A friend said it was my UTP cable but I don't believe him, or is he right?
 
Old 07-15-2004, 05:55 PM   #2
xtra
LQ Newbie
 
Registered: Jun 2004
Posts: 20

Original Poster
Rep: Reputation: 0
I fixed it ayeddy

It was the router that forced 100 full duplex on my cards. I put it on autonegotiate and al works fine now.

Thanks
 
Old 07-25-2004, 05:50 AM   #3
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Rep: Reputation: 30
hi,
I'm having a similar problem, but the other way around:
XP to Linux is fast but Linux to XP is about 5k/s

Can you expalin what the duplex settings mean?
 
Old 07-26-2004, 04:32 AM   #4
xtra
LQ Newbie
 
Registered: Jun 2004
Posts: 20

Original Poster
Rep: Reputation: 0
Duplex settings mean the speeds at wich your network cards communicate with one another. This is on a hardware level.

Some cards are 10mbit, some 10 mbit full duplex(wich actually means that itīs pumping data TO you as fast as itīs sending it FROM you - so full speed bidirectional traffic). Many cards just say they are 100mbit, and say nothing about the full duplex part.

So what you will have to do is check out your router settings and card settings, put everything on īauto-negotiateī and bobīs your uncle.
 
Old 07-26-2004, 04:45 AM   #5
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Rep: Reputation: 30
thx for the info, xtra.

My settings are on autonegotiate, so that's not the problem.

I was wondering: could it be the fact that on my Linux box, I have CAT5 e crossover cable that connects to the router but on my PC I have a CAT5 straight through cable that connects to the router.

Could that cause this kind of problem?
 
Old 07-29-2004, 04:04 PM   #6
xtra
LQ Newbie
 
Registered: Jun 2004
Posts: 20

Original Poster
Rep: Reputation: 0
Well, yes!

The full duplex uses all 8 wires (as far as I know). Older connection types use the four in the middle. If the one pair of four is connected correct, and the other pair is missing one or two connections, it could quite well produce a problem like yours. I'm only not sure if the autonegotiate would not pick up on that...

The fact that your cable is crossover is quite funny... Normally you would not be able to connect anything. There are some routers that can sense the kind of cable and ignore the type, but I've only seen that on professional routers (ie, the really expensive ones).

Anyway, try a new cable (preferrably a straight one), it could solve the problem really quick, especially if all duplex settings are correct.
 
Old 07-29-2004, 04:37 PM   #7
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Rep: Reputation: 30
Hi xtra,

I did actually fix the problem the other day.
I was all out of ideas as to what it could be and I was trying random things in a vain hope of getting it working.
One thing I tried was to install a NIC on my Linux box instead of using the on board motherboard NIC.
Low and behold this cured the problem.
I can only assume that the on board motherboard NIC must have been faulty in some way.

Cheers
Ludwig
 
  


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
Can't get RW permission on a mounted samba share darkangel12613 Linux - Software 6 08-31-2006 07:04 AM
export a mounted Samba share w/NFS nifflerX Linux - Software 3 07-18-2005 11:29 PM
nfs / nis problem - slow copy to servermounts but fast from server to local hdd krischeu Linux - Networking 1 06-09-2005 11:05 AM
samba: linux mounted share = choppy playback, windows mounted share = smooth kleptophobiac Linux - Software 2 04-10-2005 08:23 AM
Process dies when i try to browse mounted SAMBA windows share poko Linux - Software 1 08-12-2004 11:40 PM


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