Router einrichten AVM

Aus Freifunk Dresden - Anwender-Wiki
Zur Navigation springen Zur Suche springen

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

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 /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

> 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

Openwrt geflasht / FF 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