Skip to content

Commit

Permalink
add docs about windows usage
Browse files Browse the repository at this point in the history
  • Loading branch information
maurerle committed Jul 18, 2023
1 parent 40263cc commit 7ed24a6
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ Download the needed images for your device and put them beside this script.
Using network autoconfiguration with privileges (uboot images must be in the same folder too):

```
sudo python3 fritzflash.py --dev eno2 --initramfs ./openwrt-22.03.2-ipq40xx-generic-avm_fritzbox-7530-initramfs-fit-uImage.itb --sysupgrade ./gluon-ffac-v2022.1.14-1-avm-fritz-box-7530-sysupgrade.bin
wget https://downloads.openwrt.org/releases/22.03.5/targets/ipq40xx/generic/openwrt-22.03.5-ipq40xx-generic-avm_fritzbox-7530-initramfs-fit-uImage.itb
wget https://firmware.freifunk-aachen.de/firmware/download/from-2022.1.x/sysupgrade/gluon-ffac-v2022.1.14-1-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-22.03.5-ipq40xx-generic-avm_fritzbox-7530-initramfs-fit-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
```
Expand All @@ -27,3 +30,12 @@ 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
```

## 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.

0 comments on commit 7ed24a6

Please sign in to comment.