Page 1 of 1
SOLVED: Connecting to a WD My Cloud Drive
Posted: Sun Feb 28, 2016 9:11 am
by Lafours23
Very new at this so I apologize if this is a dumb question. I recently re-purposed an old PC and installed Amahi on it. I already have a WD My Cloud Drive that I have been using as a media server and works great. What I am trying to do is use Couchpotato to manage my torrenting and transfer the completed file to my WD Cloud Drive, but I can't seem to find a way to accomplish this. I tried mounting the drive but nothing I have found seems to work.
Anyone know of a way I can add the WD My Cloud Drive to Amahi so I can transfer files to it using Couchpotato?
Re: Connecting to a WD My Cloud Drive
Posted: Sun Feb 28, 2016 9:49 am
by bigfoot65
Anyone know of a way I can add the WD My Cloud Drive to Amahi so I can transfer files to it using Couchpotato?
Is this an actual drive or something in the cloud?
You may have to use a third-party tool to transfer files from the HDA to it via a client machine or Linux bash script.
Re: Connecting to a WD My Cloud Drive
Posted: Sun Feb 28, 2016 9:55 am
by Lafours23
It's an actual drive that I have connected to my router
http://www.amazon.com/Cloud-Personal-Ne ... B00EVVGAC6
Re: Connecting to a WD My Cloud Drive
Posted: Sun Feb 28, 2016 10:00 am
by bigfoot65
Ok, then you should be able to access it via an IP address/folder name or similar?
If so, then you can try adding that to the app or just create a script to do the work.
This is something a little more advanced, so you may need to look for guidance on the internet. I am sure there is someone who has done something similar and posted it out there.
Re: Connecting to a WD My Cloud Drive
Posted: Sun Feb 28, 2016 10:07 am
by Lafours23
I can access it, with the IP address. My issue is with couchpotato as it requires a mounted drive (I believe) so I need to mount the network drive to the share in Amahi.
I have tried this with no luck
mount -t cifs -o <username>,<password> //<Server>/<sharename> /mnt/point/
Re: Connecting to a WD My Cloud Drive
Posted: Sun Feb 28, 2016 10:11 am
by bigfoot65
My issue is with couchpotato as it requires a mounted drive (I believe) so I need to mount the network drive to the share in Amahi.
Yes that is correct. Mounting a drive is not as simple as just executing the line. You have to create the mount point as well.
Now I understand what you are trying to do. This is how I have mine mounted in
/etc/fstab:
//xxx.xxx.xxx.xxx/Music /media/samba/Music cifs credentials=/root/.smbcredentials,rw,_netdev,uid=1000,gid=1001,iocharset=utf8,mode=0777,dir_mode=0777 0 0
The file /root/.smbcredentials looks like this:
username=WORKGROUP\firstadminuser
password=PASSWORD
Obviously you would replace the the names above with your own. I also created the
/media/samba/Music on the HDA. Once you have all this done, you can then do as root user:
If it works, you should be able to see files in the folder noted above. I use this to write files from
sick-beard App to my HDA shares as my app is running on a VM and not the HDA.
Re: Connecting to a WD My Cloud Drive
Posted: Sun Feb 28, 2016 10:46 am
by Lafours23
I appreciate this, I actually did some of that when i was researching but I think I see the issue.
with your .smbcredentials is that the login to the network drive, or are you entering the server credentials?
Re: Connecting to a WD My Cloud Drive
Posted: Sun Feb 28, 2016 10:51 am
by bigfoot65
That is the login to the network drive. Since I was using the HDA shares, that's why it looks as such.
Re: Connecting to a WD My Cloud Drive
Posted: Sun Feb 28, 2016 11:01 am
by Lafours23
Looks like I didn't have the domain in my file, I added that and it now works.
Thank you so much for your time!!!
Re: Connecting to a WD My Cloud Drive
Posted: Sun Feb 28, 2016 11:08 am
by bigfoot65
Happy to hear it's now working.
Will close this one as resolved.