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
  •  


1984 APPLE MACINTOSH Model M0001 1st MAC 128K 40th Anniversary PICASSO KIT NICE picture

1984 APPLE MACINTOSH Model M0001 1st MAC 128K 40th Anniversary PICASSO KIT NICE

$4999.99



Macintosh Platinum Mouse - Apple 128K 512K 512Ke Mac Plus Lisa IIe M0100 - NEW picture

Macintosh Platinum Mouse - Apple 128K 512K 512Ke Mac Plus Lisa IIe M0100 - NEW

$44.99



✅  ⌘ Apple II II+ IIe Saturn (Titan) APX-128K-1 128k Memory Card picture

✅ ⌘ Apple II II+ IIe Saturn (Titan) APX-128K-1 128k Memory Card

$279.00



Apple Macintosh 128K M0001 Computer (1984) With Color StyleWriter 2400 Inkjet picture

Apple Macintosh 128K M0001 Computer (1984) With Color StyleWriter 2400 Inkjet

$500.00



Apple IIe 128K Computer Only A2S2064 SOLD AS IS picture

Apple IIe 128K Computer Only A2S2064 SOLD AS IS

$108.88



Vintage Apple Macintosh Classic 128K Application On New 400K Double Density Disk picture

Vintage Apple Macintosh Classic 128K Application On New 400K Double Density Disk

$26.99



Apple Keyboard and Cable for Macintosh 128k 512k Mac Plus RARE Vintage M0110 picture

Apple Keyboard and Cable for Macintosh 128k 512k Mac Plus RARE Vintage M0110

$169.99



Vintage Apple Macintosh Classic 128K Game Pack 2 On New 400K Double Density Disk picture

Vintage Apple Macintosh Classic 128K Game Pack 2 On New 400K Double Density Disk

$39.99



Apple Macintosh 128K M0001 Computer with Mouse, no keyboard. Case included. 1984 picture

Apple Macintosh 128K M0001 Computer with Mouse, no keyboard. Case included. 1984

$508.59



Apple Macintosh M0001 Computer 1984 picture

Apple Macintosh M0001 Computer 1984

$1036.00