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 2010-04-26 19:07:30

Bravo
Member
Registered: 2009-01-14
Posts: 15

Install the newest version of unrar

I use to have unrar-3.7.8-1.gz installed on my DNS-323. But I would like to update it to the newest. But im not able to do it?

Im uninstalling unrar like this : 
funpkg -r unrar-3.7.8-1.gz

I then recive:
Removing package unrar-3.7.8-1.gz ...
Removing file /mnt/HD_a2/ffp/bin/unrar

Then I do:
funpkg -i unrar-3.9.9-arm.gz

Then this happend?
tar: invalid tar magic
FATAL: /mnt/HD_a2/unrar-3.9.9-arm.gz: Failed to unpack package

-------------------------
Anyone know what to do? or what I did wrong?

Offline

 

#2 2010-04-26 22:17:05

oxygen
Member
Registered: 2008-03-01
Posts: 320
Website

Re: Install the newest version of unrar

i guess unrar-3.9.9-arm.gz is not a fonz pkg? so funpkg wont work. you could extra the binary by just doing gzip -d unrar-3.9.9-arm.gz

Offline

 

#3 2010-04-28 09:01:19

bound4h
Member
Registered: 2010-04-12
Posts: 209

Re: Install the newest version of unrar

After gzip -d unrar-3.9.9-arm.gz, it just unzips a file called  unrar.  I can't even execute it (have given it 755 perms).  How do I use this?

Thanks

Offline

 

#4 2010-04-28 12:32:30

hell0
Member
From: .de
Registered: 2008-05-13
Posts: 81

Re: Install the newest version of unrar

move it to your path or ./unrar?


CH3SNAS firmware 1.05 with WD1000FYPS and ffp 0.5 on USB Stick

Offline

 

#5 2010-04-29 16:19:02

bound4h
Member
Registered: 2010-04-12
Posts: 209

Re: Install the newest version of unrar

How can I find my path (I know it's my path env variable, just can't remember how to check it/set it).  set PATH?  set, to view?

Thanks!

Offline

 

#6 2010-04-29 16:41:37

oxygen
Member
Registered: 2008-03-01
Posts: 320
Website

Re: Install the newest version of unrar

view:
env | grep PATH

set eg:
PATH=$PATH:/new/path; export PATH

just copy it to /ffp/bin

Offline

 

#7 2010-10-23 02:56:17

bound4h
Member
Registered: 2010-04-12
Posts: 209

Re: Install the newest version of unrar

Ok, so I re-installed two new HDDs and reinstalled FFP0.5.  I'm trying to get unrar 3.9.9 installed, but after I gzip -d unrar-3.9.9-arm.gz, it unzips a file called unrar-3.9.9-arm.  It has r/w but no x permissions for root, which can't be the executable right?  Anyway, I try giving it 777 and I still can't execute.  Even after copying it to /ffp/bin and using both '/ffp/bin/unrar-3.9.9-arm' to run and './unrar-3.9.9-arm' while in the directory it's in.

I did this SAME thing above back in April, and apparently had no issues.  But what's different now is that when I gzip -d unrar-3.9.9-arm.gz, it leaves a file called unrar-3.9.9-arm instead of just 'unrar' like it did in April.  What am I doing wrong this time?

Offline

 

#8 2010-10-23 04:58:45

karlrado
Member
Registered: 2009-12-07
Posts: 229

Re: Install the newest version of unrar

I seem to have the same problem; both on my DNS-323 and on a Sheevaplug:

Code:

sheevaplug:~# wget http://www.rarlab.com/rar/unrar-3.9.9-arm.gz
--2010-10-22 19:43:25--  http://www.rarlab.com/rar/unrar-3.9.9-arm.gz
Resolving www.rarlab.com... 217.70.129.242
Connecting to www.rarlab.com|217.70.129.242|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 104430 (102K) [application/x-gzip]
Saving to: `unrar-3.9.9-arm.gz'

100%[======================================>] 104,430      121K/s   in 0.8s

2010-10-22 19:43:27 (121 KB/s) - `unrar-3.9.9-arm.gz' saved [104430/104430]

sheevaplug:~# gzip -d unrar-3.9.9-arm.gz
sheevaplug:~# chmod 755 unrar-3.9.9-arm
sheevaplug:~# ./unrar-3.9.9-arm
-bash: ./unrar-3.9.9-arm: No such file or directory
sheevaplug:~# file ./unrar-3.9.9-arm
./unrar-3.9.9-arm: ELF 32-bit LSB executable, ARM, version 1, dynamically linked (uses shared libs), for GNU/Linux 2.4.1, stripped
sheevaplug:~# ldd ./unrar-3.9.9-arm
/usr/bin/ldd: line 116: ./unrar-3.9.9-arm: No such file or directory
sheevaplug:~#

This looks like a bad executable or it was not built for the right target.

The file command tells us something about the file.  It is indeed an executable, but it says ARM version 1 and it is for kernel 2.4.1.  We're running a 2.6 kernel.  I don't know if that matters.

The ldd command tells which libs the executable depends on.  It does not seem to recognize the executable enough to list the libs.

So, I'd look for another version someplace that is built differently.  Or, this might be a good time to fish that executable out of your backup.

Dunno what else to say at the moment.


DNS-323 FW 1.07 : 2 1TB WD Caviar Green SATA : fun_plug: utelnet + optware (no ffp)

Offline

 

#9 2010-10-24 23:18:12

InBonobo
Member
From: Toronto
Registered: 2009-01-18
Posts: 34
Website

Re: Install the newest version of unrar

Could someone explain to me why is this latest version so important? I'm using 3.9.2-1 and could install optware 3.9.8-1, but haven't bothered. What's so important about it?


1 DNS-323, HW B1, 2 x 2TB WD Black (WD2001FASS), fw 1.09, fun_plug 0.5
1 DNS-321, HW A2, 2 x 1TB Seagate Barracuda 7200.11 (currently failed)
Here's my Hacking DNS-323 and DNS-321 NAS Guide smile

Offline

 

#10 2010-10-25 18:58:55

bound4h
Member
Registered: 2010-04-12
Posts: 209

Re: Install the newest version of unrar

Nothing, but I honestly can't find an ARM package prior to 3.9.9 on WinRars site.  Do you have a link to 3.9.2-1?

Offline

 

#11 2010-10-25 20:25:40

Bravo
Member
Registered: 2009-01-14
Posts: 15

Re: Install the newest version of unrar

InBonobo wrote:

Could someone explain to me why is this latest version so important? I'm using 3.9.2-1 and could install optware 3.9.8-1, but haven't bothered. What's so important about it?

I had some rar files that I could not do a unrar, but when I used winrar the files was able to be unrar'd.
After I installed a newer version, I was able to make the files unrar'd on the NAS.

Offline

 

#12 2010-10-25 20:38:54

bound4h
Member
Registered: 2010-04-12
Posts: 209

Re: Install the newest version of unrar

@Bravo,

Do you still have the .gz for 3.9.9 that you downloaded?  Karlrado and I are having trouble with the version on winrar.com.  I was able to do it back in April but since then I've reinstalled ffp and don't have the original .gz I used..

Offline

 

#13 2010-10-26 20:18:44

Bravo
Member
Registered: 2009-01-14
Posts: 15

Re: Install the newest version of unrar

Here is the file:

unrar-3.9.9-1.tgz
http://peecee.dk/upload/view/272477

Regards Bravo

Offline

 

#14 2010-10-26 21:12:00

bound4h
Member
Registered: 2010-04-12
Posts: 209

Re: Install the newest version of unrar

Odd, when I 'tar -xzf unrar-3.9.9-1.tgz' it doesn't do anything.

When I gunzip the .tgz, it leaves the tar.  But when I 'tar -xf unrar-3.9.9-1.tar' it doesn't do anything either.  Am I doing something wrong?

Last edited by bound4h (2010-10-26 21:12:08)

Offline

 

#15 2010-10-26 21:15:14

bound4h
Member
Registered: 2010-04-12
Posts: 209

Re: Install the newest version of unrar

Nevermind got it.

'tar xvzf unrar-3.9.9-1.tgz' did it.

Offline

 

#16 2010-10-27 22:56:37

Bravo
Member
Registered: 2009-01-14
Posts: 15

Re: Install the newest version of unrar

btw..

Here is also a lot of things to DNS-323: http://ffp.wolf-u.li/

There is also a new version of unrar: http://ffp.wolf-u.li/additional/app-arch/

Offline

 

#17 2011-10-17 19:00:51

kramed
Member
Registered: 2009-06-02
Posts: 34

Re: Install the newest version of unrar

Great, thanks for the link Bravo

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB