Hexabus Howto Setup

Kai Krueger edited this page Oct 24, 2013 · 9 revisions

This page describe how to setup our demo installation

(!!Work in Progress !!)

Hardware requirements

  • buffalo WZR-HP-G300NH
  • raspberryPi
  • hexastick
  • midiPad (Akai lpd8)
  • 2 Hexaplugs
  • flukso

network setup

 |------------------|    |---------| 10.42.23.xx/24  |---------|
 | external Network |====| buffalo |=================| laptop? |
 |------------------|    |---------|  fd00:8::/64    |---------|
                           /   \
                          /     \
                         /       \ 
             |-------------|    |--------|
             | raspberryPi |    | flukso |
             |-------------|    |--------|
                   || 
             |-------------|
             | HexaBus USB |
             |-------------|
                /     \ fd00:9::/64
               /       \
     |----------|     |-----------|
     | HexaPlug |     | HexaPlug+ |
     |----------|     |-----------|

Installation

buffalo

To install the buffalo we can just proceed like describe in [1].

[1]buffalo

Additional packages when using an UTMS-Stick:

opkg install usb-modeswitch usb-modeswitch-data udev kmod-usb-serial kmod-usb-serial-option comgt

see also [2]

[2]Use 3g/UMTS USB Dongle for WAN connection

hexaBus USB (stick)

New hexastick have to be flashed with the current firmware [3]. After the stick has been flashed, you have to create a new Pan-id for the stick. Otherwise all the Hexasticks will have the same pan-id and the hexaplugs will live in multiple hexabus-networks.

Changing the Pan-id:

  • connect the stick to the PC
  • call screen /dev/ttyACM0 38400
  • push one short time the Button on the stick, the strike G on the PC Responce:
Generating new random PAN ID and AES128 key...
Resetting...

[3] Flashing the USB stick

raspberry

Copy the current raspberryPi image from our server [4] on an 4GB SD-card. When booting the RasPI will try to get an ipv4 address via dhcp. For the configuration login on the raspi as login hexabus (Pw: hexabus)

write the image on an SD-Card with:

dd if=hexabus-base-image.img of=/dev/sdb bs=1M oflag=direct

Before booting the raspi, connect the hexastick and the midipad to the raspi.

After the first boot of the raspberryPi, if the key is not allready installed, login as hexabus and call

wget -O - http://packages.mysmartgrid.de/package@mysmartgrid.de.gpg.key | sudo apt-key add -

[4] server....

HexaPlug

configuration

buffalo

raspberryPi

midipad

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.