Difference between revisions of "Change Media Server Name"

From hummy.tv Wiki
Jump to: navigation, search
Line 48: Line 48:
 
   
 
   
 
  Processed in: 22.97s
 
  Processed in: 22.97s
 +
humax# '''ls'''
 +
1.hdfbin-1-000000.raw  HDR_FOX_T2_upgrade.hdf
 +
 +
There are now two files on the USB drive.
 +
 +
== Extract the file system ==
 +
 +
Extract the filesystem using ''unsquashfs''. This takes around 5 seconds.
 +
 +
humax# ''unsquashfs -d /mod/tmp/firmware 1.hdfbin-1-000000.raw''
 +
 +
created 1383 files
 +
created 124 directories
 +
created 144 symlinks
 +
created 200 devices
 +
created 0 fifos
 +
 +
and change directory to the location of the extracted firmware.
 +
 +
humax# cd /mod/tmp/firmware
 +
humax# ls
 +
bin    etc    lib    mnt    opt    root  share  tmp    var
 +
dev    home  media  mod    proc  sbin  sys    usr
 +
 +
== Change the media server name ==

Revision as of 20:06, 27 May 2012

If you have more than one Humax HDR Fox-T2 on the same network and use the Content Sharing (DLNA Server) feature, you may wish to change the name that they use to advertise themselves on the network. The following instructions take you through the process of modifying a customised firmware update file to change the name. The commands are all run on the Humax itself.

Gain telnet access to your Humax command prompt

Follow the instructions on this page

Once you have connected to the Humax command line then you will see a prompt that looks like

humax#

The commands in the following sections show this prompt for context but you should not type it. The command that you need to type will be shown in bold whereas the prompt and other output that you will see is shown in normal font.

Install the required packages

This process uses several packages which may not already be installed on your Humax:

  • humidify
  • squashfs-tools
  • bsed

Since you're already at the command prompt, you can just install them using the opkg command:

humax# opkg install humidify squashfs-tools bsed

Insert a USB Flash drive containing the firmware update

Put the customised firmware update file onto a USB flash drive, just as you would to apply the update, and plug it into your Humax. Just as with an update, the firmware bundle should be the only thing on the disk. Since the Humax is already turned on, it will not try and apply the update. If your TV is turned on and the Humax input is selected then the screen may show the loading USB and Video/Music/Photo/Copy box. This can be dismissed with the Exit button or just ignored until it times out.

Unless you have any other drives connected, this USB flash drive will now be mounted into the Humax filesystem as /media/drive1. Change into that directory and list the contents:

humax# cd /media/drive1
humax# ls
HDR_FOX_T2_upgrade.hdf

Unpacking the firmware bundle

Unpack the firmware bundle using humidify. This takes around 30 seconds.

humax# humidify -x HDR_FOX_T2_upgrade.hdf
HDF Tool v1.0.2, by af123, 2011.

Opening HDR_FOX_T2_upgrade.hdf, 17176677 bytes.

  Blocks:     527
  Model:      4
  System ID:  80bc.7e00  

x  1.hdfbin-1-000000.raw          (17223680 bytes)

Processed in: 22.97s
humax# ls
1.hdfbin-1-000000.raw   HDR_FOX_T2_upgrade.hdf

There are now two files on the USB drive.

Extract the file system

Extract the filesystem using unsquashfs. This takes around 5 seconds.

humax# unsquashfs -d /mod/tmp/firmware 1.hdfbin-1-000000.raw

created 1383 files
created 124 directories
created 144 symlinks
created 200 devices
created 0 fifos

and change directory to the location of the extracted firmware.

humax# cd /mod/tmp/firmware
humax# ls
bin    etc    lib    mnt    opt    root   share  tmp    var
dev    home   media  mod    proc   sbin   sys    usr

Change the media server name