November 22, 2024, 08:37:41 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: how to share files between linux machines in LAN  (Read 5830 times)

Offline christopher_1

  • Linux Noob !
  • *
  • Posts: 22
how to share files between linux machines in LAN
« on: February 27, 2006, 05:56:29 AM »
Try to connect two machines via ethernet for file transfer purpose.
'Ifconfig' shows eth0 to be alive & well
on both sides and if I ping i am able to ping to the machine. But i dont know how to share files please help me...

the machine ip address are 192.168.100.14 and 192.168.100.2, i am able to ping to these machines from one another. I want to copy some files from 192.168.100.2 to 192.168.100.14. How to do it?

Thanks,
Christopher.

Offline shani

  • Tux Awared
  • **
  • Posts: 36
how to share files between linux machines in LAN
« Reply #1 on: February 28, 2006, 09:29:46 AM »
Hi
you need to configure samba server on linux then you can copy files to
linux machine and from linux to windows.

please see the my recent post with subject "how to setup samba server"

thanks
SHANI

Offline Abhishek_Jain

  • Linux Noob !
  • *
  • Posts: 8
how to share files between linux machines in LAN
« Reply #2 on: March 01, 2006, 10:24:10 AM »
Hi
   you can share the files between linux machines by configuring NFS. It is much
   easier than samba . Or if you just want to copy the file you can do it thru ftp .

Offline dragoncity99

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 551
how to share files between linux machines in LAN
« Reply #3 on: March 03, 2006, 09:33:27 AM »
If u wanna just to simply copy the file to the other machine then u can just use the scp command to copy over the files.....


1. Use scp command (SSHD must be started on the target copy machine)
or example to copy a single file:
scp A_FILE username@that.machine.ip:/path/to/directory

2. Enable the simple ftp service on target machine

3. Use the sftp version to connecto the the target copy machine to upload it. U must have the SSHD service to run on the target machine too.