The government will pay to connect 15,000 homes and businesses in northern Ontario that lack high-speed internet access.