I am trying to run an octopi server on the raspberry and connect to it with the laptop.
I managed to get two devices (a raspberry pi 4 and a laptop) to be on the same subnet of a public wifi network inside my building (namely 10.43.36.x).
Using nmap -sn I can look for all the devices around the building, and I get the same results, however, I don't see the other device.
The way I managed to get the devices on the same subnet was by copying the eth mac address of one device, randomizing the address with macchanger and then using the old mac on the new device to get a similar ip from the dhcp.
How can I solution this issue?