Re: [iPAQ] ipkg can't update!!!!!!

From: dave w capella <dave.a.t.mail.bscb.cornell.edu>
Date: Sun Apr 21 2002 - 17:44:22 EDT

On Sun, 21 Apr 2002, Eric Smith wrote:

>Hello all,
>
>I have been working for two days to get ipkg to update it's feed lists and have been completely unsuccessful.
>
>If my ipkg.conf file contains a text URL, the name isn't being resolved properly, but if I supply the numeric URL, everything is fine.
>
>eg:
>http://familiar.handhelds.org:80/familiar/releases/v0.5.2/packages/armv4l
>results in
>Connecting to familiar.handhelds.org:80...
>familiar.handhelds.org: Host not found.
>ipkg_download: ERROR: Command failed with return value 1: `wget --passive-ftp -nd -P /tmp/ipkg-emXSRc http://familiar.handhelds.org/familiar/releases/v0.5.2/packages/armv4l/Packages'
>
>while
>http://192.58.209.91/familiar/releases/v0.5.2/packages/armv4l
>resolves properly.
>
>This isn't a problem for most feeds, but it prohibits me from connecting to certain feeds like Opie.
>(Pinging opie.handhelds.org will return the same ip as www.handhelds.org, but the webserver is redirecting internally to a virtual directory).
>
>I have a PPP connection between my RedHat 7.2 system and my Ipaq 3835 (Familiar 2.4.18), and have followed the instructions on Carl Worth's IPMasq HowTo.
>
>HOW DO I GET MY NAME RESOLUTION TO WORK?

You have at least 3 options:

1. make the redhat box a caching name server and point to it.
   (add its address to /etc/resolv.conf)
2. add the address(es) of your name server to /etc/resolve.conf.
   this/these would probably be the same as the ones the redhat box uses.
   an example (don't use this):
        search bscb.cornell.edu cornell.edu
        nameserver 192.168.1.1
        nameserver 192.168.1.3
3. I was just lazy, and in a hurry, so added the addresses to my
   /etc/hosts file so I wouldn't need dns while setting up. note that
    all of this is a single line:
   192.58.209.91 handhelds.org familiar.handhelds.org \
       www.handhelds.org opie.handhelds.org

The last option also eliminates problems with firewalls, but means that if
you forget about it, and they change the address, you'll be scratching your
head again, someday. :)

HTH,
...dave

-- 
   ~~~~ ____  |   It's kind of fun to do the impossible.- Disney  |
  Y_,___|[]|  |  dave.capella@cornell.edu ~ www.bscb.cornell.edu  |
 {|_|_|_|__|,_|_____dave_w_capella____BSCB____Cornell_University__|
//oo---OO=OO     OO     OO         OO      OO        OO       OO
Received on Sun Apr 21 21:44:24 2002

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:44:46 EDT