Yes, as a University of Otago student you can access the internet on campus (including at all libraries) using your student username and password.
See Student IT for instructions on connecting to WIFi
The University also offers guest internet access to visitors and those from eduroam institutions.