Giter VIP home page Giter VIP logo

fritzbox7412_openwrt_bin's Introduction

Explenation

Openwrt firmware for Fritz!Box 7412.
For flashing back the original AVM firmware an initramfs-image is additionaly included.

Credits to:

 .-----.
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
        |__| 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

Usage

Install OpenWrt

Flash OpenWrt into Router Ram

  1. Directly connect the router to lan.
    Set ethernet adapter to static:
          IP-Address: 192.168.178.10
          Subnetmask: 255.255.255.0

  2. Open shell and navigate to the project folder of this repository.

  3. Unplug and plug in power connector of the router to reset the device.

  4. Flash OpenWrt to the routers ram after the connection is initialy established:

    bash ./flash_initramfs_openwrt.sh
    
  5. Flashing will be proceed if the router restarts from its own and no exception is shown, otherwise begin from 3)

Persistant install OpenWrt

(Credits to: patch, sysupgrade)

  1. After router has restarted change your ethernet adapter to:
    IP-Address: 192.168.1.70
    Subnetmask: 255.255.255.0

  2. Connect in shell to OpenWrt router system:

    ssh 192.168.1.1 -l root
    
  3. Run via the router shell:

    fritz_tffs_nand -d /dev/mtd1 -n linux_fs_start
    
  4. 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.

  5. 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 
    
  6. Install OpenWrt on the NAND flash via your routers shell:

    sysupgrade -v ./openwrt-lantiq-xrx200-avm_fritz7412-squashfs-sysupgrade.bin
    

Install Luci on OpenWrt

  1. 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
    
  2. Perform a package update:

    opkg update
    
  3. Install luci packages:

    opkg install luci
    opkg install luci-ssl
    

Flash original AVM Firmware back

  1. Directly connect to the router via lan. Set ethernet adapter to static:
    IP-Address: 192.168.178.10
    Subnetmask: 255.255.255.0

  2. Open shell and navigate to the project folder of this repository.

  3. Unplug and plug in power connector of the router to reset the device.

  4. Flash the AVM firmware to the routers ram after the connection is established:

    bash ./flash_initramfs_avm.sh
    
  5. Flashing will be proceed if the router restarts from its own and no exception is shown, otherwise begin from 3).

  6. Do not power off the device! and wait until the connection is established and the AVM webinterface of the router shows up.

fritzbox7412_openwrt_bin's People

Contributors

infinitymod avatar

Stargazers

⭐ 🐾 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.