Author
Message
jag7720 DD-WRT Novice Joined: 13 Feb 2008 Posts: 14
Posted: Thu Feb 14, 2008 17:07 Post subject: can't update
WRT54gl v.1 with sd mod
When I run ipkg update I get the following
Code:
~ # ipkg update
Downloading http://downloads.openwrt.org/whiterussian/packages/Packages ...
ipkg_download: ERROR: Failed to retrieve http://downloads.openwrt.org/whiterussian/packages/Packages, returning
ipkg_update: Error downloading http://downloads.openwrt.org/whiterussian/packages/Packages to //jffs/usr/lib/ipkg/lists/whiterussian
Downloading http://downloads.openwrt.org/whiterussian/packages/non-free/Packages ...
ipkg_download: ERROR: Failed to retrieve http://downloads.openwrt.org/whiterussian/packages/non-free/Packages, returning t
ipkg_update: Error downloading http://downloads.openwrt.org/whiterussian/packages/non-free/Packages to //jffs/usr/lib/ipkg/lists/non-free
Downloading http://downloads.openwrt.org/backports/rc5/Packages ...
ipkg_download: ERROR: Failed to retrieve http://downloads.openwrt.org/backports/rc5/Packages, returning t
ipkg_update: Error downloading http://downloads.openwrt.org/backports/rc5/Packages to //jffs/usr/lib/ipkg/lists/backports
How can I fix this? What am I doing wrong?
Thanks
Back to top
Sponsor
stephensuley DD-WRT Guru Joined: 09 Feb 2008 Posts: 641 Location: Canada
Back to top
jag7720 DD-WRT Novice Joined: 13 Feb 2008 Posts: 14
Back to top
bodbod DD-WRT Novice Joined: 25 Jan 2007 Posts: 17
Posted: Sun Feb 24, 2008 15:23 Post subject:
Hi guys,
me too i have this problem but the difference is that when I enter the command, nothing is happening - no error message, nothing
_________________ WRT54GL 1.1 + V24 + SD card 1Go
Back to top
CraigFoote DD-WRT Novice Joined: 18 Mar 2008 Posts: 1
Back to top
jpalo DD-WRT Novice Joined: 18 Jul 2006 Posts: 7
Posted: Sat Mar 29, 2008 19:22 Post subject:
Same here with v23 SP2 vpn on WRT54GL. I'm using Samba share on NAS for the storage. I'm able to read/write the share just fine.
etc...
I can manually download the files to the correct locations, but why doesn't it work automatically?
UPDATE: If I use /opt/bin/ipkg then I can update stuff.
Back to top
Software_Samurai DD-WRT Novice Joined: 02 Apr 2008 Posts: 2
Posted: Wed Apr 02, 2008 12:03 Post subject: Solved (for me at least)
I ran into the same problem. Found this post yesterday:
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=17979
After doing "echo 0 >/proc/sys/net/ipv4/tcp_ecn" in an SSH shell, the /bin/ipkg worked fine for me.
Cheers!
p.s. Out of curiosity, can anyone explain to me exactly what the tcp_ecn is, and why it's defaulted on for DD-WRT?
Back to top
john57 DD-WRT Novice Joined: 05 Apr 2008 Posts: 1
Posted: Sat Apr 05, 2008 5:26 Post subject: can't ipkg update
I tried echo 0 >/proc/sys/net/ipv4/tcp_ecn
and edit ipkg.conf with ip addresses and making a change to ipkg(IPKG_DIR_PREFIX=usr/lib/ipkg to IPKG_DIR_PREFIX=jffs/usr/lib/ipkg and renaming ipkg to ipkg2) and I still can't get it to work on my 350n. wget is dead. Using Brainslayer-RC7-9134-dd-wrt.v24_generic_nokaid with usb.
ipkg_download: ERROR: Failed to retrieve http://195.56.146.238/backports/rc5/Packages, returning t
df -h
Filesystem Size Used Available Use% Mounted on
rootfs 3.0M 3.0M 0 100% /
/dev/root 3.0M 3.0M 0 100% /
/dev/mtdblock/4 3.6M 644.0k 3.0M 17% /jffs
nvram show | grep jffs
jffs_mounted=1
enable_jffs2=1
sys_enable_jffs2=1
clean_jffs2=0
size: 18702 bytes (14066 left)
dhcpd_usejffs=0
Back to top
marmoset DD-WRT Novice Joined: 05 Apr 2008 Posts: 1
Posted: Sat Apr 05, 2008 17:49 Post subject:
I just had to make a directory to get it to work. I've got a samba mount on /jffs so the thing I had to do was:
mkdir -p /jffs/tmp/ipkg
and then it all worked.
Back to top
tekproxy DD-WRT Novice Joined: 05 Apr 2008 Posts: 1
Back to top
phil.oertel DD-WRT Novice Joined: 08 Dec 2008 Posts: 1
Posted: Mon Dec 08, 2008 6:06 Post subject:
Confirmed this fix. Was getting the same error on my Asus wl-520gu with jffs mounted on the unit's internal flash. Created /jffs/tmp/ipkg and ipkg update now runs to completion.
Back to top
Java-Helpers DD-WRT Novice Joined: 22 Feb 2009 Posts: 8 Location: MY
Posted: Sun Feb 22, 2009 1:52 Post subject: Make ipkg update to Successful Work!
If Your Router Already Worked On Mod Such A MMC CIFS JFSS But Error Fail!! To make ipkg update.
Try Do this :!
First -> Ping google.com used your ssh ddwrt shell on your router. If Fail!! the gateway of your router is not globaly to Gate On Wan Port.
Now -> cat /etc/resolv.conf .. In my case i would get :-
nameserver 192.168.1.25
nameserver 192.168.1.1 <<-
nameserver 192.168.1.1 is a common gateway to Wan Port.
So..Next Step Do like Below Step:
vi /etc/resolv.conf
write your common gateway ip properly. then press Esc ; then press :q [/code]
Description:
ipkg update Successful Works!!!
Filesize:
190.31 KB
Viewed:
38842 Time(s)
Back to top
jerryg99 DD-WRT Novice Joined: 24 Jul 2009 Posts: 9
Posted: Fri Jul 24, 2009 22:03 Post subject:
Had the same ipkg update error. I believe vontage v-portal was the problem.
The original wiring was per vontage install manual; cable modem then vontage v-portal then primary router. Changing configuration to cable modem then primary router then vontage v-portal box allowed ipkg update to work without any other scripts or changes other than wiki instructions.
I believe there is a firewall in vontage box that prevented ipkg update to work.
Back to top