Results 1 to 6 of 6

Thread: problem with telnetd

  1. #1
    Junior Member
    Join Date
    Jul 2003
    Posts
    2

    problem with telnetd

    Hello,
    I am working with Knoppix system V3.2-06-06 booted from CD on PC computer. My problem is unfunctional remote login throuh telnet from another PC in our intranet net with Windows98. I have uncomented the preprepared line in /etc/inetd.conf like this:

    telnets stream tcp nowait sslwrap.sslwrap /usr/sbin/tcpd /usr/sbin/sslwrap -nocert -addr 127.0.0.1 -port 23

    I have restarted inetd using kill -1 <process number>

    Command : telnet <IP adress> replied:

    Trying <IP adress>...
    telnet: Unable to connect to remote host: Connection refused

    Then I have added new line in default inetd.conf file like this:

    telnet stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.telnetd

    restart inetd and command : telnet <IP adress> replied

    Trying <IP adress>...
    Connected to <ip adress>.
    Escape character is '^]'.
    Error loading /usr/lib/ssl/certs/telnetd.pem: 5135:error:02001002:system library:fopen:No such file or directory:bss_file.c:259:fopen('/usr/lib/ssl/certs/telnetd.pem','r')
    5135:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:261:
    5135:error:140C8002:SSL routines:SSL_use_certificate_file:system lib:ssl_rsa.c:101:

    do_ssleay_init() failed
    Connection closed by foreign host.

    This is the same like:

    root@ttyp0[etc]# in.telnetd -debug 23
    Error loading /usr/lib/ssl/certs/telnetd.pem: 5259:error:02001002:system library:fopen:No such file or directory:bss_file.c:259:fopen('/usr/lib/ssl/certs/telnetd.pem','r')
    5259:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:261:
    5259:error:140C8002:SSL routines:SSL_use_certificate_file:system lib:ssl_rsa.c:101:

    do_ssleay_init() failed

    What can I do to solve my problem?

  2. #2
    Junior Member
    Join Date
    Aug 2003
    Location
    New Hampshire, USA
    Posts
    8
    I have the same problem. Any suggestions?

  3. #3
    Junior Member
    Join Date
    Aug 2003
    Location
    New Hampshire, USA
    Posts
    8
    I finally got telnet to work on Knoppix 3.2 HD install. Apparently, if one has SSL installed then atleast one certificate is needed or a "dummy certificate" will also do. This is the telnetd.pem file that is reported missing.

    Here is what I had to do as root:

    Code:
    cd /usr/lib/ssl/certs
    openssl req -new -x509 -nodes -out telnetd.pem -keyout telnetd.pem
    After this test "telnet localhost" and it should work.

  4. #4
    Junior Member
    Join Date
    Jul 2003
    Posts
    2
    Thank you very much. It works OK.

  5. #5

    localhost works, but nothing else

    I can get telnet to work to the localhost with this, but remote hosts are refused. Any ideas?

  6. #6
    Junior Member
    Join Date
    Jan 2005
    Location
    Germany
    Posts
    1
    i had the same problem as mentioned above. first thanks for the help with ssl, however you found out

    to allow remote hosts, you have to alter the file /etc/hosts.allow .
    after installing knoppix 3.7 the last line of this file showed up like this:

    ALL : ALL@ALL : DENY

    i changed the DENY to ALLOW, so i suppose it means all hosts are allowed now.

    for me this works fine..

    bye

Similar Threads

  1. Enabling telnetd on Knoppix CD
    By acer0001 in forum Customising & Remastering
    Replies: 2
    Last Post: 03-07-2005, 11:48 PM
  2. Problem Unique to Knoppix Later Versions!(SIS problem!)
    By bongski55 in forum Hardware & Booting
    Replies: 4
    Last Post: 11-15-2003, 10:19 AM
  3. Wierd Problem With USB Keyboard, Maybe Motherboard Problem
    By Triple Six in forum Hardware & Booting
    Replies: 2
    Last Post: 04-15-2003, 04:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Vintage Commodore Amiga 500 Computer  Model A500/ untested/ see descript picture

Vintage Commodore Amiga 500 Computer Model A500/ untested/ see descript

$250.00



Vintage Commodore Amiga 500 Computer Keyboard Model A500 Sold As Is Rev 5 picture

Vintage Commodore Amiga 500 Computer Keyboard Model A500 Sold As Is Rev 5

$149.99



50 random Amiga floppy disks or more with the offer - as is and for parts picture

50 random Amiga floppy disks or more with the offer - as is and for parts

$35.00



Yamaha external  SCSI CDRW Recorder Atari commodore Amiga pc picture

Yamaha external SCSI CDRW Recorder Atari commodore Amiga pc

$29.99



ZuluSCSI V1.2 - a descendant of SCSI2SD, for Macintosh, Amiga, PC and Industrial picture

ZuluSCSI V1.2 - a descendant of SCSI2SD, for Macintosh, Amiga, PC and Industrial

$79.00



TF536: an Amiga 500 accelerator with 68030/50, 64MB RAM, IDE interface+CF card picture

TF536: an Amiga 500 accelerator with 68030/50, 64MB RAM, IDE interface+CF card

$211.96



50+ Amiga Floppy Discs Amiga Format Games Lot Vintage Some Sealed Untested picture

50+ Amiga Floppy Discs Amiga Format Games Lot Vintage Some Sealed Untested

$82.00



Mini External OLED AMIGA Gotek Floppy Drive Emulator For Amiga 500/500+/600/1200 picture

Mini External OLED AMIGA Gotek Floppy Drive Emulator For Amiga 500/500+/600/1200

$38.27



pi1541 Disk Emulator for Commodore -  picture

pi1541 Disk Emulator for Commodore -

$38.95



Commodore Amiga A2091 HDD SCSI Controller   Please Read picture

Commodore Amiga A2091 HDD SCSI Controller Please Read

$119.99