@Ilya-Mordasov said in No wireless:
yes, that seems to be the problem, because only the wireless is not working, I tried i2c and spidev, everything is fine.
Yeah, only the wifi driver relies on the data in the factory partition. So it makes sense that everything else works.
Do I only need to know the factory MAC address or do I need to have access to the whole chip?
My guess is that you'll need a whole new copy of the factory partition - it looks like the wifi driver in openwrt 22.03 has a workaround for invalid MAC addresses but still crashes because of the rest of the invalid configuration.
Do I need to connect wires to the chip?
No need to connect wires, you can do it from Linux.
And how can I extract the factory partition from the live chip?
To copy the factory partition from one device to another, it's actually super similar to the steps in the post linked by @crispyoz:
@Lazar-Demin said in Contradiction in Omega2 Device MAC Address Allocation:
install the xxd package
dump the factory partition to hex: xxd /dev/mtd2 > factory.hex
create a backup just in case
edit the two mac addresses (can use vi)
convert the edited hex file to binary: xxd -r factory-new.hex > factory.bin
write the binary file to the factory partition: mtd -r write factory.bin factory
Do steps 1 to 5 on a working device, and step 6 on your current device.
(You'll probably need to reinstall whichever firmware was successfully booting on your current device in order to get to Linux)