Make sure that the cables are properly connected for all connections.
Make sure that the network device and USB hub are operating normally.
If you have a Wi-Fi connection, make sure that the Wi-Fi connection settings are correct.
Check the network that your computer and printer are connected to, and make sure that the names of the networks match.