Openwrt firmware for Fritz!Box 7412.
For flashing back the original AVM firmware an initramfs-image is additionaly included.
.-----. | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M -----------------------------------------------------
OpenWrt binarys are build from:
commit-id: 9af2735734fce61eaf9bdb49fff218e6548af6f2 (27.04.2019)
repo: https://git.openwrt.org/openwrt/openwrt.git
A)aa V) vv M)mm mmm A) aa V) vv M) mm mm A) aa V) vv M) mm mm A)aaaaaa V) vv M) mm mm A) aa V)vv M) mm A) aa V) M) mm
AVM binarys are from firmare release:
product: FRITZ!Box 7412
version: FRITZ!OS 6.85
-
Directly connect the router to lan.
Set ethernet adapter to static:
IP-Address: 192.168.178.10
Subnetmask: 255.255.255.0 -
Open shell and navigate to the project folder of this repository.
-
Unplug and plug in power connector of the router to reset the device.
-
Flash OpenWrt to the routers ram after the connection is initialy established:
bash ./flash_initramfs_openwrt.sh
-
Flashing will be proceed if the router restarts from its own and no exception is shown, otherwise begin from 3)
(Credits to: patch, sysupgrade)
-
After router has restarted change your ethernet adapter to:
IP-Address: 192.168.1.70
Subnetmask: 255.255.255.0 -
Connect in shell to OpenWrt router system:
ssh 192.168.1.1 -l root
-
Run via the router shell:
fritz_tffs_nand -d /dev/mtd1 -n linux_fs_start
-
If command responses "0" proceed with the next step. Otherwise power off the router and perform a router update via the webinterface. Restart at 1) to load OpenWrt again into ram.
-
In a new shell window run this command to transfer the sysupgrade binary to the router:
scp /path/to/openwrt-lantiq-xrx200-avm_fritz7412-squashfs-sysupgrade.bin [email protected]:/root/openwrt-lantiq-xrx200-avm_fritz7412-squashfs-sysupgrade.bin
-
Install OpenWrt on the NAND flash via your routers shell:
sysupgrade -v ./openwrt-lantiq-xrx200-avm_fritz7412-squashfs-sysupgrade.bin
-
Modify distfeeds.conf at
vi /etc/opkg/distfeeds.conf
to:
src/gz reboot_core http://downloads.openwrt.org/snapshots/targets/lantiq/xrx200/packages src/gz reboot_base http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/base src/gz reboot_telephony http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/telephony src/gz reboot_packages http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/packages src/gz reboot_routing http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/routing src/gz reboot_luci http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/luci
-
Perform a package update:
opkg update
-
Install luci packages:
opkg install luci opkg install luci-ssl
-
Directly connect to the router via lan. Set ethernet adapter to static:
IP-Address: 192.168.178.10
Subnetmask: 255.255.255.0 -
Open shell and navigate to the project folder of this repository.
-
Unplug and plug in power connector of the router to reset the device.
-
Flash the AVM firmware to the routers ram after the connection is established:
bash ./flash_initramfs_avm.sh
-
Flashing will be proceed if the router restarts from its own and no exception is shown, otherwise begin from 3).
-
Do not power off the device! and wait until the connection is established and the AVM webinterface of the router shows up.