===== Englische Version ===== Bitte klicken Sie hier für die englische Version dieses Dokuments: [[Fluksov2Update]]. Please find the English version of this document here: [[Fluksov2Update]]. ===== Changelog ===== Changelogs befinden sich unter [[flm02:changelog]] ===== Erzeugen neuer Images ===== Wie man ein neues Images erzeugt: [[flm02: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.1.0-3/openwrt-atheros-root.squashfs]] [[http://openwrt.mysmartgrid.de/flm02/atheros/2.1.0-3/openwrt-atheros-vmlinux.lzma]] Es gibt zwei Möglichkeiten, ein neues Image auf Ihren Flukso zu flashen: - Flashing via Redboot (Bootloader) - empfohlen - 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 [[http://www.ubuntu.com/download/desktop|Ubuntu 12.04 LTS]] * ein Ethernet-Kabel === Vorbereitende Software-Installation === Bitte führen Sie zur Vorbereitung die folgenden Schritte durch: * Laden Sie [[http://git-scm.com/downloads|github]] herunter. * Installieren Sie github gemäß dieser Anleitung: [[http://git-scm.com/book/de/Los-geht%27s-Git-installieren#Installation-unter-Linux|Git installieren]]. * Klonen Sie das mySmartGrid flukso repository [[http://github.com/mysmartgrid/flm02|flm02]]. Wenn Sie zum ersten Mal github verwenden, lesen Sie diese Anleitung, wie man [[http://git-scm.com/book/de/Git-Grundlagen-Ein-Git-Repository-anlegen#Ein-existierendes-Repository-klonen|ein existierendes git repository klont]]. * Um ein neues Image zu flashen, führen Sie Folgendes in dem Ordner tools unseres repository [[http://github.com/mysmartgrid/flm02|flm02]] aus oder verwenden sie vorkompilierte Binaries von [[http://openwrt.mysmartgrid.de/|openwrt.mysmartgrid.de]] wget http://openwrt.mysmartgrid.de/flm02/atheros/2.1.0-3/openwrt-atheros-root.squashfs wget http://openwrt.mysmartgrid.de/flm02/atheros/2.1.0-3/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 === Eigentliches Flashen === * Nun verbinden Sie Ihren PC über das Ethernetkabel mit Ihrem Flukso. Führen Sie dieses Script aus: sudo ./ap51-flash.x86_64.bin eth0 openwrt-atheros-root.squashfs openwrt-atheros-vmlinux.lzma * Sobald ap51-flash läuft, verbinden Sie Ihren Flukso mit der Stromversorgung. Das Script flasht nun ein neues Image auf Ihr Gerät. Warten Sie, bis das Script sich beendet. * Sobald die Power-LED des Flukso zu blinken beginnt, warten Sie etwa drei Minuten. * Öffnen Sie einen Browser. Surfen Sie zu der Adresse 192.168.255.1. Sie sollten nun das Flukso-Konfigurationsmenü sehen. * Folgen Sie der [[https://www.mysmartgrid.de/content/installationsanleitung-des-fluksos-2|Installationsanleitung des Fluksos]]. ==== 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://openwrt.mysmartgrid.de/flm02/atheros/2.1.0-3/openwrt-atheros-vmlinux.lzma wget http://openwrt.mysmartgrid.de/flm02/atheros/2.1.0-3/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.