sunmingtao / sample-code

3 stars 4 forks source link

How to Mount WD MyCloud on Ubuntu #187

Closed sunmingtao closed 3 years ago

sunmingtao commented 3 years ago

To find the IP of WD MyCloud

sudo apt-get install nmap
sudo nmap -sn 192.168.31.0/24

To find the share folder name of WD MyCloud

sudo apt-get install smbclient
smbclient -L //192.168.31.191

Install cifs-utils sudo apt-get install cifs-utils

Create local folder sudo mkdir /media/<share_name>

Add mount drive config nano /etc/fstab

Add //192.168.31.191/share /media/<share_name> cifs, iocharset=utf8 0 0

Finally sudo mount -a

If you have password refer to: https://baihuqian.github.io/2019-10-20-how-to-mount-wd-mycloud-on-ubuntu-18-04/