Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-26-2008, 05:41 AM   #1
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 524

Rep: Reputation: 31
How to allow a router's address in /etc/hosts.allow?


I have a new internet provider and since then my IP-address changes all th time.
So I decided to give my router's address in and put it in the /etc/hosts.allow file of ma server like :
I of course restarted sshd. But I still can't log in.
What did I do wrong?

Old 02-26-2008, 06:28 AM   #2
Registered: Sep 2006
Location: Nagpur, Maharashtra, India
Distribution: Debian, Ubuntu, Redhat, Fedora, SLES, OpenSUSE, FreeBSD, Mac OS X
Posts: 221

Rep: Reputation: 31
Are you using a dsl router. Has you ISP provided you with DNS server entry that can be placed /etc/resolv.conf or is it placed automatically and why in first place you want to edit /etc/hosts. Please elaborate.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Forgot my router's IP address jstars Linux - Networking 10 12-03-2006 08:44 AM
dynamic ip address of the machine in /etc/hosts RottenMutt Linux - Networking 3 11-24-2006 10:35 AM
block ip address/hosts sohmc Linux - Security 3 09-19-2004 12:13 PM
finding out your home router's ip address using lynx linuxfan1 Linux - Software 1 04-09-2004 05:47 PM
IP Address for /etc/hosts when using DHCP jimbo Linux - Networking 5 03-27-2004 07:59 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:17 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration