Cygwin: How to setup inetd

February 14, 2010 · Posted in Cygwin 

(You have to have administrative privileges.)

Make sure you have set system PATH to cygwin binary directory: “My Computer” (right click) –> “properties” –> “Advanced” tab –> “Environment Variables” button on the bottom right above the “OK” button.

Register your  cygwin inetd service to Windows’ service:

$ /usr/sbin/inetd --install-as-service

(The dollar sign above is a prompt)

Then start the inetd service:

$ net start inetd

or

$ cygrunsrv -S inetd

Comments

2 Responses to “Cygwin: How to setup inetd”

  1. Keshav on March 20th, 2016 2:11 pm

    Getting error:

    $ /usr/sbin/inetd –install-as-service
    /usr/sbin/inetd: unrecognized option ‘–install-as-service’
    Try ‘inetd –help’ or ‘inetd –usage’ for more information.

    Here’s my cygwin release:

    $ uname -a
    CYGWIN_NT-6.3 HOME 2.4.1(0.293/5/3) 2016-01-24 11:26 x86_64 Cygwin

  2. Keshav on March 20th, 2016 2:12 pm

    Getting error:

    $ /usr/sbin/inetd –install-as-service
    /usr/sbin/inetd: unrecognized option \’–install-as-service\’
    Try \’inetd –help\’ or \’inetd –usage\’ for more information.

    Here\’s my cygwin release:

    $ uname -a
    CYGWIN_NT-6.3 HOME 2.4.1(0.293/5/3) 2016-01-24 11:26 x86_64 Cygwin

Leave a Reply




Security Code: