Nas326 iDrive/pacman
jan_filipec
Posts: 9 Freshman Member
So I'm trying to run the idrive client directly on my nas326 to run cloud backup and i came up with the following options:
1. Somehow adapt the app idrive has made for Synology/qnap/asustor devices-have no clue if even possible
2. Use the perl script idrive provides for linux and run it under the native arch Linux-am stuck at installing perl, the pacman package manager is missing, failed to install it manually and can't get ffp fun plug to update because of no internet access
3. Use the perl script under Debian/Ubuntu-dont want to mess up the whole system with flash and also not sure how complicated it is to chroot it
4. Buy Synology instead and play with something else
1. Somehow adapt the app idrive has made for Synology/qnap/asustor devices-have no clue if even possible
2. Use the perl script idrive provides for linux and run it under the native arch Linux-am stuck at installing perl, the pacman package manager is missing, failed to install it manually and can't get ffp fun plug to update because of no internet access
3. Use the perl script under Debian/Ubuntu-dont want to mess up the whole system with flash and also not sure how complicated it is to chroot it
4. Buy Synology instead and play with something else
I would very much appreciate any advice. Also I'd like to try to use the Nas to control some relays sometime in the future so any help with the package manager and or tips in that direction would be great either way.
#NAS_Oct_2018
0
All Replies
-
Can you point me to a download link for that idrive app for Syno/...If you have a perl script which might do the job, you can try Entware-ng, which has some similarities with ffp. That is installable if you first install MetaRepository
0 -
App for synology machines:Linux scripts:The meta repository I have already, I'll try the entware-ng when I get home.Thanks.
0 -
Make sure you first update MR from the mirror, before trying to install Entware-ngAbout that Synology app, I downloaded the universal package IDrive-all.spk, which is actually a tar file, containing an archive package.tgz, containing a webinterface, and a binary idevsutil_IDrive, which seems to be the 'heart of the package'.That binary starts and spits a user manual on both my Medion and my NAS520. So I guess it will also do so on your NAS326.
<div>./idevsutil_IDrive <br>idevsutil version 1.0.2.8 release date 05-JUNE-2018<br>Capabilities: 64-bit files, socketpairs<br> IPv6, 64-bit system inums, 64-bit internal inums<br><br>idevsutil is a file transfer program capable of efficient remote update<br>via a fast differencing algorithm.<br><br>Options<br>(-h or /h) --help show this help (-h works with no other options)<br> --address=ADDRESS bind address for outgoing socket to daemon<br> --auth-list list files/folders level by level<br> --bw-file=PATH_OF_BW_FILE read bandwidth throttle value from FILE<br> --bwlimit=KBPS limit I/O bandwidth; Kilo Bytes per second<br> --config-account configure your account with encryption<br> --copy-within copy file(s)/folder(s) from one location to other,<br> within the account on server<br> --create-dir=DIR_PATH create a directory at server side<br> --delete-items delete file(s)/folder(s)<br> --deletefrom-trash permanently delete file(s)/folder(s) from trash<br> --enc-type=DEFAULT specify the type of encryption (--enc-type=DEFAULT or --enc-type=PRIVATE) that you wish to configure for your account<br> --event-month=MM specify month for events<br> --event-year=YYYY specify year for events<br> --eventid=EVENT_ID get the details for the specified event id<br> --get-quota get total quota, total space used etc. for a particular account<br> --save-event=DIR_PATH destination directory for event file download<br> --files-from=PATH_OF_FILE_LIST_FILE read list of source-file names from FILE<br> -0, --from0 all *-from/filter files are delimited by 0s<br> --get-size display size of the folder<br> --getServerAddress retrieve server address<br> -4, --ipv4 prefer IPv4<br> -6, --ipv6 prefer IPv6<br> --items-status file(s)/folder(s) status<br> --list-timeid list upload session time values<br> --moveto-original move file(s)/folder(s) from trash to original location<br> --mpc=0 automatically reads your computer name for <br> multiple computer backup<br> --mpc=COMPUTER_NAME provide custom computer name for<br> multiple computer backup<br> --password-file=PATH_OF_PSWD_FILE read password from<br> --port=PORT specify double-colon alternate port number<br> --properties file/folder properties<br> --proxy=PROX_INFO connect server via proxy.Example --proxy=PROX_USR:PROX_PWD<br> @PROX_IP:PROX_PORT<br> --pvt-key=PATH_OF_PVT_KEY_FILE read private encryption key from FILE<br> --rename rename file/folder. specify old and new file path names using<br> '--old-path=FILE_PATH --new-path=FILE_PATH parameters<br> --old-path=FILE_PATH use this parameter along with '--rename' to specify the old<br> file path name<br> --new-path=FILE_PATH use this parameter along with '--rename' to specify the new<br> file path name<br> -r, --recursive recurse into directories<br> -R, --relative use relative path names<br> --search search for file(s)<br> --sockopts=OPTIONS specify custom TCP options<br> --temp=PATH_OF_TEMP_DIR temp directory path<br> --timeline records timeline information<br> -t, --times preserve times<br> --timeid=DATE remember upload session with the time value reference.<br> Example: --timeid='DD-MM-YYYY HH:MM'<br> --trf-uprate calculate transfer rate for upload<br> --trf-downrate calculate transfer rate for download<br> --type display the type (FULL/INCREMENTAL/SYNC) of upload/download<br> --user=USERNAME specify the username<br> -v, --verbose increase verbosity<br> --client-version display version number for client<br> --server-version display version number for server<br> --version-info file version details<br> --validate validate your account<br><br><br>General Syntax for important features:<br>Note: 'idevsutil' is the executable file name<br><br>Validate Account:<br>idevsutil --validate --user=<username><br> <br>Configure Account:<br>idevsutil --config-account --enc-type=DEFAULT --user=<username><br> <br>Get server address:<br>idevsutil --getServerAddress <user name><br> <br>Upload: <br>idevsutil --pvt-key=<private encryption key file path> --files-from=<br><path of filelist file> / <br><username>@<server address>::home/ <br> <br>Download: <br>idevsutil --pvt-key=<private encryption key file path> --files-from=<br><path of filelist file><br><username>@<server address>::home/ /<download location on your computer>/ <br> <br>Display files/folders level by level: <br>idevsutil --auth-list --pvt-key=<private encryption key file path> <username>@<server address><br>::home/ <br> <br>Search files: <br>idevsutil --search <username>@<server address><br>::home/<search criteria> <br> <br>Version history: <br>idevsutil --version-info <username>@<server address><br>::home/<file path name for which you wish to retrieve version details> <br> <br>Delete files/folders: <br>idevsutil --delete-items --pvt-key=<private encryption key file path> --files-from=<path of<br>filelist file> <username>@<server address>::home/ <br> <br>Move files/folders from trash to original location: <br>idevsutil --moveto-original --pvt-key=<private encryption key file path> --files-from=<path of<br>filelist file> <username>@<server address>::home/ <br> <br>Delete files/folders from trash: <br>idevsutil --deletefrom-trash --pvt-key=<private encryption key file path> --files-from=<path of<br>filelist file> <username>@<server address>::home/ <br> <br>Display quota: <br>idevsutil --get-quota <username>@<server address>::home/ <br> <br>Find the details of a particular folder: <br>idevsutil --get-size <username>@<server address><br>::home/<folder path name>/ <br><br>Rename file/folder: <br>idevsutil --rename --old-path=<source path> --new-path=<destination path> --pvt-key=<private <br>encryption key file path> <username>@<server address>::home/<search criteria> <br> <br>List all available time value reference: <br>idevsutil --list-timeid <username>@<server address><br>::home/<folder path name>/ <br><br>Calculate upload transfer rate: <br>idevsutil --trf-uprate --pvt-key=<private encryption key file path> <username>@<server address><br>::home/<folder path name>/ <br><br>Calculate download transfer rate: <br>idevsutil --trf-downrate --pvt-key=<private encryption key file path> <username>@<server address><br>::home/<folder path name>/ <br><br>Directory creation: <br>idevsutil --create-dir=<directory path> --pvt-key=<private encryption key file path> <username>@<br><server address>::home/ <br> <br>Copy file(s)/folder(s) from one location to other within user account: <br>idevsutil --copy-within --pvt-key=<private encryption key file path> --files-from=<path of source<br> filelist file> <username>@<server address>::home/<destination path><br> <br>Display file/folder properties: <br>idevsutil --properties <username>@<server address><br>::home/<file/folder path><br> <br>Events detail for the specified month and year: <br>idevsutil --event-month='MM' --event-year='YYYY' <username>@<server address><br>::home/<br> <br>Download event details for the specified month and year :<br>idevsutil --event-month='MM' --event-year='YYYY' --eventid=<event id> --save-event=<dir path for save> <username>@<server address><br>::home/<br> <br>Display version number for client:<br>idevsutil --client-version<br> <br>Display version number for server :<br>idevsutil --server-version <username>@<server address><br>::home/<br> <br>List all the sub accounts for a particular account:<br>idevsutil --getSubAccounts --user=<username><br> <br>Get main / parent account name and path for a particular account:<br>idevsutil --getAccountDetails --user=<username><br> <br>Note: --pvt-key parameter is optional and it is not required if you opt for the default encryption <br>key during your account sign up.<br> <br>Note: Use --no-recursive parameter to avoid subfolders during file / folder upload.<br> <br>Note: Use --100percent-progress parameter to display the file upload / download progress on 100 percent completion.<br> <br>Note: Use EVS_TEMP_DIR environment variable to set temporary directory.<br> <br>idevs error: syntax or usage error (code 1) at main.c(2878) [client=1.0.2.8]<br><br></div><div><br></div><div><br></div>
0 -
Ok, so the binary runs also on my NAS. I wasn't able to make it do anything useful yet, but it seems to be possible. Thank you.
I also installed perl through Entware-ng<div>root@xxx:/# perl -v This is perl 5, version 28, subversion 0 (v5.28.0) built for arm-linux-glibc</div><div><br></div><div>Copyright 1987-2018, Larry Wall</div><div><br></div><div>Perl may be copied only under the terms of either the Artistic License or the</div><div>GNU General Public License, which may be found in the Perl 5 source kit.</div><div><br></div><div>Complete documentation for Perl, including FAQ lists, should be found on</div><div>this system using "man perl" or "perldoc perl". If you have access to the</div><div>Internet, point your browser at http://www.perl.org/, the Perl Home Page.</div>
however perl -V gives me<div>root@xxx:/# perl -V Can't locate Config.pm in @INC (you may need to install the Config module) (@INC contains: /opt/lib/perl5/5.28).</div><div>BEGIN failed--compilation aborted.</div>
and running a scriptroot@xxx:/# perl .script/account_setting.pl Can't locate strict.pm in @INC (you may need to install the strict module) (@INC contains: /opt/lib/perl5/5.28) at ./account_setting.pl line 7. BEGIN failed--compilation aborted at ./account_setting.pl line 7.
Any idea how to install it correctly?
Thanks.0 -
Any idea how to install it correctly?
I'm not very into perl, but
(you may need to install the strict module)
(you may need to install the Config module)<br>Executing
su<br>opkg list | grep perl
gives a list of available perl stuff, including a 'perlbase-config', but no strict. According to this site you can use cpan to install perl modules, and there is a 'perlbase-cpan'.
0
Categories
- All Categories
- 415 Beta Program
- 2.4K Nebula
- 144 Nebula Ideas
- 94 Nebula Status and Incidents
- 5.6K Security
- 239 USG FLEX H Series
- 267 Security Ideas
- 1.4K Switch
- 71 Switch Ideas
- 1.1K Wireless
- 40 Wireless Ideas
- 6.3K Consumer Product
- 247 Service & License
- 384 News and Release
- 83 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.2K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 83 About Community
- 71 Security Highlight