Re: [Emc-users] Running EMC2 from another, local app
Thanks Eric, That did the trick. And my apologies to the group for posting the same question twice. I got nervous first thing in the morning when I did not see my post from the night before. Glenn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric H. Johnson Sent: Tuesday, March 11, 2008 8:58 AM To: 'Enhanced Machine Controller (EMC)' Subject: Re: [Emc-users] Running EMC2 from another, local app Glenn, Do you have the following in one of the hal files for the configuration you are running: loadusr emcrsh If you do not include that, then you will get the indicated error since the application to respond to your telnet session is not running. I don't recall whether the latest thing I have run is v2.2.2 or v2.2.3, but I just downloaded the latest version a couple of weeks back, and it was working then. I will try it tonight and make sure it is working. I also know that Chris is about to release a new version, but I have not seen that it has actually been released yet. I need to add some online documentation for that utility, it is still mainly within the c source files. Regards, Eric Awhile back, EMC2 v2.1.1, I was successful in commanding EMC2 from a terminal window using commands such as 'telnet localhost 5007' and 'axis-remote'. 'Telnet' opens a variety of commands to EMC2 (through emcrsh) and 'axis-remote' allows shutdown (and a just few others). Now, with v2.2.3, telnet is not working. Here is what I get (I first start 'emc' in another terminal): ~$ telnet localhost 5007 Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused ~$ I have searched wiki and linuxcnc for 'telnet' and 'emcrsh', but to no avail. Also, I thought, AXIS communicates with EMC2 via telnet? Any help is appreciated. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Running EMC2 from another, local app
At 01:15 PM 3/11/2008, you wrote: This most certainly is not an EMC problem, but a network setup problem. Chances are you don't have telnet server running on the EMC machine. Telnet is a pretty deprecated service, and may not be enabled by default anymore. Can you use ssh? ssh is served by the sshd daemon, I forget what the name of the telnet daemon is (inetd, xinetd ?) telnet is also wide open to the network, passing user names and passwords in the clear. ssh is a much better application, as is sftp for transferring files. Both encrypt the user name and password. That being said, on some machines, the telnet deamon is in.telnetd and on others it's just telnetd. The telnet deamon runs under either inetd or xinetd If it's xinetd, got to /etc/xinetd.d, vi the telnet startup file and set disable = no. If it's running under inetd, vi the /etc/inetd.conf file and delete the comment in front of the in.telnetd line. In either case, you have to restart inetd/xinetd by typing pkill -HUP inet on the command line. Depending on which account you are doing this from, you may have to use sudo in front of all these commands. On the EMC machine, type : telnet localhost If you get the same refused message, the machine is not serving telnet requests, and you'll have to enable the server. I don't know enough about the way you set up your system to advise further. Jon Mark - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Running EMC2 from another, local app
Hi all, Awhile back, EMC2 v2.1.1, I was successful in commanding EMC2 from a terminal window using commands such as 'telnet localhost 5007' and 'axis-remote'. 'Telnet' opens a variety of commands to EMC2 (through emcrsh) and 'axis-remote' allows shutdown (and a just few others). Now, with v2.2.3, telnet is not working. Here is what I get (I first start 'emc' in another terminal): ~$ telnet localhost 5007 Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused ~$ I have searched wiki and linuxcnc for 'telnet' and 'emcrsh', but to no avail. Also, I thought, AXIS communicates with EMC2 via telnet? Any help is appreciated. Thanks, Glenn - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Running EMC2 from another, local app
Glenn, Do you have the following in one of the hal files for the configuration you are running: loadusr emcrsh If you do not include that, then you will get the indicated error since the application to respond to your telnet session is not running. I don't recall whether the latest thing I have run is v2.2.2 or v2.2.3, but I just downloaded the latest version a couple of weeks back, and it was working then. I will try it tonight and make sure it is working. I also know that Chris is about to release a new version, but I have not seen that it has actually been released yet. I need to add some online documentation for that utility, it is still mainly within the c source files. Regards, Eric Awhile back, EMC2 v2.1.1, I was successful in commanding EMC2 from a terminal window using commands such as 'telnet localhost 5007' and 'axis-remote'. 'Telnet' opens a variety of commands to EMC2 (through emcrsh) and 'axis-remote' allows shutdown (and a just few others). Now, with v2.2.3, telnet is not working. Here is what I get (I first start 'emc' in another terminal): ~$ telnet localhost 5007 Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused ~$ I have searched wiki and linuxcnc for 'telnet' and 'emcrsh', but to no avail. Also, I thought, AXIS communicates with EMC2 via telnet? Any help is appreciated. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Running EMC2 from another, local app
Glenn R. Edwards wrote: Hi all, Awhile back, EMC2 v2.1.1, I was successful in commanding EMC2 from a terminal window using commands such as 'telnet localhost 5007' and 'axis-remote'. 'Telnet' opens a variety of commands to EMC2 (through emcrsh) and 'axis-remote' allows shutdown (and a just few others). Now, with v2.2.3, telnet is not working. Here is what I get (I first start 'emc' in another terminal): ~$ telnet localhost 5007 Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused ~$ This most certainly is not an EMC problem, but a network setup problem. Chances are you don't have telnet server running on the EMC machine. Telnet is a pretty deprecated service, and may not be enabled by default anymore. Can you use ssh? ssh is served by the sshd daemon, I forget what the name of the telnet daemon is (inetd, xinetd ?) On the EMC machine, type : telnet localhost If you get the same refused message, the machine is not serving telnet requests, and you'll have to enable the server. I don't know enough about the way you set up your system to advise further. Jon - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Running EMC2 from another, local app
Jon, Don't confuse the telnet daemon with the telnet tool. The tool lets you specify any port to connect to using tcp. So. telnet localhost 80 will connect the http server. telnet localhost 25 will connect to the mail server. Ken - Original Message - From: Jon Elson [EMAIL PROTECTED] To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Sent: Tuesday, March 11, 2008 1:15 PM Subject: Re: [Emc-users] Running EMC2 from another, local app Glenn R. Edwards wrote: Hi all, Awhile back, EMC2 v2.1.1, I was successful in commanding EMC2 from a terminal window using commands such as 'telnet localhost 5007' and 'axis-remote'. 'Telnet' opens a variety of commands to EMC2 (through emcrsh) and 'axis-remote' allows shutdown (and a just few others). Now, with v2.2.3, telnet is not working. Here is what I get (I first start 'emc' in another terminal): ~$ telnet localhost 5007 Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused ~$ This most certainly is not an EMC problem, but a network setup problem. Chances are you don't have telnet server running on the EMC machine. Telnet is a pretty deprecated service, and may not be enabled by default anymore. Can you use ssh? ssh is served by the sshd daemon, I forget what the name of the telnet daemon is (inetd, xinetd ?) On the EMC machine, type : telnet localhost If you get the same refused message, the machine is not serving telnet requests, and you'll have to enable the server. I don't know enough about the way you set up your system to advise further. Jon - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users