LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   How to send 5GB data from one machine to another (https://www.linuxquestions.org/questions/linux-hardware-18/how-to-send-5gb-data-from-one-machine-to-another-421135/)

sumathi 03-02-2006 11:00 PM

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,

Simon Bridge 03-03-2006 12:01 AM

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?

sumathi 03-03-2006 12:21 AM

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

Wim Sturkenboom 03-03-2006 02:00 AM

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).

asimba 03-03-2006 02:57 AM

Dunno - But if you know about vsftpd /ftpd it might help.

But I believe simply mounting shared folders should just help.

cs-cam 03-03-2006 03:01 AM

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 :)

Simon Bridge 03-05-2006 12:51 AM

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.

IBall 03-05-2006 02:03 AM

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

Electro 03-05-2006 02:08 AM

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.

daihard 03-05-2006 02:13 AM

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).

Electro 03-06-2006 03:39 AM

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


All times are GMT -5. The time now is 05:10 AM.