You need the following items to setup Meteohub hardware based on ebox 2300/3300/4300:
- ebox system (with or with out WLAN and/or RS232 ports preinstalled)
- appropriate power suplly
- 4GB SLC CF card
Setup of USB Stick
Meteohub installation makes use of a bootable USB stick (minimum capacity 512 MB) that transfers necessary data to CF card of your ebox. Download zipped USB stick image "meteohub-vxyz.zip" (or newer) from here and unzip the image with a tool of your choice. Result is "meteohub-vxyz.img". Next step is to bring the data to the USB stick.
On Windows you need to download and run a special tool to do the required low-level writing to the USB stick. The tool of choice is "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. Please insert the USB stick into your PC wait a few seconds and then start downloaded "ImageWriter.exe". 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 not displayed by default so first thing to do is to enter "*.*" as file name. Having done that you will see the file "meteohub-vxyz.img" on the list. Select and open 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 done with this step. Please pull the USB stick from your Windows PC.
On Linux you use the "cat" command. Please insert the USB stick into your Linux box and check via "dmesg" what device the stick has been mapped to. In the following example it has been mapped to "/dev/sdj"
# 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 [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). 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
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
cat meteohub-vxyz.img >/dev/sdj
Please be careful with that command. When you choose the wrong target (i.e. your system drive) this will be overwritten without further notice and you will have to restore your Linux box! When "cat" has completed without error, this step is finished and you can pull the USB stick from your Linux box.
Installation from USB Stick
Connect monitor and USB keyboard to your ebox
- Plugin USB stick to boot from.
- Boot into BIOS by pressing "Del" key during startup.
- Select "boot" tab and select sub menu "Boot Device Priority". Choose USB stick (displayed as "USB:") as "1st Boot Device". Press "F10" to save configuration and restart system. [# ] provides some additional screen dumps.
- Once in BIOS select "Advanced BIOS Features" tab and choose "Removable" as "First Boot Device". Select "Hard Disk" as "Second Boot Device". Press "F10" to store this configuration and restart.
- System boots a Debian Linux from USB stick and starts Meteohub setup procedure for CF card. Data already stored on the media will be erased without further warning!
- Installation process halts with asking you to remove USB stick and to restart the system once again. Please press "Del" key during boot to enter BIOS setup mode.
- remove USB stick and select "Advanced BIOS Features" tab and choose "Hard Disk" as "First Boot Device". Press "F10" to store this configuration and to restart.
- Now Meteohub should start properly from CF card. Keyboard and Monitor can be disconnected.
- You can now reach the Meteohub system by your desktop's/laptop's browser at the emergency IP 192.168.1.77 ("http://192.168.1.77") and if you have a DHCP server in your LAN you also can find your Meteohub at the address given by the DHCP server. [b]User name is "meteohub", password is "meteohub"[/b]. To reach the emergency IP with your browser you probably have to do reconfigure the IP address of your desktop/laptop as described in #Setup of unmodified NSLU2 in your LAN (explains how to bring you desktop into the same subnet as Meteohub). Having reached the Meteohub web interface you can set the IP persistently.
- Furthermore, the Windows tool "ipscan" (download here might be helpful to examine the IP that the router has given Meteohub via DHCP, if Meteohub is configured to make use of a dynamic IP via DHCP.
- About a minute after reboot Meteohub signals its IP by specific beeps.
- Remark: If you have monitor and keyboard connected to Meteohub system, you can login (user "root", password "meteohub") and give command "setip" to manually give Meteohub an IP that fits to your LAN. This IP gets immediately valid without need of a reboot.
Read the Beeps
About one minute after starting reboot Meteohub signals its IP by the build in beeper. You can disable this noisy but sometimes helpful feature by placing a file named "noreadip" into the pc network folder "/public/log". Signaling of the IP starts with a low frequency tone of a long duration. After that each of the four numbers (delimited by a dot) will be signaled one by one. The dot between the numbers will be signaled by a high frequency tone. Each number is signaled by sending beeps digit per digit. Each digit is represented by a middle frequency tone repeated as often as the digit tells us. The zero digit is signaled by ten beeps. After having done this for all digits of all numbers of the IP, the end is signaled by a low frequency, long beep like it started with.
Example: IP 192.168.10.77 Legend: L = low freq. tone, M = middle freq. tone, H = high freq. tone, _ = pause
Signal: Comment LLLL___M___M_M_M_M_M_M_M_M_M___M_M___H 192 ___M___M_M_M_M_M_M___M_M_M_M_M_M_M_M___H 168 ___M___M_M_M_M_M_M_M_M_M_M___H 10 ___M_M_M_M_M_M_M___M_M_M_M_M_M_M___LLLLL 77
When Meteohub does not have a valid IP this will be signaled with three low frequency beeps shortly following each other.
In case your system does not start from CF card, please check that your BIOS settings are like displayed below. Settings do differ between ebox versions.
BOIS Settings ebox 2300
BIOS Settings ebox 3300
BIOS Settings ebox 4300