cannot install ipkg - DNS320 - Alt-F 0.1RC5

470 views
Skip to first unread message

Fabio Indelicato

unread,
Oct 9, 2016, 7:24:34 AM10/9/16
to Alt-F
Hi,
I have experienced an issue during Alt-F 0.1RC5 setup in a D-LINK DNS320 hw rev. B (DNS-320-Bx)
Firmware update went fine, then I've tried to apply "Mandatory fix: see the WARNING: Network data corruption on RC5 post and apply the fix."
Using the web interface (pakage > alt-f) but I see :

Installing Alt-F in /mnt/sdb2
Installing ipkgYou don't seem to have a name server configured, or a working internet connection, and no /tmp/ipkg_*_arm.ipk file found. Exiting
An error occurred

Then I've checked nslockup and retrieved pakage list from prompt and both works fine, after I've found that for some reason /usr/bin/ipkg was called with argument type set to "#!#src"
so I've temporaneously modifyed code :

...
while read type name feed; do
if test "$type" != "#!#src" -o -z "$feed"; then continue; fi
host=$(echo $feed | sed -n 's|.*://\([^/]*\).*|\1|p')
echo -n "Trying $host... "
...

and was able to install ipkg tool.

Now pakage > alt-f works fine, and the box is also working fine,  I've installed ethtool and started minidlna and various SMB shares and all works fine.

As a side note, if I select both stable and unstable pakage feeds I ends up with an empty avalable pakages list, maybe this is expected behaviour.

Regards, Fabio

João Cardoso

unread,
Oct 10, 2016, 9:48:00 AM10/10/16
to Alt-F


On Sunday, 9 October 2016 12:24:34 UTC+1, Fabio Indelicato wrote:
Hi,
I have experienced an issue during Alt-F 0.1RC5 setup in a D-LINK DNS320 hw rev. B (DNS-320-Bx)
Firmware update went fine, then I've tried to apply "Mandatory fix: see the WARNING: Network data corruption on RC5 post and apply the fix."
Using the web interface (pakage > alt-f) but I see :

Installing Alt-F in /mnt/sdb2
Installing ipkgYou don't seem to have a name server configured, or a working internet connection, and no /tmp/ipkg_*_arm.ipk file found. Exiting
An error occurred

Then I've checked nslockup and retrieved pakage list from prompt and both works fine, after I've found that for some reason /usr/bin/ipkg was called with argument type set to "#!#src"
so I've temporaneously modifyed code :

...
while read type name feed; do
if test "$type" != "#!#src" -o -z "$feed"; then continue; fi
host=$(echo $feed | sed -n 's|.*://\([^/]*\).*|\1|p')
echo -n "Trying $host... "
...

and was able to install ipkg tool.

I believe that it was caused by a bad "Alt-F Package Manager" webUI design, as checking the checkboxes *disables* the feed and comments the ipkg feed configuration file. with a '#!#'.

I also believe that the first time that one installs Alt-F one has to first hit the "UpdatePackageList" (not sure)



Now pakage > alt-f works fine, and the box is also working fine,  I've installed ethtool and started minidlna and various SMB shares and all works fine.

As a side note, if I select

(checking or unchecking the checkboxes?)
 
both stable and unstable pakage feeds I ends up with an empty avalable pakages list, maybe this is expected behaviour.

Regards, Fabio

Thanks for reporting (but it will be lost if a bug report is not filled at sourceforge

Evan Venn

unread,
Oct 31, 2021, 9:37:43 AM10/31/21
to Alt-F
Brilliant fix.  Ran ' wget --no-check-certificate https://curl.se/ca/cacert.pem -O /etc/ssl/ca-bundle.crt' on all my 323' and now updating as expected.
Reply all
Reply to author
Forward
0 new messages