Customers With Disabilities
  • RESIDENTIAL
  • BUSINESS

    Verizon Business Sites

  • WIRELESS
Reply
Contributor
raksrules
Posts: 2
Registered: ‎05-09-2012
0 Kudos

Can i change /etc/hosts in verizon modem/wifi router (westell 9100) ? If yes then how ?

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.

Silver Contributor V
Silver Contributor V
tns
Posts: 1,757
Registered: ‎05-22-2010

Re: Can i change /etc/hosts in verizon modem/wifi router (westell 9100) ? If yes then how ?

[ Edited ]

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.

Gold Contributor VII
Smith6612
Posts: 4,535
Registered: ‎12-15-2010

Re: Can i change /etc/hosts in verizon modem/wifi router (westell 9100) ? If yes then how ?

[ Edited ]

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.

All Star
lasagna
Posts: 1,786
Registered: ‎05-27-2010
Plan: Prime HD 50/25
Location: South Central, PA

Re: Can i change /etc/hosts in verizon modem/wifi router (westell 9100) ? If yes then how ?

The better question is ... why do you think you need to change this file?  What are you actually trying to accomplish?

Contributor
raksrules
Posts: 2
Registered: ‎05-09-2012
0 Kudos

Re: Can i change /etc/hosts in verizon modem/wifi router (westell 9100) ? If yes then how ?

^^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 ?

Gold Contributor VII
Smith6612
Posts: 4,535
Registered: ‎12-15-2010

Re: Can i change /etc/hosts in verizon modem/wifi router (westell 9100) ? If yes then how ?

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 :smileysad:

All Star
lasagna
Posts: 1,786
Registered: ‎05-27-2010
Plan: Prime HD 50/25
Location: South Central, PA

Re: Can i change /etc/hosts in verizon modem/wifi router (westell 9100) ? If yes then how ?

OpenDNS is the right approach here ... you can selectively block specific domains / urls.

Verizon

  • Services
  • Shop
  • Support
  • Site Feedback
  • Announcements

Shop FiOS

  • FiOS Internet
  • FiOS TV
  • FiOS Digital Voice
  • FiOS Bundles
  • Flex View

Account & Services

Email, News, & TV

  • Check Email
  • TV Listings