I don't know if this'll work for you guys, but I took a stab
in the dark and now telnet works for me.
I just downloaded the new telnet rpm from rpmfind
(telnet-client-krb-1.2.2-15mdk), and
rpm -Uvh telnetblahblah
and now I'm up and running.

HTH

Edmund

> -----Original Message-----
> From: Frans Ketelaars [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 26, 2001 5:45 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [newbie] Help with Telnet
> 
> 
> On Thu, 25 Oct 2001 15:49:05 -0700 (PDT)
> Onur Kucuk <[EMAIL PROTECTED]> wrote:
> 
> > 
> > --- Frans Ketelaars <[EMAIL PROTECTED]> wrote:
> > > Yes :)
> > > 
> > > [frans@localhost linux]$ rpm -qa | grep telnet
> > > gnome-telnet-2.4-2mdk
> > > telnet-client-krb5-1.2.2-11mdk
> > > telnet-server-krb5-1.2.2-11mdk
> > > [frans@localhost linux]$ telnet localhost
> > > Trying 127.0.0.1...
> > > Connected to localhost.localdomain (127.0.0.1).
> > > Escape character is '^]'.
> > > 
> > >     localhost.localdomain (Linux release 2.4.8-26mdk
> > > #1 Sun Sep 23 17:06:39 CEST 2001) (2)
> > > 
> > > login: frans
> > > Password:
> > > Last login: Thu Oct 25 23:31:42 from localhost
> > > [frans@localhost frans]$
> > > 
> > > HTH,
> > > 
> > >     -Frans
> > 
> > Can you tell how ? What we had really wanted to learn
> > was how to make a telnetd run our systems....
> > 
> > [root@zaburt root]# cat /etc/xinetd.conf
> > #
> > # Simple configuration file for xinetd
> > #
> > # Some defaults, and include /etc/xinetd.d/
> > 
> > defaults
> > {
> >         instances               = 60
> >         log_type                = SYSLOG authpriv
> >         log_on_success          = HOST PID
> >         log_on_failure          = HOST
> >         cps                     = 25 30
> > }
> > 
> > includedir /etc/xinetd.d
> > 
> > [root@zaburt root]# cat /etc/xinetd.d/telnet
> > service telnet
> > {
> > #       disable = yes
> >         flags = REUSE
> >         log_on_failure += USERID
> >         socket_type = stream
> >         user = root
> >         server = /usr/sbin/telnetd
> >         server_args = -a none
> >         wait = no
> > }
> > 
> > [root@zaburt root]# rpm -qa |grep telnet
> > gnome-telnet-2.4-2mdk
> > ktelnet-0.7b1-10mdk
> > telnet-client-krb5-1.2.2-15mdk
> > telnet-server-krb5-1.2.2-15mdk
> > 
> > [root@zaburt root]# /etc/rc.d/init.d/xinetd restart
> > Stopping xinetd:                                      
> >     [  OK  ]
> > Starting xinetd:                                      
> >     [  OK  ]
> > 
> > [root@zaburt root]# telnet localhost
> > Trying 127.0.0.1...
> > telnet: Unable to connect to remote host: Connection
> > refused
> > 
> > [root@zaburt root]# nmap localhost
> > 
> > Starting nmap V. 2.54BETA22 ( www.insecure.org/nmap/ )
> > Interesting ports on localhost.localdomain
> > (127.0.0.1):
> > (The 1535 ports scanned but not shown below are in
> > state: closed)
> > Port       State       Service
> > 21/tcp     open        ftp
> > 22/tcp     open        ssh
> > 111/tcp    open        sunrpc
> > 631/tcp    open        cups
> > 839/tcp    open        unknown
> > 6000/tcp   open        X11
> > 32771/tcp  open        sometimes-rpc5
> > 
> > 
> > Nmap run completed -- 1 IP address (1 host up) scanned
> > in 1 second
> > 
> > 
> >  Onur
> 
> Hi, I just installed telnet yesterday and it just worked. Now the
> really strange thing: this morning it had stopped working (I didn't
> log out or something). So I removed the mentioned telnet rpm's and 
> reinstalled them and now it works again:
> 
> Starting nmap V. 2.54BETA22 ( www.insecure.org/nmap/ )
> Interesting ports on localhost.localdomain (127.0.0.1):
> (The 1525 ports scanned but not shown below are in state: closed)
> Port       State       Service
> 21/tcp     open        ftp
> 22/tcp     open        ssh
> 23/tcp     open        telnet
> 25/tcp     open        smtp
> 53/tcp     open        domain
> 80/tcp     open        http
> 111/tcp    open        sunrpc
> 139/tcp    open        netbios-ssn
> 443/tcp    open        https
> 891/tcp    open        unknown
> 901/tcp    open        samba-swat
> 953/tcp    open        rndc
> 1023/tcp   open        unknown
> 3306/tcp   open        mysql
> 5432/tcp   open        postgres
> 6000/tcp   open        X11
> 32770/tcp  open        sometimes-rpc3
> 
> 
> Nmap run completed -- 1 IP address (1 host up) scanned in 1 second
> [frans@localhost frans]$ ps -ax | grep telnet
> 11759 pts/2    S      0:00 grep telnet
> [frans@localhost frans]$ telnet localhost
> Trying 127.0.0.1...
> Connected to localhost.localdomain (127.0.0.1).
> Escape character is '^]'.
> 
>     localhost.localdomain (Linux release 2.4.8-26mdk #1 Sun 
> Sep 23 17:06:39 CEST 2001) (0)
> 
> login: frans
> Password:
> Last login: Fri Oct 26 10:55:55 from localhost
> [frans@localhost frans]$ ps -ax | grep telnet
> 11760 pts/2    S      0:00 telnet localhost
> 11761 ?        S      0:00 telnetd -a none
> 11790 pts/0    S      0:00 grep telnet
> [frans@localhost frans]$
> 
> I noticed telnetd is only running after a telnet connection is 
> established. I did nothing concerning xinetd.d because it's way
> over my head :) The following seems is a bit different from 
> what you get:
>  
> [frans@localhost frans]$ cat /etc/xinetd.d/telnet
> service telnet
> {
>         disable         = no
>         flags           = REUSE
>         socket_type     = stream
>         wait            = no
>         user            = root
>         server          = /usr/sbin/telnetd
>         server_args     = -a none
>         log_on_failure  += USERID
> }
> [frans@localhost frans]$
> 
> HTH,
> 
>     -Frans (very confused)
> 
> 

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to