> if You try to use linuxcncrsh after a shutdown command my user
> is unable to reconnet to the machine that itbring shutd
> own command ..... for solve these problem I shutdown the PC
> of machine (whit ssh) and make an wol command to power on again
> the machine....


This is probably not a joints_axesNN-specific problem.

It seems you have a startup mechanism for linuxcnc on the host
that works at power-up.  (maybe rc.local? you didn't specify)

Whatever mechanism you use to start could be scripted to start 
remotely.

Example (joints_axes13, run-in-place, lhost==u41 is remote):

Sessions in chronological order:
#-------------------------------------------------------
#Terminal_1
# cat the startup script:

$ ssh lhost cat /home/git/linuxcnc-dev/lstartup.sh 
#!/bin/bash
# RIP (Run-In-Place) example

LHOME=/home/git/linuxcnc-dev           # my git directory
INI=~/linuxcnc/configs/ltest/ltest.ini # linuxcncrsh ini

cd $LHOME
source scripts/rip-environment

echo "Starting linuxcnc with $INI"
linuxcnc $INI
echo "Finished linuxcnc with $INI"

# run the startup script
$ ssh lhost /home/git/linuxcnc-dev/lstartup.sh
Starting linuxcnc with /home/dgarrett/linuxcnc/configs/ltest/ltest.ini

#-------------------------------------------------------
#Terminal_2
$ telnet lhost 5007
Trying 192.168.0.41...
Connected to u41.
Escape character is '^]'.
hello EMC me 1
HELLO ACK EMCNETSVR 1.1
set enable EMCTOO 
set enable EMCTOO
get enable
get enable
ENABLE ON
shutdown
shutdown
Connection closed by foreign host.

#-------------------------------------------------------
#Terminal_1
Finished linuxcnc with /home/dgarrett/linuxcnc/configs/ltest/ltest.ini
$ 
$ # start again:
$ ssh lhost /home/git/linuxcnc-dev/lstartup.sh
Starting linuxcnc with /home/dgarrett/linuxcnc/configs/ltest/ltest.ini

#-------------------------------------------------------
#Terminal_2
$ telnet lhost 5007
Trying 192.168.0.41...
Connected to u41.
Escape character is '^]'.
hello EMC me 1
HELLO ACK EMCNETSVR 1.1
set enable EMCTOO
set enable EMCTOO
get enable
get enable
ENABLE ON

#-------------------------------------------------------
Notes:
1) In the example, ssh has been configured for automatic login

-- 
Dewey Garrett


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to