Speedy2206
05-03-2007, 01:01 AM
I would like to further expand on the information that you have in your FAQ about creating an internet update server :)
My submission is below. You are free to use it or modify it as necessary if you wish.
How to create your very own Internet Update Server
*Information for Developers only*
This page explains how you can create your own images and offer others the possibility to download them directly from the DBOX without using a PC.
In /var/tuxbox/config/neutrino.conf you will find a line labelled "softupdate_url_file". Here, you specify the URL to a file on your server which contains a list of updates. As an example, you may wish to enter:
To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. The file "updates.txt" should be present on your server, and will need to be formatted like this:
To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. a8207ee2f8e2c23897fa219c7e3039ec 1201200510201707 Commando v5
To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. 583d46c96c8124b869a2226c5d55a471 1201200512152330 Sportster PRO 1.12
The syntax is simple.
Firstly, we enter the absolute URL to the image.
Secondly, we enter the MD5 value for that image. This is used for error checking.
Thirdly, we enter the date/time that the image was released.
Fourthly, we enter the name of the image.
The MD5 value can be calculated very quickly using this freeware program: To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. The date/time information is easy.
Lets look at this example: 120120052152330
The first two digits are the month.
The second two digits are the day (add a zero for 1 digit numbers)
The next four digits are the year.
The next three digits are the version/release information - I THINK!
The next two digits are the hour (24 hour clock)
The final two digits are the minute.
So in our example, the image was released on 1st December 2005, at 23:30.
Save the file to your webserver and connect to your server through the neutrino interface.
A list will be displayed showing each of your images available for download.
You can have as many lines as you like, representing as many images as you like.
If you want to cheat with the date/time/release information then you can grab the information from the /version file in your image after it has been completed and compiled.
This means that all you need to do is give the URL to the file, calculate its MD5 value, and give it a friendly name to be shown on the menu :)
The version/release information I wasnt too sure about. Its something like - put a 1 for "RELEASE", put a 2 for "BETA", put a 3 for "SNAPSHOT". But its easier to get it from ./version :)
My submission is below. You are free to use it or modify it as necessary if you wish.
How to create your very own Internet Update Server
*Information for Developers only*
This page explains how you can create your own images and offer others the possibility to download them directly from the DBOX without using a PC.
In /var/tuxbox/config/neutrino.conf you will find a line labelled "softupdate_url_file". Here, you specify the URL to a file on your server which contains a list of updates. As an example, you may wish to enter:
To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. The file "updates.txt" should be present on your server, and will need to be formatted like this:
To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. a8207ee2f8e2c23897fa219c7e3039ec 1201200510201707 Commando v5
To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. 583d46c96c8124b869a2226c5d55a471 1201200512152330 Sportster PRO 1.12
The syntax is simple.
Firstly, we enter the absolute URL to the image.
Secondly, we enter the MD5 value for that image. This is used for error checking.
Thirdly, we enter the date/time that the image was released.
Fourthly, we enter the name of the image.
The MD5 value can be calculated very quickly using this freeware program: To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. The date/time information is easy.
Lets look at this example: 120120052152330
The first two digits are the month.
The second two digits are the day (add a zero for 1 digit numbers)
The next four digits are the year.
The next three digits are the version/release information - I THINK!
The next two digits are the hour (24 hour clock)
The final two digits are the minute.
So in our example, the image was released on 1st December 2005, at 23:30.
Save the file to your webserver and connect to your server through the neutrino interface.
A list will be displayed showing each of your images available for download.
You can have as many lines as you like, representing as many images as you like.
If you want to cheat with the date/time/release information then you can grab the information from the /version file in your image after it has been completed and compiled.
This means that all you need to do is give the URL to the file, calculate its MD5 value, and give it a friendly name to be shown on the menu :)
The version/release information I wasnt too sure about. Its something like - put a 1 for "RELEASE", put a 2 for "BETA", put a 3 for "SNAPSHOT". But its easier to get it from ./version :)