Have you setup the /etc/resolv.conf file?
try typing the following:
netstat -r
if it hangs for a while and does nothing it is not setup.  If you are
unfumilliar with netstat, check the man page.  the syntax for the
resolv.conf file is as follows.

domain "YOUR DOMAIN HERE WITH NO QUOTES AND DOMAIN SPELLED OUT"
nameserver "THE IP ADDRESS OF YOUR NAME SERVER.AGAIN NAMESERVER IS SPELLED
OUT.  You can have as many name servers listed as you want"
Hope this helps out.
----- Original Message -----
From: "Gavin Clark" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 06, 2000 2:54 AM
Subject: Re: [expert] Getting telnet access working on Mdk 7


> on 6/5/00 8:39 PM, Eric Aksomitis  wrote:
>
> > I can't get telnet or ftp to work, even from the konsole (telnet
> > localhost).
> > It keeps on with "connection refused by host".
> >
> > My inetd.conf file points to telnet being serviced through tcpd to
> > in.telnetd as you would expect.  There is no hosts.allow or hosts.deny
> > files present.  This is the way mine is at home and I often telnet
> > localhost to run programs as root real easy.
> >
> > So, after having read all the man pages, all I can think of is tcpd is
> > not allowing me through, but why?  If possible, I'd like to leave tcpd
> > in the mix, but if not I'll just use straight in.telnetd if that works.
> >
> > What else am i missing, something to do with hostname resolving?
> >
> > Please help, I'm not sure what else it might be?
> >
> > Eric Aksomitis
> > http://www.dlcwest.com/~jed/re_answer.shtml
> >
>
> I'll bet tcpd defaults to no access.
>
> try this:
> add a /etc/hosts.allow file and put this line:
> ALL:ALL
>
> restart inetd
>
> try to telnet in
>
> THAT LINE IN /etc/hosts.allow WILL LEAVE YOU WIDE OPEN!
>
> so you need to change it after you prove to yourself that you can in fact
> log in. better yet, turn off telnet and get ssh.
>
> if you just want to run a command or two as root on your local box you can
> #su in a terminal.
>
> hope this helps
> Gavin
>

Reply via email to