I can't explain how to, depends on modem/router/AP. Should be explained in relevant user manual, else try to google around, or ask in the modem/router/AP manufacturer support page or support forum (if exist).