Difference between revisions of "CYGWIN telnet server setup on windows"

From Uzebox Wiki
Jump to: navigation, search
Line 5: Line 5:
 
* Download Cygwin installer: [https://cygwin.com/] (x64 or 32-bit) then run setup and install the following additional components:
 
* Download Cygwin installer: [https://cygwin.com/] (x64 or 32-bit) then run setup and install the following additional components:
 
** Caterory Admin-> Cygrunsrv
 
** Caterory Admin-> Cygrunsrv
** Caterory Net-> Inetutils-server and xinetd
+
** Caterory Net-> Inetutils-server, xinetd, tcp_wrappers
 
* As an administrator create a new user named "cyg_server" with admin previledges and assign it a password
 
* As an administrator create a new user named "cyg_server" with admin previledges and assign it a password
 
* Add c:\cygwin\bin to your system PATH variable
 
* Add c:\cygwin\bin to your system PATH variable
 +
* Edit c:\cygwin\etc\xinetd.d\telnet and set "disable=no"
 
* Run the Cygwin console as an administrator (important):
 
* Run the Cygwin console as an administrator (important):
** Edit c:\cygwin\etc\xinetd.d\telnet and set "disable=no"
+
** Run: xinetd-config and follow the steps to set xinetd as a service. Keep cyg_Server as user and enter the password.
** Run: xinetd-config and follow the steps to set xinetd as a service. keep cyg_Server as user and enter the password.
 
 
** Run: cygrunsrv -S xinetd to start the service
 
** Run: cygrunsrv -S xinetd to start the service
  

Revision as of 23:09, 13 September 2018

In order to use the Uzebox to telnet into your Windows machine, you need a decent telnet server installed.

This page details how to install and run the Cygwin's Telnet server as a service on your PC.

  • Download Cygwin installer: [1] (x64 or 32-bit) then run setup and install the following additional components:
    • Caterory Admin-> Cygrunsrv
    • Caterory Net-> Inetutils-server, xinetd, tcp_wrappers
  • As an administrator create a new user named "cyg_server" with admin previledges and assign it a password
  • Add c:\cygwin\bin to your system PATH variable
  • Edit c:\cygwin\etc\xinetd.d\telnet and set "disable=no"
  • Run the Cygwin console as an administrator (important):
    • Run: xinetd-config and follow the steps to set xinetd as a service. Keep cyg_Server as user and enter the password.
    • Run: cygrunsrv -S xinetd to start the service

If you get an error like "cygrunsrv: Error starting a service: StartService: Win32 error 1069: The service did not start due to a logon failure.", open the services management console, locate CYGWIN xinetd, right-click properties, Logon and reenter the password. Then restart the service.

Source: [2]