cf4
February 18, 2024, 12:20pm
1
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!
frollic
February 18, 2024, 12:22pm
2
Did you change the IP back, on the client?
And there's isn't another 192.168.1.1 on the same network ?
cf4
February 18, 2024, 12:23pm
3
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.
frollic
February 18, 2024, 12:25pm
4
This other 192.168.1.1 isn't running Openwrt ?
cf4
February 18, 2024, 12:26pm
5
It's running OPNsense. But as I said, WiFi is disconnected. And I can SSH into it when it's on.
cf4
February 18, 2024, 12:27pm
6
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?
frollic
February 18, 2024, 12:29pm
7
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.
cf4
February 18, 2024, 1:12pm
8
Never mind I used PumpKIN on MacOS and it worked like a charm
psherman
Split this topic
February 19, 2024, 8:37pm
9