User Tools

Site Tools


fluksov2update

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

fluksov2update [2013/03/20 09:40]
schappert
fluksov2update [2014/02/13 08:21] (current)
krueger
Line 1: Line 1:
 +===== German Version ===== 
 +
 +Please find the German version of this document here: [[Fluksov2Aktualisierung]].
 +
 +Bitte klicken Sie hier für die deutsche Version dieses Dokuments: [[Fluksov2Aktualisierung]].
 +
 ===== Changelog ===== ===== Changelog =====
  
 Changelogs can be found at [[flm02:changelog]] Changelogs can be found at [[flm02:changelog]]
- 
 ===== Building new Images ===== ===== Building new Images =====
  
Line 17: Line 22:
 The MySmartGrid version can be downloaded from here: The MySmartGrid version can be downloaded from here:
  
-[[http://openwrt.mysmartgrid.de/flm02/atheros/2.0.4/openwrt-atheros-root.squashfs]]+[[http://openwrt.mysmartgrid.de/flm02/atheros/2.1.0-3/openwrt-atheros-root.squashfs]]
  
-[[http://openwrt.mysmartgrid.de/flm02/atheros/2.0.4/openwrt-atheros-vmlinux.lzma]]+[[http://openwrt.mysmartgrid.de/flm02/atheros/2.1.0-3/openwrt-atheros-vmlinux.lzma]]
  
 There are two options to flash new images to your device: There are two options to flash new images to your device:
  
-  - Flashing via Redboot (Bootloader)+  - Flashing via Redboot (Bootloader) - recommended
   - Flashing via ssh   - Flashing via ssh
  
-==== Flashing via Redboot (Bootloader) ==== +==== 1. Flashing via Redboot (Bootloader) ==== 
-This is the recommended option. To flash these images run the following in the tools folder in our repository [[http://github.com/mysmartgrid/flm02|flm02]] +This is the recommended option.  
-or as precompiled binaries on [[http://openwrt.mysmartgrid.de/|openwrt.mysmartgrid.de]]+ 
 +=== Prerequisites === 
 +You need the following things in advance: 
 +  * a flukso v2 device 
 +  * a PC or laptop running Linux, preferably [[http://www.ubuntu.com/download/desktop|Ubuntu 12.04 LTS]] 
 +  * an ethernet cable 
 + 
 +=== Preliminary software installation === 
 + 
 +You need to take the following steps: 
 +  * Download and install [[http://git-scm.com/downloads|github]]. 
 +  * Follow this guide on how to [[https://help.github.com/articles/set-up-git|set up git]]. 
 +  * Clone the mySmartGrid flukso repository [[http://github.com/mysmartgrid/flm02|flm02]]. If you're new to git, follow this guide on how to [[http://git-scm.com/book/en/Git-Basics-Getting-a-Git-Repository|get a git repository]]. 
 +  * To flash these images run the following in the tools folder in our repository [[http://github.com/mysmartgrid/flm02|flm02]] or as precompiled binaries on [[http://openwrt.mysmartgrid.de/|openwrt.mysmartgrid.de]]
 <code> <code>
-wget http://openwrt.mysmartgrid.de/flm02/atheros/2.0.4/openwrt-atheros-root.squashfs +wget http://openwrt.mysmartgrid.de/flm02/atheros/2.1.0-3/openwrt-atheros-root.squashfs 
-wget http://openwrt.mysmartgrid.de/flm02/atheros/2.0.4/openwrt-atheros-vmlinux.lzma+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/ap51-flash.x86_64.bin
 wget http://openwrt.mysmartgrid.de/ap51-flash/flash.sh wget http://openwrt.mysmartgrid.de/ap51-flash/flash.sh
-./ap51-flash.x86_64.bin eth0 openwrt-atheros-root.squashfs openwrt-atheros-vmlinux.lzma+chmod a+x ap51-flash.x86_64.bin 
 +</code> 
 +=== Actual flashing === 
 +  * Now, connect your computer with the ethernet cable to your flukso device. Then, run the following script: 
 +<code> 
 +sudo ./ap51-flash.x86_64.bin eth0 openwrt-atheros-root.squashfs openwrt-atheros-vmlinux.lzma
 </code> </code>
-When ap51-flash is running, start up your flukso.+  * 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. 
 +  * Follow the [[https://www.mysmartgrid.de/content/installationsanleitung-des-fluksos-2|installation procedure]].
  
  
-==== Flashing via ssh ==== +==== 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. To flash the new images run the following on your flukso.+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.
 <code> <code>
 cd /tmp cd /tmp
-wget http://www.flukso.net/files/flm02/bin/develop/openwrt-atheros-vmlinux.lzma +wget http://openwrt.mysmartgrid.de/flm02/atheros/2.1.0-3/openwrt-atheros-vmlinux.lzma 
-wget http://www.flukso.net/files/flm02/bin/develop/openwrt-atheros-root.squashfs+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-vmlinux.lzma vmlinux.bin.l7
 mtd write openwrt-atheros-root.squashfs rootfs mtd write openwrt-atheros-root.squashfs rootfs
 </code> </code>
 Now you can reboot the device and be happy with your new system. Now you can reboot the device and be happy with your new system.
fluksov2update.1363768852.txt.gz · Last modified: 2013/03/20 09:40 by schappert