DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2007-09-02 10:31:40

ka3ak
Member
From: Calgary, Canada
Registered: 2007-07-16
Posts: 21

Rar archivator for DNS 323 unit

Hi,

Could someone please tell me how to install RAR on DNS-323?

I have fun_plug installed and telnet connection. I want  to be able to unrar some archives that are on my DNS -323 through telnet .

What I did so far is downloaded linuxrar-3.6.0.tar.gz from Rarlab website and unpacked it using my PC to the temp folder on DNS-323. After that using telnet connection I moved files "rar" and "unrar" from temp folder to the bin folder. However when I input through telnet "unrar e myfile.rar" the following error comes up : /bin/unrar: 1: Syntax error: "(" unexpected.

What do I do wrong ?

Thanks for help.

Offline

 

#2 2007-09-02 21:05:46

alexie
Member
Registered: 2007-09-01
Posts: 7

Re: Rar archivator for DNS 323 unit

You download RAR/unRAR for the ARM architecture? Default i386 build will not work.

Offline

 

#3 2007-09-03 07:11:56

ka3ak
Member
From: Calgary, Canada
Registered: 2007-07-16
Posts: 21

Re: Rar archivator for DNS 323 unit

I am not sure. I grabbed the one that is called rarlinux.3.7.0.tar.gz from the rarlab.com Which one should I have then ? If you can please could you post the link to the proper version ?
Thanks.

Offline

 

#4 2007-09-03 09:10:18

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: Rar archivator for DNS 323 unit


DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

#5 2007-09-13 21:36:03

ka3ak
Member
From: Calgary, Canada
Registered: 2007-07-16
Posts: 21

Re: Rar archivator for DNS 323 unit

sala

Thanks ... Didn't have a chance to install it earlier .... Anyways ... it works but it doesn't unrar some of the archives ...%) It says : no files to extract. When I use Winrar under Windows the archive extracts just fine. It is not corrupt or password protected . Does it depends on version of winrar that was used to compress the file ?

Offline

 

#6 2007-11-19 13:17:06

index monkey
Member
From: UK
Registered: 2007-06-14
Posts: 112

Re: Rar archivator for DNS 323 unit

I have not experienced any issues with the arm version or rar.
I have processed many rar volumes. syntax ./unrar e whatever.rar


DNS-323, HW B1, 2 x 2TB WD green, fw 1.08, fun_plug 0.5, transmission, automatic, nzbget newsreader & rsync time machine backup.

Offline

 

#7 2007-11-21 00:50:42

truxntrax
Member
Registered: 2007-11-16
Posts: 33

Re: Rar archivator for DNS 323 unit

I have download and extract this file to /etch/bin.  Is that all I need to do?  My SABnzbd programme still cannot extract the archives - it says at least one file failed to be unpacked.  How do I test my installation of Unrar whan I have many rar files (001, 002, 003 etc...) in a directory? 

(Sorry I am a Linux noob - got the unix manual sat here on my desk!)

Only way I can extract the files on my downloaded rar files on the 323 is using my vista machine with Windows unrar sad

Thanks for your help!

Trux

Last edited by truxntrax (2007-11-21 01:18:02)

Offline

 

#8 2007-11-21 12:28:37

index monkey
Member
From: UK
Registered: 2007-06-14
Posts: 112

Re: Rar archivator for DNS 323 unit

I think .001, 002, 003 files are not rars... rar volumes are usually r00, r01 or the obvious .rar

.001 .002...etc files are joined with hjsplit, mastersplitter or winsplit.

Hope that helps.

Last edited by index monkey (2007-11-21 12:29:55)


DNS-323, HW B1, 2 x 2TB WD green, fw 1.08, fun_plug 0.5, transmission, automatic, nzbget newsreader & rsync time machine backup.

Offline

 

#9 2007-11-21 14:20:51

truxntrax
Member
Registered: 2007-11-16
Posts: 33

Re: Rar archivator for DNS 323 unit

Got this sorted now - didn't have the unrar file in /usr/bin just had it in /bin.

SABnzbd is now happily locally extracting my downloaded rar files.

Now I guess just got to work out how to cross compile this for the native 323 without Debain Etch.

Any pointers?  Thinking about how to cross compile all the python stuff....?  Ubuntu machine ready to go!

Thanks

Trux

Last edited by truxntrax (2007-11-21 15:01:18)

Offline

 

#10 2008-07-02 10:03:00

EnricoM
Member
From: Netherlands
Registered: 2008-06-03
Posts: 77

Re: Rar archivator for DNS 323 unit

I experienced segmentation faults using the above unrar package and/or the unrar-free package (on some rar archives, probably rar version 3), causing hellanzb to produce empty download folders and making the CH3SNAS unstable. After switching to unrar-nonfree these rar archives were extracted without error.

To install the unrar-nonfree package under chrooted etch environment you need to perform following actions:

1 - backup the file /etc/apt/sources.list and create a new one with only the following line
deb http://ftp.ie.debian.org/debian etch main non-free

2 - run following command
apt-get update

3 - run following command
apt-get install unrar

4 - restore backuped file to /etc/apt/sources.list

5 - run following command to restore original situation
apt-get update

NOTE: non-free refers to the fact that the source code may not be used to build other programs. The use of the program it self is not limited.

Last edited by EnricoM (2008-07-02 10:20:42)


Hardware: Conceptronic CH3SNAS, FW1.03 - 2x Samsung Spinpoint F1 750 MB, no RAID  - Imation Whizz 4GB USB Flash Drive
Software:  Fun_plug 0.5 beta, SSH, Samba recycle bin, Firefly, hellanzb, nzbget, cleanboot, chrooted etch, optware, midnight commander, rsnapshot

Offline

 

#11 2009-08-22 23:21:41

dbaby7
Member
Registered: 2009-08-17
Posts: 16

Re: Rar archivator for DNS 323 unit

Hi guys,
If your interested I got winrar running and have a script for it. Im fairly new to it so its pretty basic but works!
Firstly download winrar for Linux    http://www.rarlab.com/rar/rarlinux-3.9.0.tar.gz
Then I copied the extracted folder called rar to the root folder of the DNS-323
In the last line of the script I have the folder called downloads which is the location where all the rar files are. Change this to whatever location you download to. Then change the file name to the exact name of the first rar. I called this script extract.vbs and saved to the desktop for ease of use. Use notepad to change the file name to be extracted each timeCall it whatever you like but make sure its .vbs  Hope it works! Any improvements please let me know!! Obviously you can change the time it waits.
The script is as follows:

set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "cmd"
WScript.Sleep 100
WshShell.AppActivate "C:\Windows\system32\cmd.exe"
WScript.Sleep 100
WshShell.SendKeys "telnet 192.168.0.4~"
WScript.Sleep 2000
WshShell.SendKeys "cd mnt"
WshShell.SendKeys "{ENTER}" 'command line prompt
WScript.Sleep 150
WshShell.SendKeys "cd HD_a2"
WshShell.SendKeys "{ENTER}" 'command line prompt
WScript.Sleep 150
WshShell.SendKeys "cd rar"
WshShell.SendKeys "{ENTER}" 'command line prompt
WScript.Sleep 150
WshShell.SendKeys "unrar x /mnt/HD_a2/Downloads/The.Rundown.DVDRip.XviD-iMBT.part1.rar"
WshShell.SendKeys "{ENTER}" 'command line prompt

Offline

 

#12 2009-08-22 23:23:06

dbaby7
Member
Registered: 2009-08-17
Posts: 16

Re: Rar archivator for DNS 323 unit

BTW please no comments on the movie being extracted!!! If you want actually you can take away the last enter command so it will open all the way but wont start to run so you can change the file name there

Offline

 

#13 2009-08-22 23:29:21

dbaby7
Member
Registered: 2009-08-17
Posts: 16

Re: Rar archivator for DNS 323 unit

It saves to the rar folder btw! Im sure you can change that if you want but it doesn't bother me!

Offline

 

#14 2009-09-30 22:27:43

dbaby7
Member
Registered: 2009-08-17
Posts: 16

Re: Rar archivator for DNS 323 unit

Hi guys,
I ran an anti-virus scan on my dns-323 and I think it deleted some of the unrar files....it now always says no files to extract...could someone please give me a step by step way of installing it?
Thanks

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB