Can't connect to shared external USB from Linux/Android,can from Win10

Page 2 of 2 FirstFirst 12

  1. pkh
    Posts : 4
    Win 7
       #11

    Thanks valihrach for your time and help. Looks like it is not a simple straight fix. Will spend more time with it later. Thank you so much.
      My Computer


  2. Posts : 11,247
    Windows / Linux : Arch Linux
       #12

    Hi there

    If the USB can be mounted on the Linux device then you should be fine

    Do the following as Root on the Linux device

    1) Create a read / write directory in Linux directory /mnt say DV (data volume)

    2) if the device is say /dev/sdd then mount it : mount /dev/sdd -t auto -o rw /mnt/DV
    (If device is already mounted via automount etc simply unmount it first : umount /dev/sdd before doing step 1.

    Auto means you don't have to specify the file system --even if it's FAT32 or NTFS but:
    Ensure though that package ntfs-3g is installed if the file type is ntfs. Most distros have it by default but not all e.g Centos - so you might have to install it with your package manager. Linux can read / write to NTFS these days.

    3) check now you can create a file on /mnt/DV you might need to be root to do it first time.

    4) allow permission of access you want to directory and all subdirectories (via permissions / properties).

    5) add a share /mnt/DV to your SAMBA smb file (smb.conf) for example :

    [Datastore]

    comment VM's, Backups, data vol
    path = /mnt/DV
    guest ok = yes
    writeable = yes
    browseable = yes

    6) restart samba (usually two services required smb and nmb (or smbd nmbd depending on your distro).

    Now if the file is attached to windows only then things go bonkers with some smart TV's etc as they just won't connect so I'd solve the problem from the Linux end as above - it usually always works.

    I've had external USB Hdd's on Windows that just aren't seen by ez file explorer or smart TV's - but when attached to a Linux machinre either via a VM or a real machine no problem at all with connections. Linux BTW handles NTFS file systems these days for both read and write.

    Works fine too on things like Amazon Fire stick / TV box - if you do it the Linux way -- VLC on the remote device can see and play files on your external USB.

    VLC is standard on Amazon fire sticks / TV boxes- often better than PLEX as it can play more codecs without transcoding being needed. Plex is supported BTW on those Firesticks (and Google chromecast type of devices too).


    I've found creating a small Linux VM just for sharing HDD's and multimedia is well worth it -- create the external HDD as ext4 - that file system is so much more efficient than NTFS that the overhead (very small) of the VM when you want to access the files on Windows via samba is well worth it. Of course though if you have other windows machines that can't access your Linux samba server then of course you'll have to stick with NTFS if you need to remove the HDD and connect to other computers from time to time.


    Cheers
    jimbo
    Last edited by jimbo45; 20 Nov 2016 at 04:50.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 04:09.
Find Us




Windows 10 Forums