OpenWrt Forum Archive

Topic: ipkg eror (need help) wget --passive ftp

The content of this topic has been archived on 14 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

when i try and install kismet i get this error any idea on how to fix it

root@OpenWrt:/# root@OpenWrt:/# ipkg install http://wrt54g.free.fr/openwrt/b4/ipkg/k … mipsel.ipk
/bin/ash: root@OpenWrt:/#: not found
Downloading http://wrt54g.free.fr/openwrt/b4/ipkg/k … mipsel.ipk
wget: wrt54g.free.fr: Unknown host
ipkg_download: ERROR: Command failed with return value 1: `wget --passive-ftp    -q -P /tmp/ipkg-O3JScB http://wrt54g.free.fr/openwrt/b4/ipkg/kismet_2004.03_mipsel.ipk'
Cannot find package http://wrt54g.free.fr/openwrt/b4/ipkg/k … mipsel.ipk.

and also i cant ipkg update also comes up with an error

any help would be greatlly appreciated

thanx
superman

(Last edited by SuperMan on 3 Jun 2005, 19:41)

I have the same exact problem

Ok I figured it out.  My wan interface was statically configured as was suggested in some install guides.  I set it to dhcp, rebooted and then ipkg worked.

nvram set wan_proto=dhcp
nvram commit
reboot

I believe then the wan interface will get it's dns setting from your cable/dsl modem.  You should also be a able to statically set it.

I also read somewhere else something about editing resolv.conf but I didn't try this.

If you wish to keep a static wan configuration, you add your ISP's dns servers separated by spaces in wan_dns

e.g : nvram set wan_dns="ip1 ip2 ip3" ...

The discussion might have continued from here.