User Tools

Site Tools


fluksov2aktualisierung

This is an old revision of the document!


Changelog

Changelogs befinden sich unter changelog

Erzeugen neuer Images

Wie man ein neues Images erzeugt: build

Flashing new Images

Bart hat ein Update für den Flukso v2 veröffentlicht, das non-integer Werte für die Meter-Konstante gestattet. Damit können S0-Zähler mit mehr als 1000 imp/kWh verwendet werden. Das Update kann hier heruntergeladen werden:

http://www.flukso.net/files/flm02/bin/develop/openwrt-atheros-vmlinux.lzma

http://www.flukso.net/files/flm02/bin/develop/openwrt-atheros-root.squashfs

Die MySmartGrid-Version kann hier heruntergeladen werden:

http://openwrt.mysmartgrid.de/flm02/atheros/2.0.4/openwrt-atheros-root.squashfs

http://openwrt.mysmartgrid.de/flm02/atheros/2.0.4/openwrt-atheros-vmlinux.lzma

Es gibt zwei Möglichkeiten, ein neues Image auf Ihren Flukso zu flashen:

  1. Flashing via Redboot (Bootloader) - empfohlen
  2. Flashing via ssh

1. Flashing via Redboot (Bootloader)

Dies ist die empfohlene Option.

Voraussetzungen

Sie benötigen folgende Dinge:

  • ein Flukso v2 Gerät
  • einen PC oder Laptop, auf dem Linux läuft, vorzugsweise Ubuntu 12.04 LTS
  • ein Ethernet-Kabel

Vorbereitende Software-Installation

Bitte führen Sie zur Vorbereitung die folgenden Schritte durch:

wget http://openwrt.mysmartgrid.de/flm02/atheros/2.0.4/openwrt-atheros-root.squashfs
wget http://openwrt.mysmartgrid.de/flm02/atheros/2.0.4/openwrt-atheros-vmlinux.lzma
wget http://openwrt.mysmartgrid.de/ap51-flash/ap51-flash.x86_64.bin
wget http://openwrt.mysmartgrid.de/ap51-flash/flash.sh
chmod a+x ap51-flash.x86_64.bin

Actual flashing

  • Now, connect your computer with the ethernet cable to your flukso device. Then, run the following script:
sudo ./ap51-flash.x86_64.bin eth0 openwrt-atheros-root.squashfs openwrt-atheros-vmlinux.lzma
  • When ap51-flash is running, power up your flukso. The script now flashes the new image to your device. Wait until the script is done.
  • When the power LED of the flukso starts to blink, wait another 3 minutes.
  • Open a browser. Surf to the address 192.168.255.1. You should see the flukso configuration interface.

2. Flashing via ssh

You can also use the command line of the flukso to flash the new images. In this case you do not need to catch the booloader but wait until the device is up and you can connect via ssh (Secure Shell, a cryptographic network protocol). To flash the new images run the following on your flukso.

cd /tmp
wget http://www.flukso.net/files/flm02/bin/develop/openwrt-atheros-vmlinux.lzma
wget http://www.flukso.net/files/flm02/bin/develop/openwrt-atheros-root.squashfs
mtd write openwrt-atheros-vmlinux.lzma vmlinux.bin.l7
mtd write openwrt-atheros-root.squashfs rootfs

Now you can reboot the device and be happy with your new system.

fluksov2aktualisierung.1363777546.txt.gz · Last modified: 2013/03/20 12:05 by schappert