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-12-31 10:47:52

alefsin
Member
Registered: 2008-12-13
Posts: 20

problems with optware

Hi,

I have strange problem with optware on dns-323. I'm using ffp 0.5 and firmware 1.06.

What happens is that when I try to install any package, wget called by ipkg somehow fails to get needed files though the address it uses seems to be fine. For example, here is what happens when I try to install mc:

# ipkg -verbose_wget install mc
Installing mc (4.6.1-3) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optwa … -3_arm.ipk
Connecting to ipkg.nslu2-linux.org (140.211.169.169:80)
mc_4.6.1-3_arm.ipk   100% |*******************************|   451k 00:00:00 ETA
package slang suggests installing pcre
package slang suggests installing libpng
package slang suggests installing libiconv
Installing glib (2.16.6-1) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optwa … -1_arm.ipk
wget: bad address 'ipkg.nslu2-linux.org'
Nothing to be done
An error ocurred, return value: 22.
Collected errors:
ipkg_download: ERROR: Command failed with return value 1: `wget     -P /ffp/tmp/ipkg-wuoDXN http://ipkg.nslu2-linux.org/feeds/optwa … 1_arm.ipk'
Failed to download glib. Perhaps you need to run 'ipkg update'?

As you can see, the second wget fails though the address is correct! Any idea what's going on here? (and no, ipkg update would not solve the problem).

thanks a lot,
AlefSin

Last edited by alefsin (2008-12-31 19:47:44)

Offline

 

#2 2008-12-31 18:44:31

bzhou
Member
Registered: 2008-02-15
Posts: 171

Re: problems with optware

which wget

Offline

 

#3 2008-12-31 19:49:42

alefsin
Member
Registered: 2008-12-13
Posts: 20

Re: problems with optware

bzhou wrote:

which wget

I highlighted the error message in the original post. It seems the first file could be downloaded with no problem but the second one fails.

Offline

 

#4 2008-12-31 21:26:58

bzhou
Member
Registered: 2008-02-15
Posts: 171

Re: problems with optware

I was asking you to try the command "which wget" so we know the full path of the wget command being used by ipkg.
Once that's known, you can try manually invoke "/full/path/to/wget http://ipkg.nslu2-linux.org/feeds/optwa … .ipk" a couple of times to see if you can isolate the problem. To further troubleshoot, try to understand whether the problem is network configuration, or depends on the specific binary/library you're using.

Offline

 

#5 2008-12-31 21:30:38

bzhou
Member
Registered: 2008-02-15
Posts: 171

Re: problems with optware

Offline

 

#6 2008-12-31 23:30:01

alefsin
Member
Registered: 2008-12-13
Posts: 20

Re: problems with optware

bzhou wrote:

I was asking you to try the command "which wget" so we know the full path of the wget command being used by ipkg.
Once that's known, you can try manually invoke "/full/path/to/wget http://ipkg.nslu2-linux.org/feeds/optwa … .ipk" a couple of times to see if you can isolate the problem. To further troubleshoot, try to understand whether the problem is network configuration, or depends on the specific binary/library you're using.

My bad. I'll check that (I'm not at home now). I didn't install anything with optware yet so I guess wget is the one that comes with the firmware (I have ffp 0.5 too but I don't think it has wget). The strange thing is that wget called by ipkg works in some cases (like getting the list of the packages and downloading the first package) but fails for others (downloading the dependencies).

The problem is not DNS as everything else, including "ipkg update" works fine.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB