Discussion:
Problem with ipkg
John Wynen
2005-02-20 05:56:45 UTC
Permalink
Hi Everyone

Finally got around to unslinging my box with 3.17b. That went well.
However am having a problem with "ipkg update"

When I run "ipkg -verbose_wget update" i get
# ipkg -verbose_wget update
Downloading http://ipkg.nslu2-linux.org/feeds/unslung/unstable/Packages.gz
--01:43:27-- http://ipkg.nslu2-linux.org/feeds/unslung/unstable/Packages.gz
=> `/tmp/ipkg-SrjG4A/Packages.gz'
Resolving %22192.168.1.1%22... failed: Host not found.
ipkg_download: ERROR: Command failed with return value 1: `wget --passive-ftp
-P /tmp/ipkg-SrjG4A http://ipkg.nslu2-linux.oAn error ocurred, return value: 1

I can ping ipkg.nslu2-linux.org fine. The nslu is behind a WRT54g
router. Any guesses as to what I have configured wrong?

Thanks

John


[ Moderator Note: All static information is slowly moving to the Wiki at http://www.nslu2-linux.org ]
visvambhara
2005-02-20 07:39:50 UTC
Permalink
you need to set dns or and gateway on the it. in the web pannel.
Post by John Wynen
Hi Everyone
Finally got around to unslinging my box with 3.17b. That went
well.
Post by John Wynen
However am having a problem with "ipkg update"
When I run "ipkg -verbose_wget update" i get
# ipkg -verbose_wget update
Downloading http://ipkg.nslu2-
linux.org/feeds/unslung/unstable/Packages.gz
Post by John Wynen
--01:43:27-- http://ipkg.nslu2-
linux.org/feeds/unslung/unstable/Packages.gz
Post by John Wynen
=> `/tmp/ipkg-SrjG4A/Packages.gz'
Resolving %22192.168.1.1%22... failed: Host not found.
ipkg_download: ERROR: Command failed with return value 1: `wget --
passive-ftp
Post by John Wynen
-P /tmp/ipkg-SrjG4A http://ipkg.nslu2-linux.oAn error ocurred, return value: 1
I can ping ipkg.nslu2-linux.org fine. The nslu is behind a WRT54g
router. Any guesses as to what I have configured wrong?
Thanks
John
[ Moderator Note: All static information is slowly moving to the Wiki at http://www.nslu2-linux.org ]
John Wynen
2005-02-21 01:56:36 UTC
Permalink
Thanks visvambhara. I have set the dns and gateway through the
webmin interface, and that did not help. the NSLU2 can resolve
ipkg.nslu2-linux.org during a ping, but cant during ipkg.

Any other ideas?

Thanks

John

Message: 1
Date: Sun, 20 Feb 2005 07:39:50 -0000
From: "visvambhara" <visvambhara-/***@public.gmane.org>
Subject: Re: Problem with ipkg

you need to set dns or and gateway on the it. in the web pannel.
Post by John Wynen
Hi Everyone
Finally got around to unslinging my box with 3.17b. That went
well.
Post by John Wynen
However am having a problem with "ipkg update"
When I run "ipkg -verbose_wget update" i get
# ipkg -verbose_wget update
Downloading http://ipkg.nslu2-
linux.org/feeds/unslung/unstable/Packages.gz
Post by John Wynen
--01:43:27-- http://ipkg.nslu2-
linux.org/feeds/unslung/unstable/Packages.gz
Post by John Wynen
=> `/tmp/ipkg-SrjG4A/Packages.gz'
Resolving %22192.168.1.1%22... failed: Host not found.
ipkg_download: ERROR: Command failed with return value 1: `wget --
passive-ftp
Post by John Wynen
-P /tmp/ipkg-SrjG4A http://ipkg.nslu2-linux.oAn error ocurred,
return value: 1
Post by John Wynen
I can ping ipkg.nslu2-linux.org fine. The nslu is behind a WRT54g
router. Any guesses as to what I have configured wrong?
Thanks
John
[ Moderator Note: All static information is slowly moving to the Wiki at http://www.nslu2-linux.org ]
John Bowler
2005-02-21 02:20:25 UTC
Permalink
Post by John Wynen
Any other ideas?
Only ideas...
Post by John Wynen
Resolving %22192.168.1.1%22... failed: Host not found.
Means, in httpspeak, the character "

I.e. the double quote character.

The fact that you can ping the relevant (textual) addresses means that the
system is set up correctly (i.e. the router is fine and access to the
Internet is fine too).

192.168.1.1 is one of your local machines (because 192.168.anything is
invalid on the Internet). wget with --passive-ftp might (I am not sure)
attempt to resolve the local address. My guess would be that one of the
local files (e.g. /etc/hostname, /etc/hosts) contains inappropriate "
characters.

John Bowler <jbowler-***@public.gmane.org>



[ Moderator Note: All static information is slowly moving to the Wiki at http://www.nslu2-linux.org ]
Loading...