1. Open Linux console
2. connect host to yellow lan port (3 was tested)
3. download openwrt-ipq40xx-generic-avm_fritzbox-4040-squashfs-eva.bin
from website
4. rename openwrt-ipq40xx-generic-avm_fritzbox-4040-squashfs-eva.bin
to eva.bin
5. set local ip address of host to 192.168.178.2
ip addr add 192.168.178.2/24 dev enp7s0
6. power on fritzbox
7. when fritzbox red LED turns on or green is blinking connect to fritzbox internal ftp server
ftp -n -v -p 192.168.178.1
8. follow next instructions and
!!! wait at least 120 seconds !!!
$ ftp -n -v -p 192.168.178.1
Connected to 192.168.178.1 (192.168.178.1).
220 ADAM2 FTP Server ready
ftp> debug
Debugging on (debug=1)
ftp> quote USER adam2
331 Password required for adam2
ftp> quote PASS adam2
230 User adam2 successfully logged in
ftp> quote MEDIA FLSH
200 Media set to MEDIA_FLASH
ftp> binary
200 Type set to BINARY
ftp> put eva.bin mtd1
local: eva.bin remote: mtd1
227 Entering Passive Mode (192,168,178,1,12,0)
150 Opening BINARY data connection
226 Transfer complete
5505028 bytes sent in 23.97 secs (224.3076 kB/s)
# now wait at least 4 minutes (4040 is flashing ans very slow)
ftp> quote check mtd1
150 Flash check 0x095CB3AB
9. Now firmware was flashed, Power cycle Fritzbox
10. wait for router first three boot loops (this prepares freifunk firmware)
This can take about 5 minutes.
You may check it with ping to 192.168.1.1 and ping 192.168.222.1 in parallel.
11. When routers WLAN LED is flashing
11. router has now IP 192.168.222.1