Member Log In

Not a Member Yet?

It only takes a minute to start enjoying the benefits of AVForums membership, and it's free!

Web Interface v2.0 for Humax Foxsat HDR

Thread Closed
Old 13-10-2011, 7:10 PM   #1
Member
Join Date: Jul 2011
Thanks: Gave 54, Got 442
Posts: 334
Web Interface v2.0 for Humax Foxsat HDR

Hello Everyone,

I am pleased to announce that Version 2.0 of the Web Interface for the Foxsat HDR is now available for download.

Before I get started on how to upgrade and a quick list of new features there are a few notes of thanks that need to be made. Full credits are in the FAQ included with this release but I must mention a few people who have been instrumental in getting to this point.

Firstly, thanks to af123 (af12345 as he's known here) for allowing us to take his original work on the T2 and port it over to the Foxsat HDR, for sharing the source code to a number of utilities, for his help and support during the development process and for hosting the repository from which you are about to download the upgrade.

Huge thanks to raydon for his help, support and encouragement whilst I battled through the implementation and for resolving a number of issues with the startup scripts and packaging. Without raydon and af123 none of this would have been possible. Thanks!

Lastly, thanks to the beta testers (raydon, partridge and REPASSAC) for their fabulous, contructive feedback during the intial test cycle.

Okay, here it is ......

New Features in v2

FAQ / Quick Tour
A FAQ and quick tour document is included with this release (link at bottom left of home page). Please take the time to read this before posting questions. It should cover most of the obvious things you need to know.

Updated Media Browser
The Media Browser is now integrated with a HMT file parser/manipulator allowing you to Lock/Unlock, Protect/Unprotect, Mark new/Watched, Delete, Rename or download a recording.


EPG Browsing Funtionality
Two EPG modules are included in this release - Now/Next and a 7-day view similar to that of the Foxsat Guide page.






EPG Searches
You can also search the EPG program titles (and optionally program descriptions) for any text of your choice.

Settings Page
A new Settings page allows you to manipulate a number of web interface and system settings.



Pre-Requisites
Please note that this upgrade requires you to be running v4.0.4 of the custom firmware. Please upgrade to that before installing the web interface upgrade.

Download Instructions
To download the upgrade, browse to the "Package Management" page and click the "Update Package list from Internet" button. Once complete, select the "Upgrades" tab and install the Web Interface upgrade package. This will install the upgrade and several new utilities required by it. Note that this can take in the region of 60s to complete.

Last thing - Please don't post a question asking if/when it will be possible to view/set scheduled recordings via the web interface. This is a work in progress but there are a number of challenges yet to be overcome. Please be patient - I'll be having a short break and then cracking on with that in a few weeks.

That's it. I hope you enjoy using this release. My regards to everyone on the forum.

Adrian
 
Thanks from:
alanathome (20-10-2011), caldirun (14-10-2011), David500 (14-10-2011), Fatman (14-10-2011), galleonslap (14-10-2011), GaseousClay (13-10-2011), GeekLeader (20-10-2011), Hambone (12-12-2011), HeadBanger (23-10-2011), illingworth22 (14-10-2011), jeff2000 (17-10-2011), Jellyroll (15-10-2011), JIMMYBO (14-10-2011), Ken555 (22-10-2011), lmt1970 (19-10-2011), magna (20-10-2011), Malomaka (14-10-2011), mattarth (18-10-2011), Maximumbaz (14-10-2011), maxwech (16-10-2011), mikepaterson (09-01-2012), mrmarky (13-10-2011), Partridge (13-10-2011), Questioner9 (13-10-2011), raydon (13-10-2011), Rob71 (14-10-2011), Rodders53 (14-10-2011), savvy249 (15-10-2011), slippery (26-10-2011), Society (14-10-2011), staceydsf (14-10-2011), Stroggy (14-10-2011), Tim B (02-12-2011), Timd01 (14-10-2011), twosheds (15-10-2011), wocky (13-10-2011)
Advert
Log in or sign up to remove
Old 13-10-2011, 7:21 PM   #2
Member
Join Date: Apr 2010
Thanks: Gave 64, Got 911
Posts: 929
Great stuff Adrian. Congratulations on a great job

Last edited by raydon; 19-10-2011 at 3:51 PM.
 
Old 13-10-2011, 7:50 PM   #3
New Member
Join Date: Feb 2011
Location: Llanfihangel
Thanks: Gave 7, Got 0
Posts: 19
Absolutely fantastic update thanks, I like the opt+ options alot, just one thing that I noticed is that when I deleted two episodes of the gadget show the parent folder for the series remained, I FTP'ed into the box to remove it, it also happend with another program that had a parent series folder, is this normal or is it me as I was accesing via an iPad
 
Old 13-10-2011, 7:56 PM   #4
Senior Member
GaseousClay's Avatar
Join Date: Jan 2011
Location: Worcester
Thanks: Gave 960, Got 857
Posts: 2,500
Wow, this is brill. I too love the opt+ options especially being able to mark items as watched/new.
 
Old 13-10-2011, 7:57 PM   #5
Member
Join Date: Jul 2011
Thanks: Gave 54, Got 442
Posts: 334
Quote:
Originally Posted by the drone
Absolutely fantastic update thanks
Thanks. Glad you like it.

Quote:
Originally Posted by the drone
when I deleted two episodes of the gadget show the parent folder for the series remained
Good point. The Media Browser doesn't currently delete empty parent folders. No reason why it can't be made to do so though. If it's a popular request I'll include in the next release.
 
Old 13-10-2011, 8:57 PM   #6
Member
Join Date: Jul 2006
Thanks: Gave 9, Got 81
Posts: 603
Great stuff, and thanks for the user access control. Is there any security reason not to open the web interface up to the internet once user access control is enabled.
 
Old 13-10-2011, 9:40 PM   #7
Member
Join Date: Jul 2009
Location: Perigord
Thanks: Gave 17, Got 10
Posts: 134
Superb.

Well done and huge thank you to all involved.
 
Old 13-10-2011, 11:41 PM   #8
Member
Join Date: Feb 2011
Thanks: Gave 59, Got 34
Posts: 116
Adrian
Great work. Thanks to you and everybody who was involved.

Quote:
Originally Posted by adrianf36 View Post
Thanks. Glad you like it.
Good point. The Media Browser doesn't currently delete empty parent folders. No reason why it can't be made to do so though. If it's a popular request I'll include in the next release.
Agree delete empty folders would good
 
Old 14-10-2011, 7:40 AM   #9
Member
Join Date: Jul 2011
Thanks: Gave 54, Got 442
Posts: 334
Sorry this is a bit of a long post (and slightly off topic) but wanted to address the question regarding security of allowing access from the Internet.

Quote:
Originally Posted by swedish cook
Is there any security reason not to open the web interface up to the internet once user access control is enabled.
I've done a very quick search and couldn't find any known exploits for the version of mongoose that we're running. Of course, that doesn't mean to say there aren't any or won't be any in the future

My personal opinion is that there is always a risk with opening up your router to allow unsolicted traffic into your network. However, if you set it up carefully, this risk can be minimised.
  • Assign your Humax a static TCP/IP address on your network that is outside of your router's DHCP scope
  • Only open up a single port (port 80 in this case) and use the "port forwarding" feature on your router to forward requests on that port to your Humax
  • Some routers allow you to configure a DMZ on a specific device on your network which will open all ports to that device. Do not do this.
  • Enable logging of all inbound traffic on your router (not all routers have this feature) and check the logs regularly for unexpected attempts to gain access
  • If you know that you'll only ever access the box remotely from a specific place (e.g. from work), and if your router allows, limit external access to specific TCP/IP addresses only. Logging would help you to determine the (probably static) IP address of your workplace.
  • Minimise exposure to the risk by turning off your Foxsat and/or the router port forwarding rule when you know you're not going to be accessing the device remotely
  • Change the password for the "root" user on your box to something other than the default!

So now the potentially scary bit. Let's talk worst case scenarios.

At the end of the day, unless you are able to limit Internet addresses that can access your device, you will be opening up port 80 to anyone on the internet who stumbles across your public TCP/IP address. 99+% of Internet user's don't go round port scanning public addresses to find devices with open ports. But with billions of Internet users out there the <1% that do is a resonable number. Enable logging on your router's firewall if you don't believe me and check it after a few days!

Worst case then ..... someone might be able to "find" your public IP address, bypass the mongoose username/password, guess your new "root" pasword and get access to your box.

Even if this does happen, and someone is able to browse the file system, they're likely to be bitterly dissapointed! It's hardly NASA or MI5 - they won't be making a fortune selling illicitly obtained secrets to the papers! Chances are they'd get bored an move on.

In addition, given that most of the filesystem is read-only there's not a huge risk of permanent damage. However, the writeable bits (such as the /opt folder) could be deleted. This would include any recordings, music or photos you have in the media folders too.

The risk is minimal. You'll need to make your own decision as to whether it's acceptable or not though.

Hope this helps.
 
Thanks from:
caldirun (14-10-2011), swedish cook (14-10-2011)
Old 14-10-2011, 9:07 AM   #10
Member
Join Date: Jul 2011
Thanks: Gave 54, Got 442
Posts: 334
Sorry, one last thing that should have been in the last post.

You should, of course, take the usual precaution of setting a complex password for web access and change it regularly.
 
Old 14-10-2011, 11:41 AM   #11
Member
Join Date: Feb 2004
Location: Portsmouth
Thanks: Gave 14, Got 1
Posts: 131
I updated to Raydons Media & File Server 4.0.4 following the 1.00.17 firmware update and then added your very nice looking Web Interface v2.0 this morning. All was working ok but now when I enter the web address (192.168 etc) I get a 'could not connect' message. Restating the Humax allows me to connect again but I soon get the 'could not connect' message again, any idea what could be happening?

Windows Explorer can see the Humax ok at all times
 
Old 14-10-2011, 11:46 AM   #12
Member
Join Date: Jul 2011
Thanks: Gave 54, Got 442
Posts: 334
Quote:
Originally Posted by Maximumbaz
Restating the Humax allows me to connect again but I soon get the 'could not connect' message again, any idea what could be happening?
Hi. Sorry to hear you're having problems.

After re-starting the Humax does the web interface come up okay?

Does it then stop working of it's own accord (one minute it's there and the next it's not) or does it stop responding as you are browsing the web pages?
 
Old 14-10-2011, 12:06 PM   #13
New Member
Join Date: Jul 2011
Thanks: Gave 0, Got 0
Posts: 5
Has the new Humax Firmware HPRSFCI 1.00.17 clashed with these add-ons as I too can no longer connect?
 
Old 14-10-2011, 12:14 PM   #14
New Member
Join Date: Oct 2011
Thanks: Gave 3, Got 0
Posts: 2
Excellent work.

Not a major problem but...

On the Now/Next and 7 day EPG, the channel Icon/Picture does not seem to appear for channel 103 'ITV1 Mer South' (all other channels display fine).
 
Old 14-10-2011, 12:28 PM   #15
Member
Join Date: Jul 2011
Thanks: Gave 54, Got 442
Posts: 334
Quote:
Originally Posted by Malomaka
On the Now/Next and 7 day EPG, the channel Icon/Picture does not seem to appear for channel 103 'ITV1 Mer South' (all other channels display fine).
I had a feeling there would be a few regional channel icons missing I'm afraid. If you're comfortable with telnet you can sort this by doing the following once telnet'd onto your box:

Code:
cd /opt/var/mongoose/html/img/channels
ln -s "ITV Meridian E.png" "ITV1 Mer South.png"
All of the above "ln" command is case sensitive. The bit in red should be replaced with the Channel name exactly as it is displayed in the EPG page (same case, spaces etc.).

Let me know if that works. I'll keep a list of the missing icons and make sure they're included in the next release.
 
Thanks from:
Malomaka (14-10-2011)
Old 14-10-2011, 12:28 PM   #16
Member
Join Date: Feb 2004
Location: Portsmouth
Thanks: Gave 14, Got 1
Posts: 131
Hi adrianf36, thanks for the quick reply, it's actually working OK at the moment, I've been happily browsing through pages for about 15 minutes.

On 3 occasions in the past hour it stopped responding whilst browsing through the pages and an AVG oops could not connect page appeared. I was then unable to reach the Web Interface page with Firefox 7, Internet Explorer 9 or Google Chrome but Windows Explorer was OK. Each occasion required the Humax to be switched off and on (by the front button, not a full power off) to reach the Web Interface page again
 
Old 14-10-2011, 12:36 PM   #17
Member
Join Date: Jul 2011
Thanks: Gave 54, Got 442
Posts: 334
Quote:
Originally Posted by centre100
Has the new Humax Firmware HPRSFCI 1.00.17 clashed with these add-ons as I too can no longer connect?
It shouldn't have. Did you upgrade to v4.0.4 of the custom firmware before installing the upgrade?

A I understand it, v4.0.4 of the custom firmware includes the 1.00.17 update from Humax so the OTA transmission shouldn't have had an effect on anything.

Are you still able to telnet to your Humax and/or connect via the SMB share(s)? Is it just web access that seems to have died? If so, does a reboot bring it back?
 
Old 14-10-2011, 12:38 PM   #18
New Member
Join Date: Jul 2011
Thanks: Gave 0, Got 0
Posts: 5
Maximumbaz

Please tell me what Humax Firmware you are currently using. I still can't connect even after a power off.
Thanks
 
Old 14-10-2011, 12:39 PM   #19
New Member
Join Date: Oct 2011
Thanks: Gave 3, Got 0
Posts: 2
Quote:
Originally Posted by adrianf36 View Post
I had a feeling there would be a few regional channel icons missing I'm afraid. If you're comfortable with telnet you can sort this by doing the following once telnet'd onto your box:

Code:
cd /opt/var/mongoose/html/img/channels
ln -s "ITV Meridian E.png" "ITV1 Mer South.png"
All of the above "ln" command is case sensitive. The bit in red should be replaced with the Channel name exactly as it is displayed in the EPG page (same case, spaces etc.).

Let me know if that works. I'll keep a list of the missing icons and make sure they're included in the next release.
Perfect fix
 
Old 14-10-2011, 12:40 PM   #20
Member
Join Date: Feb 2004
Location: Portsmouth
Thanks: Gave 14, Got 1
Posts: 131
It's just gone again. I shut down Firefox and restarted it and got the "AVG oops! page not found" again. I also had the page at /faq/faq.html open and that page also has the "page not found" message
 
Old 14-10-2011, 12:43 PM   #21
Member
Join Date: Feb 2004
Location: Portsmouth
Thanks: Gave 14, Got 1
Posts: 131
Quote:
Originally Posted by Centre100 View Post
Maximumbaz

Please tell me what Humax Firmware you are currently using. I still can't connect even after a power off.
Thanks
Mine was updated to 1.00.17 over the air then the Media & File Server 4.0.4 (also with 1.00.17) was applied this morning.
 
Old 14-10-2011, 12:47 PM   #22
New Member
Join Date: Jul 2011
Thanks: Gave 0, Got 0
Posts: 5
Hi adrianf36

Thanks for the reply.
I did the v4.0.4 upgrade as soon as it was released but didn't check if the Humax firmware was updated as well.
Still can't connect using FTP or either Chrome/IE9 over my home network.
However Network Magic does see it and confirm my IP settings.
I'll reload v4.0.4 and see what happens.
 
Old 14-10-2011, 12:50 PM   #23
Member
Join Date: Jul 2006
Thanks: Gave 9, Got 81
Posts: 603
Quote:
Originally Posted by adrianf36 View Post
Sorry this is a bit of a long post (and slightly off topic) but wanted to address the question regarding security of allowing access from the Internet.
...
In addition, given that most of the filesystem is read-only there's not a huge risk of permanent damage. However, the writeable bits (such as the /opt folder) could be deleted. This would include any recordings, music or photos you have in the media folders too.

The risk is minimal. You'll need to make your own decision as to whether it's acceptable or not though.

Hope this helps.
Thanks for this, Mongoose isn't a web server I've used before. If possible with my router I will also not open port 80 and instead use a lesser used higher numbered port which is not likely to be scanned and forward to the HDR port 80. Port numbers can be found here List of TCP and UDP port numbers - Wikipedia, the free encyclopedia
 
Old 14-10-2011, 12:52 PM   #24
Member
Join Date: Jul 2011
Thanks: Gave 54, Got 442
Posts: 334
Quote:
Originally Posted by Maximumbaz
On 3 occasions in the past hour it stopped responding whilst browsing through the pages
Sounds to me like Mongoose is bombing out for some reason. We did see this once or twice during testing but only when we were trying to hammer through all the pages as quickly as possible to get everything tested.

The root cause is still under investigation but it does appear at the moment that mongoose can get upset if you navigate away from a page or click on links on a page before it's fully loaded into your browser. The pipe that mongoose was using to transfer the data for the page you've navigated away from sometimes doesn't get terminated cleanly.

This was one of many reasons for implementing the Channel List filters. The full epg (all channels) can take 20+ seconds to render and it is very tempting to navigate away from the page before it's fully loaded.

Does this sound like it may be the cause? If so, if you try to make a conscious effort to let the page fully load before clicking on anything or navigating away you should find it doesn't happen.

If this all sounds like nonsense, can you provide any other information to help try and track down what's going on? Is it a particular module that you're having problems or have you had problems in different modules?
 
Thanks from:
Maximumbaz (14-10-2011)
Old 14-10-2011, 12:57 PM   #25
Member
Join Date: Apr 2010
Thanks: Gave 64, Got 911
Posts: 929
Quote:
Originally Posted by Maximumbaz View Post
It's just gone again. I shut down Firefox and restarted it and got the "AVG oops! page not found" again. I also had the page at /faq/faq.html open and that page also has the "page not found" message
Sounds like the mongoose server is suffering the occasional crash. If you are comfortable with using telnet, then you can check the running status of mongoose by entering the command service from the command line. You will then be presented with a list like this:
Code:
Foxsat-HDR~# service

Name                 Installed  Autostart  Running
----                 ---------  ---------  -------
telnet               Yes        Yes        Yes
dropbear             Yes        No         No
tinyftp              Yes        No         No
vsftpd               Yes        Yes        Yes
samba                Yes        Yes        Yes
mediatomb            Yes        No         No
twonkymedia          Yes        No         No
mongoose             Yes        Yes        Yes

Syntax:
        service start <service>
        service stop <service>
        service toggle <service>        (toggles service state)
        service auto <service>          (toggles autostart)
If mongoose is not listed as running then you can restart it by entering the command service start mongoose. You should the be able to access the web interface again without the need for a reboot.

Last edited by raydon; 14-10-2011 at 1:00 PM. Reason: spelling correction
 
Thanks from:
Maximumbaz (14-10-2011)
Old 14-10-2011, 1:41 PM   #26
New Member
Join Date: Jul 2011
Thanks: Gave 0, Got 0
Posts: 5
I've now reinstalled v4.0.4 and noticed during the installation process the screen showed Humax firmware 1.00.17.
I can now connect as before without issue.
However the Humax now shows its firmware as 1.00.15, which suggests I'll loose the Humax fixes until the firmware is updated over the air again, then perhaps I'll be unable to connect again.

Any thoughts please?
 
Old 14-10-2011, 1:58 PM   #27
New Member
Join Date: Nov 2009
Thanks: Gave 0, Got 1
Posts: 28
Fantastic work! It is like the old days when they started development of TiVoWeb
 
Old 14-10-2011, 2:18 PM   #28
Member
Join Date: Feb 2004
Location: Portsmouth
Thanks: Gave 14, Got 1
Posts: 131
Thanks for the suggestions Adrianf36 and Raydon, I've not used telnet before and from the way you say "If you are comfortable with using telnet" I'm guessing it's not something simple. Do you know of any basic guides?
 
Old 14-10-2011, 4:01 PM   #29
Member
Join Date: Apr 2010
Thanks: Gave 64, Got 911
Posts: 929
Quote:
Originally Posted by Maximumbaz View Post
Thanks for the suggestions Adrianf36 and Raydon, I've not used telnet before and from the way you say "If you are comfortable with using telnet" I'm guessing it's not something simple. Do you know of any basic guides?
Which operating system are you using ?
 
Old 14-10-2011, 4:35 PM   #30
Member
Join Date: Feb 2004
Location: Portsmouth
Thanks: Gave 14, Got 1
Posts: 131
Quote:
Originally Posted by raydon View Post
Which operating system are you using ?
I'm using Windows 7 64bit Home Premium 'BUT' I did a full power off with the Humax using the rear switch and rebooted my router and it seems to be OK at the moment (fingers crossed)
 
Thread Closed



Thread information and display options
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off