The free network in the passenger terminals is CUN Wi-Fi. Pick it, then wait for the login page to open in your browser (if it does not, open any website and it should appear). There is no password, but the free session is time-limited: recent reports put it at about an hour, and the login page shows the current limit. Lounges in Terminals 2, 3 and 4 have their own Wi-Fi for their guests.
Treat it as a backup. It is built for the halls, so do not count on it outside, at the transport area, which is exactly where you need to message a driver or check a bus time.
