When you have your virgin iConnect, a suitable USB stick (or SD card plus card reader combo) in front of you and the Meteohub image downladed (as described here), then we are ready to start patching your iConnect by 4 easy steps:
Step 1: Extract Meteohub Image
First of all you have to decompress the downloaded file. As the file is in ".rar" format you have to use one of the file-decompressors availabe that can handle ".rar" files. On Windows you can use 7zip, on Linux "unrar" utility (link) can be used for that. Result of "unrar" is a file about 4GB in size that is named like "mhiconnect-stick-xyz.img".
Step 2: Put Meteohub Image onto USB stick
The file resulting from step 1 is not a file the pure binary low-level data. Please be aware that this data has not to be placed into a file system you have already brought onto the USB stick, but that this data includes 3 partitions with separate filesystems in it. Therefore, just copying the resulting ".img" file onto the stick, as you normally do with files, will not work. You need a special tool for that.
Linux
On Linux you use the "dd" command. Please insert the USB stick into your Linux box and check via "dmesg" what device the stick as been mapped to. In the following example it has been mapped to "/dev/sdj"
host:~# dmesg ... [708634.148013] usb 2-8: new high speed USB device using ehci_hcd and address 9 [708634.566078] usb 2-8: New USB device found, idVendor=058f, idProduct=6387 [708634.566082] usb 2-8: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [708634.566084] usb 2-8: Product: Mass Storage Device [708634.566086] usb 2-8: Manufacturer: JetFlash [708634.566088] usb 2-8: SerialNumber: Q05E7OLZ [708634.566409] scsi24 : usb-storage 2-8:1.0 [708635.613921] scsi 24:0:0:0: Direct-Access JetFlash TS4GJF130 8.07 PQ: 0 ANSI: 2 [708635.614072] sd 24:0:0:0: Attached scsi generic sg9 type 0 [708635.617302] sd 24:0:0:0: [sdj] 7987200 512-byte logical blocks: (4.08 GB/3.80 GiB) [708635.617910] sd 24:0:0:0: [sdj] Write Protect is off [708635.617913] sd 24:0:0:0: [sdj] Mode Sense: 03 00 00 00 [708635.617915] sd 24:0:0:0: [sdj] Assuming drive cache: write through [708635.621534] sd 24:0:0:0: [sdj] Assuming drive cache: write through [708635.621538] sdj: sdj1 sdj2 sdj3 [708635.624279] sd 24:0:0:0: [sdj] Assuming drive cache: write through [708635.624281] sd 24:0:0:0: [sdj] Attached SCSI removable disk
We are just looking for "sdj" and are not interested in the partitions recognized on the stick (sdj1, sdj2, sdj3). The print out above tells that "/dev/sdj" is the target device. To make sure that the device ist not mounted by some background processes you should manually unmount all partitions by "umount". In the given example this will be
umount /dev/sdj1; umount /dev/sdj2; umouunt /dev/sdj3
When this throws errors about not mounted file systems that is fine. Don't worry. Now it is time to bring the Meteohub image onto the stick. In the example above this will be done by
dd if=mhiconnect-stick-xyz.img of=/dev/sdj bs=1M
Please be careful with that command. When you choose the wrong "of=" target (i.e. your system drive) this will be overwritten without further notice and you will have to restore your Linux box! As dd has to transport 4GB of data to the stick this will take a few minutes. When finished dd will report number of written blocks. If it reports that not all blocks could be written, something is wrong with your USB stick (may be less than 4GB in size?).
When "dd" has completed without error, this step is finished and you can pull the USB stick from your Linux box.
Windows
On Windows you need download and run a special tool to do the required low-level writing to the USB stick. The tool of choice is the the "ImageWriter" from SuSE (you find additional information about this tool here). Please download ImageWriter.exe to your Windows PC. It does not need to be installed it is just a small executable to run. Having done that, please insert the USB stick into your PC wait a few seconds and then start downloaded "ImageWriter.exe" as administrator. Wait until a dialog like this pops up:
Please select the inserted USB stick from the target drop-down list. Then open the file browser by clicking "Select" button. "*.img" files are displayed so first thing to do is to inter "*.img" as file name. Having done that you will see the file "mhiconnect-stick-xyz.img" on the list. Select and pen this file. Dialog should now look like this
Press "copy" and the image data will be written to USB stick. When operation has finished without error, you are finished with this step, please pull the USB stick from your Windows PC.
On setup page, you will get directions how to make a Meteohub from these three ingrediants.