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
  •  


HP Essential Laptop Computer 15.6

HP Essential Laptop Computer 15.6" HD Intel Core i7 8 GB memory; 128 GB SSD

$599.99



Windows 11 Home Mini PC Intel N4100 Quad Core 2.7GHz 8GB RAM DDR4 256GB SSD picture

Windows 11 Home Mini PC Intel N4100 Quad Core 2.7GHz 8GB RAM DDR4 256GB SSD

$89.59



Dell OptiPlex 7040 Intel core I7-6700 3.4 GHz 8 GB ram No HDD/No OS picture

Dell OptiPlex 7040 Intel core I7-6700 3.4 GHz 8 GB ram No HDD/No OS

$59.99



Dell 14

Dell 14" TOUCHSCREN Laptop 8th Gen Core i5 16GB RAM 512GB SSD/256 Bluetooth W11

$235.00



Intel - Core i5-13600K 13th Gen 14 cores 6 P-cores + 8 E-cores 24M Cache, 3.5... picture

Intel - Core i5-13600K 13th Gen 14 cores 6 P-cores + 8 E-cores 24M Cache, 3.5...

$274.99



Intel - Core i5-13500 13th Gen 14 cores 6 P-cores + 8 E-cores, 24MB Cache, 2.... picture

Intel - Core i5-13500 13th Gen 14 cores 6 P-cores + 8 E-cores, 24MB Cache, 2....

$199.99



Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4... picture

Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4...

$344.99



Dell Precision 3431 SFF Desktop 8-Core i9-9900 3.10GHz 16GB 512GB SSD Win 11 Pro picture

Dell Precision 3431 SFF Desktop 8-Core i9-9900 3.10GHz 16GB 512GB SSD Win 11 Pro

$284.99



8-Core (16-Thread) NVIDIA GAMING PC: 32GB RAM 2.25TB 5G-WiFi BT Desktop Computer picture

8-Core (16-Thread) NVIDIA GAMING PC: 32GB RAM 2.25TB 5G-WiFi BT Desktop Computer

$470.00



Lenovo Loq 15Irh8 15

Lenovo Loq 15Irh8 15" Laptop Core i5-13420H GeForce RTX 2050 16GB 512GB SSD W11H

$519.99