Router einrichten AVM: Unterschied zwischen den Versionen

Aus Freifunk Dresden - Anwender-Wiki
Zur Navigation springen Zur Suche springen
(Hier bitte Anleitung einfügen)
 
K
Zeile 1: Zeile 1:
2DO
+
'''Anleitung für FritzBox 7412 unter Linux Ubuntu / Debian'''
 +
 
 +
cd /tmp<p>
 +
git clone https://github.com/openwrt/openwrt.git<p>
 +
cd openwrt<p>
 +
wget http://downloads.openwrt.org/snapshots/targets/lantiq/xrx200/openwrt-lantiq-xrx200-avm_fritz7412-initramfs-kernel.bin<p>
 +
./scripts/flashing/eva_ramboot 192.168.178.1 openwrt-lantiq-xrx200-avm_fritz7412-initramfs-kernel.bin<p>
 +
 
 +
---
 +
 
 +
== 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<p>
 +
< 200 SETENV command successful<p>
 +
> SETENV kernel_args_tmp mtdram1=0x87bb5000,0x88000000<p>
 +
< 200 SETENV command successful<p>
 +
> MEDIA SDRAM<p>
 +
< 200 Media set to MEDIA_SDRAM<p>
 +
 
 +
== 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

Version vom 22. Oktober 2019, 14:35 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

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