linuxcncrsh problems

More
03 Jul 2014 06:29 #48404 by mungkie
linuxcncrsh problems was created by mungkie
I am trying to get linuxcncrsh running but am having problems.

I am running sim and using the standard axis sim config but have added a postgui hal file which runs linuxcncrsh


So the axis .ini file has the line 'POSTGUI_HALFILE = cust.hal'

and the file cust.hal has he following command in it:

loadusr linuxcncrsh --connectpw password --enablepw password

so I run linuxcnc (in rip environment) and axis loads and in a terminal I run the following command:
telnet 127.0.0.1 5005
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
hello password x 1.0

But there is no reply and the terminal that linuxcnc was run in shows the following errors:
./scripts/linuxcnc configs/sim/axis/rsh.ini &
[2] 12846
mung@ubuntu:~/pi3d1.2/unified-build-candidate-3$ LINUXCNC - 2.6.0~pre
Machine configuration directory is '/home/mung/pi3d1.2/unified-build-candidate-3/configs/sim/axis'
Machine configuration file is 'rsh.ini'
Starting LinuxCNC...
io started
halcmd loadusr io started
task pid=12944
emcTaskInit: using builtin interpreter
libnml/cms/tcp_srv.cc 688: received_serial_number (1751477356) does not equal expected serial number.(0)
libnml/cms/tcp_srv.cc 1494: Unrecognized request type received.(1864396897)


Anyone have any ideas whats going on, is this a known issue, have I made a stupid mistake in my config, or should I start checking the libnml/cms/tcp_srv.cc file?

Please Log in or Create an account to join the conversation.

More
03 Jul 2014 06:44 #48406 by mungkie
Replied by mungkie on topic linuxcncrsh problems
oops, I am obviously going crazy, just realised I was using the wrong port (5005 instead of 5007). Too late to think straight I think its time to get some sleep.

:blush:

Please Log in or Create an account to join the conversation.

Time to create page: 0.062 seconds
Powered by Kunena Forum