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 2008-06-21 17:19:29

Marc
Member
Registered: 2008-04-12
Posts: 6

Anyone manage to install ipkg on DNS313 & ffp 0.5 ? Always not found

Hello,

I try to install ipkg on my DNS313 wich have Fun Plug 0.5.

I follow this page :

http://www.nslu2-linux.org/wiki/Optware/Dns323

But I have a problem :

root@nas:~# mkdir -p /opt
root@nas:~# mkdir -p /mnt/HD_a2/ipkg/opt
root@nas:~# mount -o bind /mnt/HD_a2/ipkg/opt /opt
root@nas:~# export PATH=/opt/bin:/opt/sbin:$PATH
root@nas:~# ipkg_name=ipkg-opt_0.99.163-10_arm.ipk
root@nas:~# feed=http://ipkg.nslu2-linux.org/feeds/optware/dns323/cross/unstable
root@nas:~# wget $feed/$ipkg_name
Connecting to ipkg.nslu2-linux.org (140.211.169.169:80)
ipkg-opt_0.99.163-10 100% |********************************************************************************************************************************| 72481  00:00:00 ETA
root@nas:~# zcat $ipkg_name | tar -xOvf - ./data.tar.gz | zcat | tar -C / -xvf -

[...]

root@nas:~# echo src dns323 http://ipkg.nslu2-linux.org/feeds/optwa … s/unstable >> /opt/etc/ipkg.conf
root@nas:~# /opt/bin/ipkg update
sh: /opt/bin/ipkg: not found
root@nas:/opt/bin# ls
ipkg                 update-alternatives
root@nas:/opt/bin# ipkg
sh: ipkg: not found
root@nas:/opt/bin# cd /mnt/HD_a2/ipkg/opt/bin/
root@nas:/mnt/HD_a2/ipkg/opt/bin# ipkg
sh: ipkg: not found
root@nas:/mnt/HD_a2/ipkg/opt/bin# ./ipkg
sh: ./ipkg: not found
root@nas:/opt/bin# ls -l
-rwxr-xr-x    1 root     root         3132 Jun  1 23:39 ipkg
-rwxr-xr-x    1 root     root         4248 Jun  1 23:39 update-alternatives
root@nas:/opt/bin# update-alternatives
update-alternatives: at least one of --install or --remove must appear

Usage: update-alternatives --install <link> <name> <path> <priority>
       update-alternatives --remove <name> <path>
       update-alternatives --help
<link> is the link pointing to the provided path (ie. /usr/bin/foo).
<name> is the name in /opt/lib/ipkg/alternatives/alternatives (ie. foo)
<path> is the name referred to (ie. /usr/bin/foo-extra-spiffy)
<priority> is an integer; options with higher numbers are chosen.

I have try some others things but ipkg is always not found.

Thank's

Last edited by Marc (2008-06-21 17:24:16)

Offline

 

#2 2008-06-21 23:05:45

CharminBaer
Member
From: Leipzig, Germany
Registered: 2008-04-25
Posts: 76

Re: Anyone manage to install ipkg on DNS313 & ffp 0.5 ? Always not found

I cannot see any mistakes. I also tried this and got these results:

DNS-313:~# zcat ipkg-opt_0.99.163-10_arm.ipk | tar -xOvf - ./data.tar.gz | zcat | tar -C / -xvf -
./data.tar.gz
./
./opt/
./opt/bin/
./opt/bin/ipkg
./opt/bin/ipkg-opt
./opt/bin/update-alternatives
./opt/etc/
./opt/etc/ipkg.conf
./opt/lib/
./opt/lib/libipkg.so
./opt/lib/libipkg.so.0
./opt/lib/libipkg.so.0.0.0
./opt/share/
./opt/share/ipkg/
./opt/share/ipkg/intercept/
./opt/share/ipkg/intercept/depmod
./opt/share/ipkg/intercept/ldconfig
./opt/share/ipkg/intercept/update-modules
DNS-313:~# /opt/bin/ipkg
-bash: /opt/bin/ipkg: No such file or directory
DNS-313:~# ls -l /opt/bin/
total 12
-rwxr-xr-x 1 root root 3132 Jun  1 23:39 ipkg
lrwxrwxrwx 1 root root    4 Jun 21 22:00 ipkg-opt -> ipkg
-rwxr-xr-x 1 root root 4248 Jun  1 23:39 update-alternatives
DNS-313:~#

Maybe, the failure is sitting between these brackets...   --->

[...]

Last edited by CharminBaer (2008-06-21 23:14:26)


DNS-313 / native running etch4.0r3...
and by now running lenny with all the features and no probs.

Offline

 

#3 2008-06-21 23:36:29

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: Anyone manage to install ipkg on DNS313 & ffp 0.5 ? Always not found

It's probably missing libraries. Try 'ldd /opt/bin/ipkg'

Offline

 

#4 2008-06-21 23:42:00

CharminBaer
Member
From: Leipzig, Germany
Registered: 2008-04-25
Posts: 76

Re: Anyone manage to install ipkg on DNS313 & ffp 0.5 ? Always not found

@fonz    ???

DNS-313:~# ldd /opt/bin/ipkg
/usr/bin/ldd: line 116: /opt/bin/ipkg: No such file or directory
DNS-313:~# ls -l /opt/bin/ipkg
-rwxr-xr-x 1 root root 3132 Jun  1 23:39 /opt/bin/ipkg
DNS-313:~#


DNS-313 / native running etch4.0r3...
and by now running lenny with all the features and no probs.

Offline

 

#5 2008-06-22 01:41:13

Marc
Member
Registered: 2008-04-12
Posts: 6

Re: Anyone manage to install ipkg on DNS313 & ffp 0.5 ? Always not found

CharminBaer wrote:

Maybe, the failure is sitting between these brackets...

It is only the list of uncompressed files that I have cut for the post.

fonz wrote:

It's probably missing libraries. Try 'ldd /opt/bin/ipkg'

root@nas:/mnt/HD_a2/ipkg/opt# ldd /opt/bin/ipkg
ldd: can't open cache '/ffp/etc/ld.so.cache'
checking sub-depends for 'not found'
checking sub-depends for '/ffp/lib/libc.so.0'
        ld-uClibc.so.0 => /ffp/lib/ld-uClibc.so.0 (0x40000000)
checking sub-depends for '/lib/libgcc_s.so.1'
checking sub-depends for 'not found'
        libipkg.so.0 => not found (0x00000000)
        libc.so.0 => /ffp/lib/libc.so.0 (0x00000000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00000000)
        libc.so.6 => not found (0x00000000)
        not a dynamic executable

So, missing lib ?

Last edited by Marc (2008-06-22 01:43:52)

Offline

 

#6 2008-06-22 03:12:09

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: Anyone manage to install ipkg on DNS313 & ffp 0.5 ? Always not found

Marc wrote:

libc.so.6 => not found (0x00000000)

you can try with 'export LD_LIBRARY_PATH=/ffp/lib', but i don't think you can run the dns323 optware feed on the 313. your firmware is glibc-based, but the dns323 optware feed requires uclibc (and can't work with uclibc in /ffp).

Offline

 

#7 2008-06-22 19:02:08

Marc
Member
Registered: 2008-04-12
Posts: 6

Re: Anyone manage to install ipkg on DNS313 & ffp 0.5 ? Always not found

ok;

No change with export LD_LIBRARY_PATH=/ffp/lib

Offline

 

#8 2010-06-14 12:10:01

dudu7731
Member
Registered: 2010-06-12
Posts: 6

Re: Anyone manage to install ipkg on DNS313 & ffp 0.5 ? Always not found

I have the same problem, can someone tel what to do to resolve it ?

thanks

Offline

 

#9 2010-11-01 07:54:59

olek23c
New member
Registered: 2010-11-01
Posts: 1

Re: Anyone manage to install ipkg on DNS313 & ffp 0.5 ? Always not found

[SOLUTION]
Maybe it is late, but it could be still useful for somebody.

Fonz is totally right (as usual). You should use distribution compiled for vt4 architecture which works nicely with DNS-313. The author of the solution is one smart ruppertus http://www.patriotmem.com/forums/archiv … -2190.html

Offline

 

#10 2011-11-27 22:11:28

mika123
Member
Registered: 2011-04-20
Posts: 11

Re: Anyone manage to install ipkg on DNS313 & ffp 0.5 ? Always not found

olek23c wrote:

[SOLUTION]
Maybe it is late, but it could be still useful for somebody.

Fonz is totally right (as usual). You should use distribution compiled for vt4 architecture which works nicely with DNS-313. The author of the solution is one smart ruppertus http://www.patriotmem.com/forums/archiv … -2190.html

Same problem on a DNS323... the URL you linked to gives a 404, with a bt of magic, I was able to find the thread, in case anyone else experiences the problem: http://www.patriotmemory.com/forums/showthread.php?2190

Last edited by mika123 (2011-11-27 22:16:25)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB