0

At home I have two laptops, one is running on Windows 10 the other one is running on Ubuntu 16.04.
Both are connect to a wireless router for internet.

How can I share files between these machine?

At the same time I want to be sure that only PCs connected to this router can see what they shares and transfer files with them .

  • 2
    Installing samba allows Ubuntu to access Windows networking. Then enable sharing on any directories you want to access from the other machine. (Hastur's answer appeared on my machine after I typed this.) – AFH Jul 7 '16 at 11:35
7
  • Normal sharing

    With samba under Linux [1],[2] you will be able to see the file shared by a Windows computer and to allow to windows users to see your files.

    With windows you can share one or more directories [3] as usual for the previous windows versions.

    You have to set the authorizations for the allowed users, if only for reading or even for writing...

  • Less normal sharing

    You can share from windows and mount it as a directory under your Linux filesystem with cifs eventually with more than one user settings, as asked few moments ago in this recent question "Mount cifs for 2 users".

  • NAS,[5] a drive to be connected to your router or to minicomputer connected to your network[6].

    Network-attached storage (NAS) is a file-level computer data storage server ... NAS is specialized for serving files either by its hardware, software, or configuration.

  • Cloud solutions
    Another way, more complicated even if more interesting, can be to create your own home cloud network [4] as your private dropbox system.
    Or you can rely on external solution as dropbox itself (or the many others, google drive, yandex drive...)

1

My first suggestion would be get drop box. You can just drag and drop files onto your dropbox account and use them off of both computers. Dropbox actually has a lan sync option which can automatically sync over files to each computer.

www.dropbox.com

If all else fails, you can always use USB thumb drives! Which actually could be faster depending on usb 3 compatibility and the size of the file you want to transfer.

  • Hastur posted a far better solution than dropbox. Mine was more of a workaround option. – Cannibal Doctor Jul 7 '16 at 11:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.