For installing software on other devices, get it from the Canon website. Download the driver for the Canon MG2522 printer setup which is compatible with the system. Now go to the device and run your Canon setup. After installation, try connecting the Canon printer to a shared network.
Get to Know more about how to connect canon mg2522 printer to wifi