Posted: Wed Mar 18, 2015 20:18 Post subject: настройка IPKG tp-link 1043v1 build 20119
Не могу настроить IPKG:
DD-WRT v24-sp2 std (c) 2012 NewMedia-NET GmbH
Release: 10/12/12 (SVN revision: 20119)
root@DD-WRT:~#
cp -a /etc/ /opt/
cp -a /bin/ /opt/
cp -a /lib/ /opt/
cp -a /usr/ /opt/
cp -a /tmp/ /opt/
cp -a /jffs/ /opt/
sleep 1
mount /opt/etc /etc
mount /opt/bin /bin
mount /opt/lib/ /lib
mount /opt/usr/ /usr
mount /opt/tmp/ /tmp
mount /opt/jffs/ /jffs
root@DD-WRT:~# cp -a /bin/ /opt/
root@DD-WRT:~# cp -a /lib/ /opt/
root@DD-WRT:~# cp -a /usr/ /opt/
root@DD-WRT:~# cp -a /tmp/ /opt/
root@DD-WRT:~# cp -a /jffs/ /opt/
root@DD-WRT:~# sleep 1
root@DD-WRT:~# mount /opt/etc /etc
root@DD-WRT:~# mount /opt/bin /bin
root@DD-WRT:~# mount /opt/lib/ /lib
root@DD-WRT:~# mount /opt/usr/ /usr
root@DD-WRT:~# mount /opt/tmp/ /tmp
root@DD-WRT:~# mount /opt/jffs/ /jffs
root@DD-WRT:~# df -h
Filesystem Size Used Available Use% Mounted on
rootfs 6.1M 6.1M 0 100% /
/dev/root 6.1M 6.1M 0 100% /
ramfs 98.3M 19.9M 73.5M 21% /tmp
/dev/sda1 98.3M 19.9M 73.5M 21% /opt
/dev/sda1 98.3M 19.9M 73.5M 21% /etc
/dev/sda1 98.3M 19.9M 73.5M 21% /bin
/dev/sda1 98.3M 19.9M 73.5M 21% /lib
/dev/sda1 98.3M 19.9M 73.5M 21% /usr
/dev/sda1 98.3M 19.9M 73.5M 21% /tmp
/dev/sda1 98.3M 19.9M 73.5M 21% /jffs
root@DD-WRT:~# mv /etc/ipkg.conf /etc/ipkg.conf.orig
root@DD-WRT:~# echo -e "src backfire http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/\ndest root /\ndest ram /tmp" > /etc/ipkg.conf
root@DD-WRT:~# cp /bin/ipkg /bin/ipkg.orig
root@DD-WRT:~# cat /bin/ipkg.orig |sed -e "s/--passive-ftp //" > /bin/ipkg
root@DD-WRT:~# ipkg update
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages//Packages ...
Connecting to downloads.openwrt.org (78.24.191.177:80)
ipkg_download: ERROR: Failed to retrieve http://downloads.openwrt.org/snapshots/
trunk/ar71xx/packages//Packages, returning
ipkg_update: Error downloading http://downloads.openwrt.org/snapshots/trunk/ar71
xx/packages//Packages to //usr/local/lib/ipkg/lists/backfire
root@DD-WRT:~# cd /jffs
root@DD-WRT:/jffs# mkdir -p /jffs/tmp/ipkg
root@DD-WRT:/jffs# ipkg update
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages//Packag
es ...
Connecting to downloads.openwrt.org (78.24.191.177:80)
ipkg_download: ERROR: Failed to retrieve http://downloads.openwrt.org/snapshots/
trunk/ar71xx/packages//Packages, returning
ipkg_update: Error downloading http://downloads.openwrt.org/snapshots/trunk/ar71
xx/packages//Packages to //usr/local/lib/ipkg/lists/backfire
root@DD-WRT:/jffs# ipkg list
ERROR: File not found: //usr/local/lib/ipkg/lists/backfire
You probably want to run `ipkg update'
root@DD-WRT:/jffs#
root@DD-WRT:/jffs# ipkg update
Что не так? подозреваю что ссылка для обновления не актуальная ... "http://downloads.openwrt.org/snapshots/
trunk/ar71xx/packages/"
там по каталогам совпадает
http://downloads.openwrt.org/snapshots/trunk/ar71xx/
а дальше