Installing OpenWrt on AVM FRITZ!Box 7530

Hi everyone

I'm trying to install OpenWrt (per this guide) on my Fritzbox 7530.

I can execute python /tftpboot/eva_ramboot.py --offset 0x85000000 192.168.178.1 /tftpboot/uboot-fritz7530.bin and I receive

SETENV memsize 0x00080000
< 200 SETENV command successful
SETENV kernel_args_tmp mtdram1=0x85000000,0x88000000
< 200 SETENV command successful
MEDIA SDRAM
< 200 Media set to MEDIA_SDRAM

correctly, which is when I change my IP again to 192.168.1.70.

Then, the box permanently flashes Power/DSL and I can ping 192.168.1.1. So far, so good.

What I cannot do is either execute

scp /tmp/uboot-fritz7530.bin root@192.168.1.1:/tmp/

nor

scp /tmp/openwrt-23.05.0-ipq40xx-generic-avm_fritzbox-7530-squashfs-sysupgrade.bin  root@192.168.1.1:/tmp/

as they both result in

ssh: connect to host 192.168.1.1 port 22: Network is unreachable scp: Connection closed

I also can't SSH into the box (but I'm not sure if that's even possible at this step before uploading the two files). As I said, pinging the IP works though.

I'm trying to do all of this on Linux. Any advice is appreciated. Thanks!

Did you change the IP back, on the client?

And there's isn't another 192.168.1.1 on the same network ?

Yes. After the Python script I changed it to 192.168.1.70 and disconnected and connected again via Ethernet.

There is another 192.168.1.1 on WiFi, but I have this disabled for this whole operation.

This other 192.168.1.1 isn't running Openwrt ?

It's running OPNsense. :slight_smile: But as I said, WiFi is disconnected. And I can SSH into it when it's on.

I was thinking the TFTP server could be the issue, but as far as I understood I would'nt have received the result I did with the script if it didn't work correct?

As I ready the wiki, eva_ramboot is the 1st step, then you need to run the TFTP afterwards...
Once that's done, you SCP the file.

Never mind I used PumpKIN on MacOS and it worked like a charm :slight_smile:

A post was split to a new topic: Poor WDS performance between 3x Fritzbox 7530 devices