Skip to content
sairuk edited this page Dec 6, 2022 · 4 revisions

About

Kermit is a connect to anything from anything project (almost). It supports kermit, telnet, http, ftp, rlogin, ssh etc protocols. Kermit clients are available for a number of environments or you can access it with telnet. Serial comms, modem etc. are also supported. The most common kermit clients being Kermit95 and C-Kermit.

RetroNAS runs IKSD the Internet Kermit Service Daemon to provide access to your RetroNAS.

The project itself is too big to cover here, we will include some commands to get you started. If you wish to use Kermit please see the project documentation in the References section.

Note: The default TCP connection type is TELNET

Usage

Command help,

Type a ? and the available commands will be displayed to the terminal

show ?

Allow plain text telnet

(~/) C-Kermit>show telnet

SET TELNET parameters:
 authentication: requested   in use: NULL
  credentials forwarding disabled
 encryption: requested       in use: plain text in both directions

(~/) C-Kermit>set telnet authentication type none 
(~/) C-Kermit>show telnet
SET TELNET parameters:
 authentication: accepted    in use: NULL
  credentials forwarding disabled
 encryption: refused         in use: plain text in both directions

Set the telnet user

(~/) C-Kermit>set telnet environment user <retronas_user>
(~/) C-Kermit>show telnet   
SET TELNET parameters:
 environment: on
   USER   : <retronas_user>

Telnet connection to server mode (IKSD)

(~/) C-Kermit> telnet <retronas_ip> 1649
Internet Kermit Service ready at Wed Dec  7 07:29:38 2022
C-Kermit 9.0.305 OPEN SOURCE: Alpha.02, 19 Sep 2020
<server_hostname>

Enter <retronas_user>'s Password: 
User <retronas_user> logged in.
C-Kermit 9.0.305 OPEN SOURCE: Alpha.02, 19 Sep 2020, for Linux+SSL+KRB5 (64-bit)
 Copyright (C) 1985, 2020,
  Trustees of Columbia University in the City of New York.
Type ? or HELP for help.
(~/) IKSD>

Telnet connection as client mode (C-Kermit)

(~/) C-Kermit>set host <retronas_ip> 1649
 Trying <retronas_ip>...  Reverse DNS Lookup... (OK)
 <retronas_hostname> connected on port 1649
TLS failed:  Disconnecting...
Reconnecting without TLS.
 Trying <retronas_ip>...  Reverse DNS Lookup... (OK)
 <retronas_hostname> connected on port 1649
Authentication failed: User refused to accept any authentication method
(~/) C-Kermit>remote login <retronas_user> <retronas_pass>
Logged in
(~/) C-Kermit>remote cd
/home/<retronas_user>
(~/) C-Kermit>

Return to client mode from server mode

Press the escape sequence CTRL+\ -> C

(~/) IKSD>
(Back at <client_hostname>)
----------------------------------------------------
(~/) C-Kermit>

Change remote working directory

(~/) C-Kermit>remote cd
/home/<retronas_user>
(~/) C-Kermit>remote cd /data/retronas
/data/retronas
(~/) C-Kermit>

List remote files in current directory

(~/) C-Kermit>remote directory
 Press the X or E key to cancel.
drwxr-xr-x      4096  2022-12-07 05:28:47  config
-rw-r--r-- 104857600  2022-12-07 07:39:00  testfile
(~/) C-Kermit>

Download (GET) a file from the remote

(~/) C-Kermit>get testfile
C-Kermit 9.0.305 OPEN SOURCE: Alpha.02, 19 Sep 2020, lintop.mameau.com [192.168.0.210]

   Current Directory: /home/me
        Network Host: <server_hostname>:1649
        Network Type: TCP/IP
              Parity: none
         RTT/Timeout: 08 / 00
           RECEIVING: testfile => testfile
           File Type: BINARY
           File Size: 104857600
        Percent Done: 63  ///////////////////////////////-
                          ...10...20...30...40...50...60...70...80...90..100
 Estimated Time Left: 00:00:02
  Transfer Rate, CPS: 16461528
        Window Slots: STREAMING
         Packet Type: D
        Packet Count: 17125
       Packet Length: 3999
         Error Count: 0
          Last Error:
        Last Message:

X to cancel file, Z to cancel group, <CR> to resend last packet,
E to send Error packet, ^C to quit immediately, ^L to refresh screen.

Send (SEND) file to remote

(~/) C-Kermit>send testfile

End you session

(~/) C-Kermit>bye

Check the connection state

(~/) C-Kermit>show connection

 Status:       Closed
 Opened:       20221207 07:58:31
 User:         <client_user>
 PID:          1528215
 Type:         TCP
 To:           <server_hostname>:1649
 From:         <client_hostname>
 Port:         1649
 Elapsed time: 00:00:00
 Log:          (none)

(~/) C-Kermit>

References

Home

Getting started:

Contributing

Multi-system protocols:

Specific system configurations:

Services:

Tools:

Physical Media:

On-Device Management:

Advanced storage options:

  • BtrFS RAID, Snapshots, Compression, Deduplication
  • FAT Advanced guide to using FAT loopback mounts for EtherDFS
  • TBA
    • SMR Shingled Magnetic Recording hard drives (TBA)
    • NTFS Advanced guide for NTFS formatted disks
    • SMB Loopback Mounting an existing SMB NAS
    • NFS Loopback Mounting an existing NFS NAS
    • MDRAID (TBA)
    • LVM (TBA)
    • iSCSI Configuring iSCSI

Other:

Clone this wiki locally