How Can I …

Home » CentOS » How Can I …
CentOS 4 Comments

I’ve got a WD My Passport Ultra 1TB (USB) plugged into my router and I
have 4 Windows machines, all running Windows 7, and all 4 machines can see the device as drive ‘Y’. I use this device several ways, i.e. all my Windows machines use the same Firefox bookmarks and cookies

I’ve got 5 machines running CentOS 6 x86_64 and I’d like to know what do I have to do for them to ‘see’ that same 1TB device? Right now I use winscp to get the data from CentOS and save it on the device via Windows.

4 thoughts on - How Can I …

  • I would assume they are being shared via smb for your windows machines, I
    would read up on accessing winblows file shares with CentOS. Most likely you will need to install samba in order to see the shares.

    If you can provide more details on how the router is sharing the files for windows we can provide more detailed guidance.

  • something similar to this might work for you

    $ sudo mount.cifs //192.168.1.254/share /mnt -ouser=route_account,vers=2.0

    vers=2.0 might not be necessary for you if your router supports more modern versions of smb or if you are not running a newish kernel that defaults to 3.0

    man mount.cifs

    The default since v4.13.5 is for the client and server to negotiate the highest possible version greater than or equal to 2.1. In kernels prior to v4.13, the default was 1.0. For kernels between v4.13 and v4.13.5 the default is 3.0.

    Mark

  • If your CentOS machine has graphics (Gnome etc), you should be able to point your file browser at smb://ip_address/share_name

  • Have you gone to the drive’s web interface on your local net? (http://[ip of drive]) It has been my experience that these network storage devices typically come pre-configured for smb/sftp/(and one other i can’t remember). The drive itself has a web interface in most cases allowing you to configure users and permissions. After you configure (if needed) a network discovery on the CentOS systems should show the NSD and allow a connection as you desire. Mine does a smb connection to my Windows system while I use sftp on all my Linux systems integrating file share seamlessly through the NSD. I don’t care to put smb on my Linux machines as it seems to cause more trouble than it is worth; but, that is just a personal preference.

    My 2 bits, Fred