LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-26-2008, 04:41 AM   #1
xpucto
Member
 
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?


Hi!

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 http://www.dyndns.com/ and put it in the /etc/hosts.allow file of ma server like :
Quote:
ALL:myuser.myadresse.org
.
I of course restarted sshd. But I still can't log in.
What did I do wrong?

thanks.
 
Old 02-26-2008, 05:28 AM   #2
paragkalra
Member
 
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.
 
  


Reply



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 07:44 AM
dynamic ip address of the machine in /etc/hosts RottenMutt Linux - Networking 3 11-24-2006 09:35 AM
block ip address/hosts sohmc Linux - Security 3 09-19-2004 11:13 AM
finding out your home router's ip address using lynx linuxfan1 Linux - Software 1 04-09-2004 04:47 PM
IP Address for /etc/hosts when using DHCP jimbo Linux - Networking 5 03-27-2004 06:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:33 AM.

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