Skip to content

Latest commit

 

History

History
65 lines (47 loc) · 3.89 KB

README.md

File metadata and controls

65 lines (47 loc) · 3.89 KB

fritz-tools

Documentation

We recommend Freifunk-Communities to link to the following documentation instead of publishing their own Instructions to avoid fragmentation of useful Information. It does not contain Community-specific quirks.

Basic Usage:

Download the needed images for your device and put them beside this script.

Remember to eventually turn of NetworkManager or place a dumb switch in between so that the link stays up during repowering the FritzBox. For the 7520 I had good experience plugging the device in, waiting until all LEDs are lit during boot, and start the script directly after this.

Using network autoconfiguration with privileges (uboot images must be in the same folder too):

wget https://downloads.openwrt.org/snapshots/targets/ipq40xx/generic/openwrt-ipq40xx-generic-avm_fritzbox-7530-initramfs-uImage.itb
wget $GLUON_URL_avm-fritz-box-7530-sysupgrade.bin
wget https://downloads.openwrt.org/snapshots/targets/ipq40xx/generic/u-boot-fritz7530/uboot-fritz7530.bin
sudo python3 fritzflash.py --dev eno2 --initramfs ./openwrt-ipq40xx-generic-avm_fritzbox-7530-initramfs-uImage.itb --sysupgrade ./gluon-ffac-v2022.1.14-1-avm-fritz-box-7530-sysupgrade.bin

sudo./fritzflash.py --dev eno2 --initramfs ./openwrt-22.03.0-ipq40xx-generic-avm_fritzrepeater-1200-initramfs-fit-uImage.itb --sysupgrade ./openwrt-22.03.3-ipq40xx-generic-avm_fritzrepeater-1200-squashfs-sysupgrade.bin

Using self configuration for other devices:

wget https://downloads.openwrt.org/releases/22.03.5/targets/ipq40xx/generic/openwrt-22.03.5-ipq40xx-generic-avm_fritzbox-4040-squashfs-eva.bin
wget https://downloads.openwrt.org/releases/22.03.5/targets/ipq40xx/generic/openwrt-22.03.5-ipq40xx-generic-avm_fritzbox-4040-squashfs-sysupgrade.bin
sudo ip a a 192.168.178.2/24 dev eno2
./fritzflash.py --dev eno2 --sysupgrade ./openwrt-22.03.5-ipq40xx-generic-avm_fritzbox-4040-squashfs-sysupgrade.bin

Installation Commands (Linux)

Make sure to replace eno2 with the correct name of your ethernet adapter

Device Install command
FB3000 sudo python3 fritzflash.py --dev eno2 --initramfs ./openwrt-22.03.2-ipq40xx-generic-avm_fritzbox-7530-initramfs-fit-uImage.itb --sysupgrade ./gluon-ffac-v2023.1.0-4-avm-fritz-box-7530-sysupgrade.bin
FB7520 sudo python3 fritzflash.py --dev eno2 --initramfs ./openwrt-22.03.2-ipq40xx-generic-avm_fritzbox-7530-initramfs-fit-uImage.itb --sysupgrade ./gluon-ffac-v2023.1.0-4-avm-fritz-box-7530-sysupgrade.bin
FB7530 sudo python3 fritzflash.py --dev eno2 --initramfs ./openwrt-22.03.2-ipq40xx-generic-avm_fritzbox-7530-initramfs-fit-uImage.itb --sysupgrade ./gluon-ffac-v2023.1.0-4-avm-fritz-box-7530-sysupgrade.bin
FB1200 sudo./fritzflash.py --dev eno2 --initramfs ./openwrt-22.03.0-ipq40xx-generic-avm_fritzrepeater-1200-initramfs-fit-uImage.itb --sysupgrade ./openwrt-22.03.3-ipq40xx-generic-avm_fritzrepeater-1200-squashfs-sysupgrade.bin
FB7362 SL sudo ./fritzflash.py -dev eno2 --sysupgrade ./gluon-ffac-v2023.1.1-1-avm-fritz-box-7362-sl-sysupgrade.bin
FB7412 sudo ./fritzflash.py -dev eno2 --sysupgrade ./gluon-ffac-v2023.1.1-1-avm-fritz-box-7412-sysupgrade.bin
FB7430 sudo ./fritzflash.py -dev eno2 --sysupgrade ./gluon-ffac-v2023.1.1-1-avm-fritz-box-7430-sysupgrade.bin
FB7360 SL sudo ./fritzflash.py -dev eno2
FR450e sudo ./fritzflash.py -dev eno2
FR4040 sudo ./fritzflash.py -dev eno2
FR4020 sudo ./fritzflash.py -dev eno2
FR1750e sudo ./fritzflash.py -dev eno2

Windows Usage

  1. disable Wifi
  2. allow incoming port 69/UDP or disable Firewall
  3. run script as administrator, so that it can change the current ip address and open Port 69/UDP
  4. enable Firewall
  5. enable Wifi again

For other devices than the 7520/7530/1200, less privileges are needed (no TFTP) if the initial ip address is set manually in the network adapter configs.