Router einrichten AVM: Unterschied zwischen den Versionen

Aus Freifunk Dresden - Anwender-Wiki
Zur Navigation springen Zur Suche springen
Zeile 36: Zeile 36:
 
< 200 Media set to MEDIA_SDRAM<p>
 
< 200 Media set to MEDIA_SDRAM<p>
  
'''-- Openwrt geflasht / FF auf Box kopieren --'''<p>
+
ist das alles erfolgreich gewesen ist die Fritzbox nun unter 192.168.1.1 (openwrt) zu erreichen<p>
 +
LAN Adapter wieder umstellen und <p>
 +
 
 +
'''-- FF sysupgrade image auf Box kopieren --'''<p>
  
 
scp openwrt-lantiq-xrx200-avm_fritz7412-squashfs-sysupgrade.bin root@192.168.1.1:"/tmp"<p>
 
scp openwrt-lantiq-xrx200-avm_fritz7412-squashfs-sysupgrade.bin root@192.168.1.1:"/tmp"<p>

Version vom 22. Oktober 2019, 15:23 Uhr

Anleitung für FritzBox 7412 unter Linux Ubuntu / Debian

cd /tmp

git clone https://github.com/openwrt/openwrt.git

cd openwrt

wget http://downloads.openwrt.org/snapshots/targets/lantiq/xrx200/openwrt-lantiq-xrx200-avm_fritz7412-initramfs-kernel.bin

./scripts/flashing/eva_ramboot 192.168.178.1 openwrt-lantiq-xrx200-avm_fritz7412-initramfs-kernel.bin

---

-- LAN auf Manuell --

sudo network-manager stop

sudo ifconfig eth0 192.168.178.10 up "eth0" - LAN Adapter kann auch anders heißen

-- Image ins flashing Verzeichnis kopieren --

cp openwrt-lantiq-xrx200-avm_fritz7412-initramfs-kernel.bin /tmp/openwrt/scripts/flashing/

-- Verzeichniss wechseln --

cd /openwrt/scripts/flashing/

-- Script starten --

./eva_ramboot.py 192.168.178.1 openwrt-lantiq-xrx200-avm_fritz7412-initramfs-kernel.bin

-- Fritzbox einschalten und auf diese Ausgabe warten --

> SETENV memsize 0x07bb5000

< 200 SETENV command successful

> SETENV kernel_args_tmp mtdram1=0x87bb5000,0x88000000

< 200 SETENV command successful

> MEDIA SDRAM

< 200 Media set to MEDIA_SDRAM

ist das alles erfolgreich gewesen ist die Fritzbox nun unter 192.168.1.1 (openwrt) zu erreichen

LAN Adapter wieder umstellen und

-- FF sysupgrade image auf Box kopieren --

scp openwrt-lantiq-xrx200-avm_fritz7412-squashfs-sysupgrade.bin root@192.168.1.1:"/tmp"

-- per SSH auf Box verbinden --

ssh root@192.168.1.1

cd /tmp

-- und FF / sysupgrade flashen --

sysupgrade -n openwrt-lantiq-xrx200-avm_fritz7412-squashfs-sysupgrade.bin

mehrere Neustarts Abwarten

fertig ist die FritzBox 7412 mit Freifunk