This kind of problem can be posted on the school post bar or bbs, and many people will help you solve it.
Then you have to find the IP and gateway of the wireless router in the school library. You can ask the relevant managers!
Then set the IP and gateway in Network Connection-Properties -TCP/IP- Properties!