ebmontejo wrote:
I made a youtube tutorial
The effort to help is appreciated. However, there are some problems with this video.
First, the instructions only apply to a specific router. Procedures for resetting other routers to factory defaults will vary. Further, this is not adequate to fix all hacked routers. Some may require additional measures. The best step is to contact the manufacturer of your router for help fixing it. You may even need to install some third-party router firmware, like DD-WRT.
Second, it may not be the wireless router that is the problem. Many network setups have a cable or DSL modem provided by the internet service provider, and that device is managing the network, not any wireless routers that may have been added to the network. In that case, the modem is the likely culprit, and the internet service provider will probably need to be involved in the solution.
For more information on these points, see:
http://www.adwaremedic.com/kb/hackedrouter.php
Third, you should not advise editing the hosts file! At best, this will simply cover up the symptoms of the problem, without solving the underlying issue. At worst, messing with the hosts file could break your network connectivity in weird ways that you may discover much later, after you've forgotten about the hosts file modifications.
If resetting the network hardware doesn't fix the problem, even with assistance from the manufacturer and/or ISP, then there may be adware involved. In that case, see my Adware Removal Guide.
(Fair disclosure: I may receive compensation from links to my sites, TheSafeMac.com and AdwareMedic.com.)