× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Mimic Dropbox Service on RN102 and Linux

bradjj
Aspirant

Mimic Dropbox Service on RN102 and Linux

I have been using Dropbox to sync files across multiple Linux machines at home.

While this works well I would like to keep my own data on my ReadyNAS rather than someone else's cloud.

 

I can mount the shared folder on the NAS via my file manager and open files from there. I can currently use one click from 'Cairo Dock Stack' or a desktop shortcut  to open and edit the files in the /home/Dropbox folder without the additional steps of mounting and browsing. I can then go to another machine and do the same.

 

Am I able to use my ReadyNAS in a similar way but just stay on my own network and not go out onto the web and come back in and without installing apps?

 

I suspect that my real question could be how to auto mount the shared NAS folder at login but after trying this:

mount [-t smb -o username=<user name>,password=<password>] //<ReadyNAS IP address>/<shared folder name> <mount point>

from here:

https://kb.netgear.com/23181/How-do-I-access-a-shared-folder-on-my-ReadyNAS-OS-6-storage-system-by-u...

 

I got no joy so thought it prudent to express my actual desired end result.

Firmware is 6.8.1

Thanks in advance.

Model: RN10200|ReadyNAS 100 Series 2-Bay (Diskless)
Message 1 of 4
Sandshark
Sensei

Re: Mimic Dropbox Service on RN102 and Linux

What error message, if any, are you getting?  Have you verified SMB access is on for the system and share?  Does the mount point directory exist?  Make sure your mount point in the command has the full path starting from /.

 

I have done this with two ReadyNASes, but used NFS instead of SMB for better retention of ownership and privileges.  Once I had it working with a manual mount command, I added a line to /etc/fstab to have it auto-mounted at boot.

Message 2 of 4
bradjj
Aspirant

Re: Mimic Dropbox Service on RN102 and Linux

Error message: For more details see mount(8).

SMB is green when I go to the admin page for the NAS at, system>settings NFS is also green.

Below is the output and command:

bradley@WR250:~$ sudo mount [-t smb -o username=bradley,password=xxxxxxxx] //http://192.168.1.2/2TB /home/bradley
[sudo] password for bradley: 

Usage:
 mount [-lhV]
 mount -a [options]
 mount [options] [--source] <source> | [--target] <directory>
 mount [options] <source> <directory>
 mount <operation> <mountpoint> [<target>]

Mount a filesystem.

Options:
 -a, --all               mount all filesystems mentioned in fstab
 -c, --no-canonicalize   don't canonicalise paths
 -f, --fake              dry run; skip the mount(2) syscall
 -F, --fork              fork off for each device (use with -a)
 -T, --fstab <path>      alternative file to /etc/fstab
 -i, --internal-only     don't call the mount.<type> helpers
 -l, --show-labels       show also filesystem labels
 -n, --no-mtab           don't write to /etc/mtab
 -o, --options <list>    comma-separated list of mount options
 -O, --test-opts <list>  limit the set of filesystems (use with -a)
 -r, --read-only         mount the filesystem read-only (same as -o ro)
 -t, --types <list>      limit the set of filesystem types
     --source <src>      explicitly specifies source (path, label, uuid)
     --target <target>   explicitly specifies mountpoint
 -v, --verbose           say what is being done
 -w, --rw, --read-write  mount the filesystem read-write (default)

 -h, --help     display this help and exit
 -V, --version  output version information and exit

Source:
 -L, --label <label>     synonym for LABEL=<label>
 -U, --uuid <uuid>       synonym for UUID=<uuid>
 LABEL=<label>           specifies device by filesystem label
 UUID=<uuid>             specifies device by filesystem UUID
 PARTLABEL=<label>       specifies device by partition label
 PARTUUID=<uuid>         specifies device by partition UUID
 <device>                specifies device by path
 <directory>             mountpoint for bind mounts (see --bind/rbind)
 <file>                  regular file for loopdev setup

Operations:
 -B, --bind              mount a subtree somewhere else (same as -o bind)
 -M, --move              move a subtree to some other place
 -R, --rbind             mount a subtree and all submounts somewhere else
 --make-shared           mark a subtree as shared
 --make-slave            mark a subtree as slave
 --make-private          mark a subtree as private
 --make-unbindable       mark a subtree as unbindable
 --make-rshared          recursively mark a whole subtree as shared
 --make-rslave           recursively mark a whole subtree as slave
 --make-rprivate         recursively mark a whole subtree as private
 --make-runbindable      recursively mark a whole subtree as unbindable

For more details see mount(8).
bradley@WR250:~$ 

 

Message 3 of 4
Sandshark
Sensei

Re: Mimic Dropbox Service on RN102 and Linux

OK, it's just listing the options for mount because you have not used proper syntax.

 

The brackets you see in the example are just to indicate those parameters are optional.  You don't actually use them when you type the command.

 

You also don't need sudo.  You are already logged in as root, and sudo just elevates the command to root.

Message 4 of 4
Top Contributors
Discussion stats
  • 3 replies
  • 1244 views
  • 0 kudos
  • 2 in conversation
Announcements