Hi,
I'm a OpenWrt beginner, with some experience in Raspberry Pi usage.
I have four Xiaomi 4A 100M devices (same model), one configured as router following the great videos from OneMarcFifty.
One device is configured as dump AP.
The router and first AP are configured as mesh using batman-adv.
This works already really good.
My problem is now, after creating a backup of the first AP with luci, and restoring it on the next device, the new device works fine as AP but it is not reachable over luci nor SSH.
SSH shows "not reachable", and in the browser the http address line is "redirected" to the https://xxx.xxx.xxx.xxx and shows nothing.
I think that something in the backup should be left out (certificates or something).
Any hints where I could start trying are very much appreciated.
If you blindly restored the configuration of one device to another, then it will not work. Especially in the network configuration file there are mac addresses which will be different from one device to another.
One solution is to take a backup from both devices, open the backups and compare the files for functional differences, then repack them and restore them.
In the meantime you should also reset the affected unit to defaults.
Thanks for the fast reply.
I checked the configuration files in the backup. There are no MAC addesses set, and I can see
in the router that the second AP is connected correctly to the mesh (with different MACs).
Only problem is the non-working SSH / luci access.
But I reset the second AP to default, and will take a backup to see any obvious differences, like you suggested.
Then you should also check if the firewall is allowing a specific destination IP or if the web server and sshd are listening to specific IP. Do you see the tcp handshake in a packet capture at least?
I do not know why this was the reason as I know nothing about ip6,
but removing Global network options -> IPv6 ULA-Prefix for all APs was the solution in my case.
After that all APs are reachable via SSH and luci.
The hole system works like a charm by now.
Thanks to all the developers of this great project!
did you do backup and restore via LuCI or via manual command line file copy?
Sounds interesting that the Ipv6 setting solved it.
E.g. could be that the initial settings got imported as bare files only, without committing some of the configs (OpenWRT does not directly use these files, but works on low level Lunix config files and has a config file translation engine, when you commit config files, the settings become effective).
Theory: By changing and commiting the ipv6 setting via UCI or LuCI, it could be that both the Ipv6 setting and your previous imports were effectively commited and activated.