Re: [expert] Cannot Telnet - Message 2

2000-10-05 Thread Pierre Fortin

LINK WORLD wrote:
 
 Dear Support,
 
 I cannot telnet to my system. I have a rtl100a Compex card which seems to work fine
 (because I can telnet to another system on the network). If I try to telnet to this
 system from anywhere on the lan (including this system itself) I get:
 
 Trying 192.168.1.2
 Connected to sunil.javasolutions.org
 Escape character is '^]'
 Connection closed by foreign host
 
 The suggestions received earlier were
[snip]

Did anyone ask if you have this file:  /etc/nologin
empty or not...?

man nologin

Pierre



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] Cannot Telnet - Message 2

2000-10-02 Thread Jim Holthaus

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, 01 Oct 2000, you wrote:
 
 Dear Support,
 
 I cannot telnet to my system. I have a rtl100a Compex card which seems to work fine
 (because I can telnet to another system on the network). If I try to telnet to this
 system from anywhere on the lan (including this system itself) I get:
 
 Trying 192.168.1.2
 Connected to sunil.javasolutions.org
 Escape character is '^]'
 Connection closed by foreign host

Check /etc/hosts.allow. For information on its format and contents, try 
man hosts_access.
- -- 
Jim Holthaus   (pronunciation: HOLT house)
[EMAIL PROTECTED]
PGP Public Key at http://www.holthaus.com/jim/pgpkey.html
Learn about PGP at http://www.holthaus.com/jim/pgp.html

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.1

iQA/AwUBOdgtvX3IcJJ+eC/CEQIA4QCfa69NbyAfyajISuRVCUFmx8eeoRsAn1wt
hWuIfedXPXRZ+o/v+MBcs7Le
=fPa5
-END PGP SIGNATURE-



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] Cannot Telnet - Message 2

2000-10-02 Thread BillK

Thats the error I got before I installed the telnet daemon.  I am not
sure if you actually checked that the daemon is there - my system had
all the correct inet enties and was enabled, but the daemon package
itself had not been installed.  The telnet client you are using is in a
different package and is independent of the daemon (telnetd) so you need
to check the daemon itself.

BillK



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] Cannot Telnet - Message 2

2000-10-02 Thread Nightwriter

Had this problem on 7.0 and it's still the same on 7.1.  Actually it's not 
a "problem"  but a security feature.  If you chose medium or above security 
on install (maybe even low I've never used it)  telnet-server package 
doesn't get installed.  This package contains the telnet deamon you need to 
telnet INTO your box.  Once you install that one.  poof it should 
work.  The package is on the disk called telnet-server.x.mdk.rpm where 
the  is the version number.

James


At 01:36 AM 10/2/00 -0500, you wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, 01 Oct 2000, you wrote:
 
  Dear Support,
 
  I cannot telnet to my system. I have a rtl100a Compex card which seems 
 to work fine
  (because I can telnet to another system on the network). If I try to 
 telnet to this
  system from anywhere on the lan (including this system itself) I get:
 
  Trying 192.168.1.2
  Connected to sunil.javasolutions.org
  Escape character is '^]'
  Connection closed by foreign host

Check /etc/hosts.allow. For information on its format and contents, try
man hosts_access.
- --
Jim Holthaus   (pronunciation: HOLT house)
[EMAIL PROTECTED]
PGP Public Key at http://www.holthaus.com/jim/pgpkey.html
Learn about PGP at http://www.holthaus.com/jim/pgp.html

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.1

iQA/AwUBOdgtvX3IcJJ+eC/CEQIA4QCfa69NbyAfyajISuRVCUFmx8eeoRsAn1wt
hWuIfedXPXRZ+o/v+MBcs7Le
=fPa5
-END PGP SIGNATURE-

Keep in touch with http://mandrakeforum.com:
Subscribe the "[EMAIL PROTECTED]" mailing list.




Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] Cannot Telnet - Message 2

2000-10-02 Thread Stephen Bosch



LINK WORLD wrote:

 I cannot telnet to my system. I have a rtl100a Compex card which seems to work fine
 (because I can telnet to another system on the network). If I try to telnet to this
 system from anywhere on the lan (including this system itself) I get:
 
 Trying 192.168.1.2
 Connected to sunil.javasolutions.org
 Escape character is '^]'
 Connection closed by foreign host
 
 The suggestions received earlier were

I noticed nobody asked if you had a line for telnet in
/etc/inetd.conf...

-Stephen-



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] Cannot Telnet - Message 2

2000-10-02 Thread Stephen Bosch


Sorry... just realized that the inetd does have a line for telnet, or it
wouldn't have "picked up the phone"

But it would still be worthwhile to see what's in your /etc/inetd.conf
file... 

-Stephen-



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



[expert] Cannot Telnet - Message 2

2000-10-01 Thread LINK WORLD

Dear Support,

I cannot telnet to my system. I have a rtl100a Compex card which seems to work fine
(because I can telnet to another system on the network). If I try to telnet to this
system from anywhere on the lan (including this system itself) I get:

Trying 192.168.1.2
Connected to sunil.javasolutions.org
Escape character is '^]'
Connection closed by foreign host

The suggestions received earlier were

1.scrapmetaldevil wrote:

 ummm...do you have the telnet daemon enabled? and if it is, are you telnet-ing
 to the port that is enable? Could also be a firewall problem. Go through linux
 conf...the message below generally means the server is not running or you've
 telnet-ed to the wrong port. Your info isn't very descriptive what you know is
 enabled. After installation I had to go through my linuxconf and enable it. If
 you are using a fire wall, make sure its not set on the port the server is set
 to. I'm not much of a console user...so I can't really help in that arena.

2. Dan Wrote:
Quick and dirty Fix: Should only be used until you figure out  how to
properly set hosts allow and hosts deny Etc. Etc.  (I mention this only
because I haven't yet myself)

pico /etc/pam.d/login

Then find the line that says "securetty.so" (Usually the second line from
the top.)

Comment out this line from the beginning of:

#auth

Save and telnet.

Please note if this machine is conencted to the 'net via dialup or on a lan
without a firewall you are REALLY leaving your butt hanging out the car
window, during rush hour in Los Angeles.. :)

3.Sarang Wrote
Are you tring to telnet and login as root? Linux dosn't let you do that for
security reasons.. login as another user and then su to root.

Else, check the file /etc/services It has all the services that your
machine  has open.. If you have set the security level to highest in
mandrake, then it'll disable telnet.. you can only get in by using SSH.
Lemme know if you need help in setting up ssh.. its pretty straighforward!

Else, if you have telnet uncommented in /etc/services, then do "
/etc/rc.d/inid.d/inet status" and see if its running.. inet basically
starts services mentioned in /etc/services.. if its not running then simply
say "/etc/rc.d/init.d/inet start" and you should be ok !
---

None of these work. I have hunted the internet, mandrake archives, redhat support and
several books. I have not even come across a similar problem listed. Please help. I am
finding my development time being wasted.

Regards
SUNIL GUPTA





Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] Cannot Telnet - Message 2

2000-10-01 Thread Sarang Lakare

 Trying 192.168.1.2
 Connected to sunil.javasolutions.org
 Escape character is '^]'

 Connection closed by foreign host
btw, is there a delay b4 u get "Connection closed" ?

we had a similar problem once.. i'll ask the person if he remembers
anything!

-sarang



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.