Can't connect via browsers

I have this problem too - no webif but can access via telnet, and my Win7 m/c can 'see' all the files on the Hummy. No other network problems I know of.

Will this correct itself if a new download is scheduled or will I have to do something??? Thanks for all the hard work!
 
I did - simply cut and pasted the cmds, so the package list still appears to reference .37 ?
The current package list definitely references 1.4.35-4 e.g.:-
Code:
humax# opkg update
Downloading http://hpkg.tv/hdrfoxt2/base/Packages.gz.
Inflating http://hpkg.tv/hdrfoxt2/base/Packages.gz.
Updated list of available packages in /mod/var/opkg/base.


humax# opkg list
7zip - 9.20.1 - 7-zip archive utility.
. . .
lighttpd - 1.4.35-4 - Lightweight web server
. . .
zeroconf - 1.5-2 - MDNS & LLMNR Responder
humax#

I would try them separately e.g. :-
Code:
opkg update

opkg install lighttpd --force-reinstall
 
Last edited:
I did - simply cut and pasted the cmds, so the package list still appears to reference .37 ?
Far be it for me to disagree with af123, but I think you might need "--force-downgrade" not "--force-reinstall", as I said in #12. I tested it then and it worked.
Try "opkg --force-downgrade install lighttpd"
 
Is WI 1.2.5-4 OK
Yes WebIf is OK, it's lighttpd 1.4.37 web server, or more specifically, a new pcre library dependency, that's the problem. If you have already installed it, the server will not start on next reboot. Follow prpr's instructions if you can't wait for the fix from af123.
 
Last edited:
There is, but...
Code:
humax# opkg files libpcre
Package libpcre (8.37) is installed on root and has the following files:
/mod/include/pcre.h
/mod/include/pcrecpparg.h
/mod/lib/pkgconfig/libpcreposix.pc
/mod/lib/pkgconfig/libpcrecpp.pc
/mod/lib/pkgconfig/libpcre.pc
/mod/include/pcrecpp.h
/mod/bin/pcretest
/mod/bin/pcregrep
/mod/bin/pcre-config
/mod/include/pcreposix.h
/mod/include/pcre_stringpiece.h
/mod/include/pcre_scanner.h
...no library.
/mod/bin/pcretest and /mod/bin/pcregrep also return a can't load library 'libpcreposix.so.0' error.
 
I have tried "opkg --force-downgrade install lighttpd" after an "opkg update" but no difference.
 
I have tried "opkg --force-downgrade install lighttpd" after an "opkg update" but no difference.
I tried --force-downgrade but it said that lighttpd 1.4.37 (the problematic version) was up to date and Web-If did not start after a reboot. I tried --force-reinstall and it gave some error messages but after rebooting I am now at the Web-If bootstrap page.
 
Opkg seems very clunky and unhelpful with stuff like this. When I tested it, it was with a local copy, so now the errant package has been removed from the repository, try:
Code:
humax# cd /tmp
humax# opkg update
humax# opkg download lighttpd
humax# opkg --force-downgrade install lighttpd_1.4.35-4_mipsel.opk
 
I have tried "opkg --force-downgrade install lighttpd" after an "opkg update" but no difference.
Did you manually install lighttpd_1.4.35-4_mipsel.opk onto your Humax (as detailed in prpr's #12) before sending the downgrade command?
 
Opkg seems very clunky and unhelpful with stuff like this. When I tested it, it was with a local copy, so now the errant package has been removed from the repository, try:
Code:
humax# cd /tmp
humax# opkg update
humax# opkg download lighttpd
humax# opkg --force-downgrade install lighttpd_1.4.35-4_mipsel.opk

I tried that with these results:

humax1# cd /tmp
humax1# opkg update
Downloading http://hpkg.tv/hdrfoxt2/base/Packages.gz.
Inflating http://hpkg.tv/hdrfoxt2/base/Packages.gz.
Updated list of available packages in /mod/var/opkg/base.
humax1# opkg download lighttpd
Collected errors:
* opkg_download_pkg: Package lighttpd is not available from any configured src.
* opkg_download_cmd: Failed to download lighttpd.
humax1# opkg --force-downgrade install lighttpd_1.4.35-4_mipsel.opk
Collected errors:
* wfopen: lighttpd_1.4.35-4_mipsel.opk: No such file or directory.
* pkg_init_from_file: Failed to extract control file from lighttpd_1.4.35-4_mipsel.opk.
 
I don't recommend using --force-reinstall. I am now stuck at the bootstrap page. It seems like it removes lighttpd and fails to install a different version. I have downloaded the right package to my tablet but without Samba or FTP I am struggling: I'm sure it is possible to copy the package over with telnet but I don't know the necessary commands.
 
It appears that .37 is still in the package list somewhere on my box at least:

humax# opkg update
Downloading http : // hpkg.tv / hdrfoxt2 / base / Packages.gz.
Inflating http : // hpkg.tv / hdrfoxt2 / base / Packages.gz.
Updated list of available packages in / mod / var / opkg / base.
humax# opkg list | grep light
jim - 0.76 - Jim - lightweight TCL interpreter
A plugin for the jim interpreter (a lightweight TCL interpreter) which
A plugin for the jim interpreter (a lightweight TCL interpreter) which
lighttpd - 1.4.35-4 - Lightweight web server
lighttpd - 1.4.37
humax#​

[urls tweaked to be able to post]
 
I suggest you manually hack out the obvious section from the /mod/var/opkg/base file then.
Install nano if you don't already have it, and teach yourself a crash course on how it works!

It would probably have been a good idea to re-release 1.4.35-4 as 1.4.38 instead of just removing 1.4.37 as it seems to make opkg unhappy.
 
MadMart : It appears that .37 is still in the package list somewhere on my box at least:
I can't explain that, maybe the difference is that I have not allowed lighttpd - 1.4.37 to install on my Humax, does opkg list gets info. from more than one source?
 
Last edited:
-force-downgrade didn't work for me but I was able to remove --force-depends and then install the old version
Code:
Humax# opkg update
Downloading http://hpkg.tv/hdrfoxt2/base/Packages.gz.
Inflating http://hpkg.tv/hdrfoxt2/base/Packages.gz.
Updated list of available packages in /mod/var/opkg/base
Humax# opkg --force-downgrade install lighttpd
Package lighttpd (1.4.37) installed in root is up to date.
Humax# opkg --force-depends remove lighttpd
Removing package lighttpd from root...
killall: lighttpd: no process killed
Humax# opkg --force-downgrade install lighttpd
Installing lighttpd (1.4.35-4) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/lighttpd_1.4.35-4_mipsel.opk.
Configuring lighttpd.
Humax#
 
I can't explain that, maybe the difference is that I have not allowed lighttpd - 1.4.37 to install on my Humax, does opkg list gets info. from more than one source?

Found a solution. opkg is also reading the status file in /mod/var/opkg which still contained the following entry:

Package: lighttpd
Version: 1.4.37
Depends: swapper, service-control (>= 2.0), libpcre
Provides:
Status: install user not-installed
Architecture: mipsel
Conffiles:
/mod/etc/lighttpd/extra.conf 7bfa62271212309f1568ac2a03a2532e
Installed-Time: 1445570875​

I removed the above lines and then the .35-4 installed :)
 
Back
Top