I am very confused about getting my r6220 back up and running. I have read several posts here and elsewhere, and I'm just lost.
I am using a Linux machine (setup in spoiler):
- Lubuntu OS
I have installed: libpcap-dev
tcpdump
libnl-3-dev
tftp-ha
ufw
(uncomplicated firewall), but rules are permissive on port 69 when I will usetftp-ha
Several years ago I had OpenWRT installed on the r6220. I think I tried to reset it - or something - but the end result now is the following behaviour:
Power on - flash of lights across the board (apart from "1,2,3 and 4"), then power light on steady, single flash on internet and wifi, power light stays on for a few seconds, then off. Cycles back to the start of the sequence.
I think this is a bootloop. nmrpflash
does not work (unsurprisingly?).
Reset button for 1-2s (or less) - power light steady, alternating blink from internet and wifi lights. Pattern doesn't change (i.e. its stable).
According to some document somewhere, I used NetworkManager to assign Wired Connection 1
an ip
address 192.168.1.10, netmask
255.255.255.0 and gateway
192.169.1.1 so $ ip a
:
2: enp0s25: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
link/ether 3c:97:0e:cf:00:ec brd ff:ff:ff:ff:ff:ff
inet 192.168.1.10/24 brd 192.168.1.255 scope global noprefixroute enp0s25
valid_lft forever preferred_lft forever
I can ping
the device, but nothing else (i.e. can't connect by browser).
My last attempt with nmrpflash
:
$ sudo nmrpflash -vvv -i enp0s25 -f openwrt-23.05.3-ramips-mt7621-netgear_r6220-squashfs-factory.img
Adding 10.164.183.253 to interface enp0s25.
Advertising NMRP server on enp0s25 ... \
No response after 60 seconds. Bailing out.
I have tried with many different timings (powering off/on, etc) and no success. What - if any - address should I be assigning to the enp0s25 interface via NetworkManager? Does it make any difference?
Also, does this imply Memory problems? I don't know what this means:
$ nmrpflash -L
wlp3s0 19x.xxx.x.xxx xx:xx:xx:xx:xx:xx
Segmentation fault (core dumped)
(xxx...
= redacted ip4 and ip6 addresses, just to be safe).
I'm guessing that means I have to use tftp
. But I am confused with the instructions - for example, what does this mean:
From your TFTP installation guide, find which address the router expects to request an image from - for example, 192.168.1.20...
What guide? How do I do this if i cannot contact the router? What address should I use and what gateway?
Is tftp
the right approach? I don't really understand what is happening in the router. I'd really appreciate wisdom from wiser heads before I push on.