I have a Samsung ML-2168W printer with WI-FI support. Currently it is connected to my computer with a USB cable. However, I have no clue of how to connect it to the network through WI-FI (with WPA). Any ideas?
Edit 2021-02-24: The question is about using the printer on Linux (as indicated by the tag), and with a modem which has no WPS button ( WiFi Protected Setup) which connects wireless devices to the modem.