Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
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.
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?
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.
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).
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
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.
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
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.
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.
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).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.