LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-02-2006, 11:00 PM   #1
sumathi
LQ Newbie
 
Registered: Jul 2005
Location: Bangalore
Posts: 13

Rep: Reputation: 0
How to send 5GB data from one machine to another


Hi,

I am using Dlink networm card which can support 10/100/1000Mbps.
Now I want to check the functionality of my card by transmitting some 5GB of data from one machine to another machine at different data speed (10 / 100/ 1000 Mbps). So please any one suggest me some procedure to do this.
I am able to ping two machines using cross cable.

Regards,
 
Old 03-03-2006, 12:01 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
You have a crossover connection and you can ping over the cards - good, the network connection is fine and packets are getting through your firewall OK.

The easiest way to transfer a file between the two machines would be to set up NFS shares. Share the file normally.

Set one machine as an ftp server, and ftp it over?

ssh into a machine from the other and get the file?

Apart from that, it isn't quite clear what you are asking.
I take it you know how to set the transfer speed for your card?
 
Old 03-03-2006, 12:21 AM   #3
sumathi
LQ Newbie
 
Registered: Jul 2005
Location: Bangalore
Posts: 13

Original Poster
Rep: Reputation: 0
Hi,

I can set the speed of the card. I will agree that to transmit data from one machine to another I have to set one machine as ftp server and another machine as client. So plaese suggest me how to set the machine as FTP Server.

Regards,
Sumathi
 
Old 03-03-2006, 02:00 AM   #4
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Depends on your distro. Might already be installed and running.
Try on the machines
Code:
ftp localhost
If no error message shows up, the server is running.
If so, try from the other machine using the ip-address. You might get an error due to blocked ip-address in which case you have to sort that out (firewall, ftp-server config).
 
Old 03-03-2006, 02:57 AM   #5
asimba
Member
 
Registered: Mar 2005
Location: 127.0.0.0
Distribution: Red Hat / Fedora
Posts: 355

Rep: Reputation: 42
Dunno - But if you know about vsftpd /ftpd it might help.

But I believe simply mounting shared folders should just help.
 
Old 03-03-2006, 03:01 AM   #6
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
If you want something just to do a single copy or something considerably lighter than FTP then maybe have a look at ncp. Super cool, basic and very easy to use
 
Old 03-05-2006, 12:51 AM   #7
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
sumathi: please tell us your distribution. This will help.

Apart from that, the only advise is to google. There are many pages of advise onthe internet and in these forums about how to set up ftp services for many different distributions.

As stated, there is a good chance that this is already set up.

Happy hacking.
 
Old 03-05-2006, 02:03 AM   #8
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Another solution is to setup openSSH on one of the machines. Install it, and then try "ssh localhost", and make sure you get no errors. Make sure that your firewall is allowing connections on port 22.

Goto the other machine, and use scp to copy the file -
Code:
scp user@remoteComputer:/path/to/file .
The file will transfer across the network, and I think it reports the transfer speed as well.

OpenSSH also includes a secure FTP server, which also listens on port 22. It is easier to setup (IMHO) than a normal ftp server, and is more secure. You can use it the same as normal ftp, just using sftp.

I hope this helps
--Ian
 
Old 03-05-2006, 02:08 AM   #9
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Not all distributions include large file support for ftp and it is a little tricky to get it working. Also the ftp client have to support for large file support which many distributions do not include. Just download the source for SAMBA and compile it for large file support on both systems. Then configure it. For now set security to share in /etc/samba/smb.conf.

1000 Mbps (megabit per second) network depends on the speed of the bus, hard drive, filesystem, and many other factors. What people do not known that many hard drives have a low sustain transfer. Usually Hitachi hard drives have the highest sustain than other brands. A 1000 Mbps NIC needs to be on a bus that have bandwidth of at least 266 MB per second.
 
Old 03-05-2006, 02:13 AM   #10
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Rep: Reputation: 34
I would second IBall's advice. scp would probably be the easiest way to go. I believe most modern distros include ssh. NFS would work, too, but you'd have to make sure the version of NFS you use supports large files (i.e. larger than 2GB).
 
Old 03-06-2006, 03:39 AM   #11
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
The utility scp will be as slow as ssh because it does encryption. Using either NFS or SAMBA will give better results for throughput.
 
  


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
Send data to the keyboard buffer rrodrigues Programming 5 07-20-2004 09:26 AM
getting ENOBUFS while trying to send data arb Programming 0 09-19-2003 06:52 AM
Dialing only when there is data to send via PPP ruchika Linux - Software 6 09-10-2003 11:30 AM
How to Send data to the parallel port lambada Programming 2 02-12-2003 09:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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