Zend certified PHP/Magento developer

Different Network Names But Same Network

I have only one modem which has ethernet port as well as wi-fi. Some months ago, I renamed my wi-fi network to, let us say, name2. But when I connect to that same modem using ethernet cable, my connection still shows name1. And I am not able to access printer because it is considered offline, probably because it is not on the same network. All devices in my house are connected to one and same modem. How can I rename ethernet connection to name2. Or alternately, how can I manage all devices from one network ID?

Windows 10; HP printers; Lenovo laptop.