05-09-2012 04:37 PM
I need to change the hosts file on the verizon FiOS wifi modem / router. The modem is westell 9100. Can anyone tell me how can i do this ?
I tried telnet and it gave me error as follows...
C:\Windows\system32>telnet 192.168.1.1:22
Connecting To 192.168.1.1:22...Could not open connection to the host, on port 23
: Connect failed
Please suggest.
05-10-2012 03:36 AM - edited 05-10-2012 03:42 AM
This is a local file on your computer, not a file in your modem/router.
on all versions of windows since NT its at
%SystemRoot%\system32\drivers\etc\hosts
The router uses a DNS server. By default the one it gets via DHCP from Verizon. YOu can change the DNS server if you desire.
05-10-2012 04:41 AM - edited 05-10-2012 04:41 AM
The /etc/hosts file actually is a file on Linux-based systems, which the router is. The router may in fact have such a file on it, but you would need SSH access in order to edit it at the very minimum. I doubt Telnet would be of much use. The question is, does the router support SFTP of files to/from the unit or does it have a program such as VIM installed onto it for editing the hosts file, and does the file even truly exist in the router's memory? I doubt any changes to it could be saved to Flash, and a reboot of the router would destroy any non-standard changes made to that file.
05-10-2012 06:44 AM
The better question is ... why do you think you need to change this file? What are you actually trying to accomplish?
05-10-2012 11:09 AM
^^I need to block a specific URL so that it cannot be access from within an app on my iPhone / iPod touch. I know what URL an app on my iPhone is using and want to block that.
Do you think parental control will work ?
05-10-2012 11:14 AM
Parental Controls will probably work, but it will also hinder the performance of your connection since the functions are all done in software on the router. You're best trying to use something such as OpenDNS for what you're looking to accomplish. They should be able to be set to block specific domains and redirect to an OpenDNS-driven block page. Unless what you're looking for needs to go to localhost?
I hope this isn't something malicious towards an app ![]()
05-10-2012 02:01 PM
OpenDNS is the right approach here ... you can selectively block specific domains / urls.