Rak4631 Meshtastic kit+Rak13800 not working

I’ve been trying to get the meshmastic kit+ rak13800 to work for days. I tried various meshmastic firmware but the lan port doesn’t work properly. Ping works. Communication towards the MQTT servers does not work. I have used Meshtastic_nRF52_factory_erase_v2.uf2 several times but without success, furthermore reloading a firmware reappears all the previous parameters. Is there a method to perform a hard reset and return the meshtastic kit to its original state? Is there anyone using lan port with meshtastic kit successfully? If so with what configuration? I got this kit to replace a GW meshtastic based on a heltec V3. Thank you