SCK 2 works with the kind of DHCP found in domestic Wifi routers. But it’s likely that’s not what you have in the school which would have professional level equipment.
You can check if DHCP is working on the SCK via the Ui via the config command. If it displays a valid IP address within the range of the a Wifi router then it’s working. Use the help command to get the syntax.
If it’s not working then…
(I think) It’s possible to configure the SCK 2 I think with a fixed IP Address You would need to access the UI of SCK and read off the Mac Address to give to your IT administrator allowing him to manually configure a Mac<>IP allocation in a range that is separate to the DHCP range. Then load the IP he gives you into the SCK.
you can then try out the Mqtt hello command to see if the SCK can talk to the server in Barcelona.
@oscgonfer might want to just check/correct what I’ve put here because I’m uncertain, not having run into this situation myself.