Connect linux and windows computers for file transfer

user202476

How to Connect linux and windows computers for file transfer and file sharing please tell me a way I have a router how can I use that to connect two machines both running on two different OS.

Matthew Williams

I to shall assume Ubuntu. Samba will do nicely. You could also use FTP/SFTP depending on file size.

https://help.ubuntu.com/10.04/serverguide/ftp-server.html

If you give us more specifics as to what you want to do we can give more detailed answers.

  • Do you want to control your files and transfer methods through Windows or Linux?
  • Do you want files accessed through external networks?

These might be good places to start.

EDIT: Based on your above comment you tried something and couldn't get it to work. So lets go through steps for Samba hosted through your Linux machine.

Start off by opening your terminal

sudo apt-get install samba

sudo nano /etc/samba/smb.conf

Edit:

;Security = user

to:

Security = user

Ctrl X to exit and Y to save the file.

Now set a samba password for your user with:

sudo smbpasswd -a username

Make your samba directory and edit the permissions on it.

sudo mkdir /home/samba
sudo chown -R username:username /home/samba
sudo chmod -R 700 /home/samba

Set your samba folder up:

sudo nano /etc/samba/smb.conf

Scroll down to the list of current setups. Think it's somewhere under the header printers and put something like:

[home share]
comment = Ubuntu File Server Share
path = /home/samba
browsable = yes
guest ok = yes
read only = no
valid users = @username

Ctrl X to exit and Y to save.

Now restart Samba

sudo service samba restart

To get your IP to connect run and note down the IP 192.168.....(whatever it is):

ifconfig

Go onto your Windows machine and Ctrl R to run. Type \ip of linux machine and Enter

Try something like that should give you a nice setup Samba file share on your internal network.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Transfer file from linux to windows

From Dev

Transfer file using SFTP from Windows to Linux

From Dev

Transfer file using SFTP from Windows to Linux

From Dev

Direct transfer of a file between two computers on the Internet

From Dev

Windows 10 cannot connect to windows 7 computers

From Dev

Transfer file from SSH server on Windows substem for Linux (Ubuntu) to Windows

From Dev

Need to automate file transfer from linux server to windows shared folder

From Dev

Linux Mint 18 file manager doesn't show all Windows computers

From Dev

Best way to transfer files over a LAN between two Linux computers

From Dev

Transfer files between raspberry pi and Multiple Linux OS computers?

From Dev

Remotely access Linux from Windows computers

From Dev

windows 10 not showing computers in network in file browser

From Dev

Using bridge utils to connect two computers via Linux

From Dev

VirtualBox - How to connect LAN computers to Windows XP Guest

From Dev

Secure direct-connect file transfer program

From Dev

Automate file transfer to a windows server

From Dev

How to transfer a file from a remote linux machine using SCP with Mingw on Windows7

From Dev

Is it possible to transfer a file from a Linux Bash script to Windows without mounting the server folder?

From Dev

Linux to Windows remote desktop - is \\tsclient visible for other computers

From Dev

Connect 2 computers remotely

From Dev

Transfer to FTP file by file in windows batch script

From Dev

Transfer to FTP file by file in windows batch script

From Dev

Windows file permissions/ownership are preventing me syncing between computers

From Dev

How to transfer Windows Netbeans projects into linux Netbeans

From Dev

Transfer files between Windows and Linux machines?

From Dev

Transfer data between db on windows to linux

From Dev

File is arriving empty when I attempt to transfer between computers using sockets

From Dev

Automatic file transfer between two linux machines

From Dev

Transfer executable file from Linux to mac

Related Related

  1. 1

    Transfer file from linux to windows

  2. 2

    Transfer file using SFTP from Windows to Linux

  3. 3

    Transfer file using SFTP from Windows to Linux

  4. 4

    Direct transfer of a file between two computers on the Internet

  5. 5

    Windows 10 cannot connect to windows 7 computers

  6. 6

    Transfer file from SSH server on Windows substem for Linux (Ubuntu) to Windows

  7. 7

    Need to automate file transfer from linux server to windows shared folder

  8. 8

    Linux Mint 18 file manager doesn't show all Windows computers

  9. 9

    Best way to transfer files over a LAN between two Linux computers

  10. 10

    Transfer files between raspberry pi and Multiple Linux OS computers?

  11. 11

    Remotely access Linux from Windows computers

  12. 12

    windows 10 not showing computers in network in file browser

  13. 13

    Using bridge utils to connect two computers via Linux

  14. 14

    VirtualBox - How to connect LAN computers to Windows XP Guest

  15. 15

    Secure direct-connect file transfer program

  16. 16

    Automate file transfer to a windows server

  17. 17

    How to transfer a file from a remote linux machine using SCP with Mingw on Windows7

  18. 18

    Is it possible to transfer a file from a Linux Bash script to Windows without mounting the server folder?

  19. 19

    Linux to Windows remote desktop - is \\tsclient visible for other computers

  20. 20

    Connect 2 computers remotely

  21. 21

    Transfer to FTP file by file in windows batch script

  22. 22

    Transfer to FTP file by file in windows batch script

  23. 23

    Windows file permissions/ownership are preventing me syncing between computers

  24. 24

    How to transfer Windows Netbeans projects into linux Netbeans

  25. 25

    Transfer files between Windows and Linux machines?

  26. 26

    Transfer data between db on windows to linux

  27. 27

    File is arriving empty when I attempt to transfer between computers using sockets

  28. 28

    Automatic file transfer between two linux machines

  29. 29

    Transfer executable file from Linux to mac

HotTag

Archive