Linuxcnc will not connect to MESA 7i76e IP Address
- RMJ fabrication
- Offline
- Junior Member
Less
More
- Posts: 30
- Thank you received: 2
25 May 2024 22:10 #301445
by RMJ fabrication
Hey everyone! This is my first post and first time installing and configuring Linuxcnc with a Plasma Table that has four Clearpath servo motors and a MESA 7i76e and THCAD-10. I have reinstalled multiple different versions of Linuxcnc trying to solve my problems. So far the 2.7 stretch version of Linuxcnc connects to the 7i76e just fine and I am able to jog the motors but this version missing the slave axis functions I need for my machine's gantry with two motors. Every single later version of Linuxcnc 2.8 and 2.9 give me network configuration problems but has the slave axis(tandem axis) functions my machine needs. I decided to go with the newest version of Linuxcnc 2.9.2 I went through the pncconf and made a base configuration with IP address 192.168.1.121 now when I open the configuration I get stuck on getting Linuxcnc to start due to this error:
Print file information: RUN_IN_PLACE=nO
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/ust/bin
LINUXCNC_TCL_DIR=/ust/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/ust/lib/linuxcnc/modules
LINUXCNC CONFIG DIR=
LINUXCNC_LANG_DIR=/usI/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HAL CMD=halcmd
LINUXCNC_EMCSH=/ust/bin/wish8.6
LINUXCNC - 2.9.2
Machine configuration directory is '/home/rolando/linuxcnc/configs/my_LinuxCNC_machine'
Machine configuration file is "my_LinuxCNG_machine ini"
INIFILE=/home/rolando/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=halui
DISPLAY-gmoccapy
COORDINATES=XYYZ
KINEMATICS=trivkins coordinates=XYYZ kinstype=B0TH
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvi
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Found file(REL): -/my_LinuxCNC_machine.hal
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
identityKinematicsSetup: coordinates:XYYZ
Joint 0 ==> Axis X
Jount 1==> AKIS Y
Joint 2 ==> Axis Y
Joint 3 ==> Axis Z
hm2: loading Mesa HostMot2 driver version a.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: ERROR: Could not retrieve hardware address (MAC) of 192.168.1.121: Connection refused
hm2: unloading
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Debug file information:
Note: Using POSIX realtime hm2_eth: Itapi_app_main: Connection refused (-111)
/my_LinuxCNC_machine.hal:9: waitpid failed /ust/bin/tapi_app hm2_eth
_/my_LinuxCNC_machine.hal:9: /ust/bin/rtapi_app exited without becoming ready
-/my_LinuxCNC_machine.hal:9: insmod for hm2_eth failed, returned -1
1718
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
Print file information: RUN_IN_PLACE=nO
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/ust/bin
LINUXCNC_TCL_DIR=/ust/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/ust/lib/linuxcnc/modules
LINUXCNC CONFIG DIR=
LINUXCNC_LANG_DIR=/usI/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HAL CMD=halcmd
LINUXCNC_EMCSH=/ust/bin/wish8.6
LINUXCNC - 2.9.2
Machine configuration directory is '/home/rolando/linuxcnc/configs/my_LinuxCNC_machine'
Machine configuration file is "my_LinuxCNG_machine ini"
INIFILE=/home/rolando/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=halui
DISPLAY-gmoccapy
COORDINATES=XYYZ
KINEMATICS=trivkins coordinates=XYYZ kinstype=B0TH
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvi
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Found file(REL): -/my_LinuxCNC_machine.hal
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
identityKinematicsSetup: coordinates:XYYZ
Joint 0 ==> Axis X
Jount 1==> AKIS Y
Joint 2 ==> Axis Y
Joint 3 ==> Axis Z
hm2: loading Mesa HostMot2 driver version a.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: ERROR: Could not retrieve hardware address (MAC) of 192.168.1.121: Connection refused
hm2: unloading
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Debug file information:
Note: Using POSIX realtime hm2_eth: Itapi_app_main: Connection refused (-111)
/my_LinuxCNC_machine.hal:9: waitpid failed /ust/bin/tapi_app hm2_eth
_/my_LinuxCNC_machine.hal:9: /ust/bin/rtapi_app exited without becoming ready
-/my_LinuxCNC_machine.hal:9: insmod for hm2_eth failed, returned -1
1718
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6430
25 May 2024 22:26 #301448
by tommylight
So how is the Mesa wired to the PC? It should be directly wired, not switch or hub or router.
What is the jumper settings on Mesa regarding the IP address?
Did you check the manual?
Replied by tommylight on topic Linuxcnc will not connect to MESA 7i76e IP Address
I would guess the Mesa is wired to a network switch and there is something else there with the same IP address, as i have never ever seen a "connection refused" from a Mesa board.hm2_eth: ERROR: Could not retrieve hardware address (MAC) of 192.168.1.121: Connection refused
Debug file information:
Note: Using POSIX realtime hm2_eth: Itapi_app_main: Connection refused (-111)
So how is the Mesa wired to the PC? It should be directly wired, not switch or hub or router.
What is the jumper settings on Mesa regarding the IP address?
Did you check the manual?
Please Log in or Create an account to join the conversation.
- RMJ fabrication
- Offline
- Junior Member
Less
More
- Posts: 30
- Thank you received: 2
25 May 2024 22:45 #301449
by RMJ fabrication
Replied by RMJ fabrication on topic Linuxcnc will not connect to MESA 7i76e IP Address
I am not using a network switch and the jumpers are at default position. This is how I have the board connected in the attached.
Please Log in or Create an account to join the conversation.
25 May 2024 23:02 #301450
by cornholio
Replied by cornholio on topic Linuxcnc will not connect to MESA 7i76e IP Address
What's the IP address of the computer and is the ethernet cable known to be good ?
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6430
25 May 2024 23:06 #301451
by tommylight
Replied by tommylight on topic Linuxcnc will not connect to MESA 7i76e IP Address
Probably the same address on the PC, so that might return "connection refused".
Change the 121 at the end to 100.
Change the 121 at the end to 100.
Please Log in or Create an account to join the conversation.
- RMJ fabrication
- Offline
- Junior Member
Less
More
- Posts: 30
- Thank you received: 2
25 May 2024 23:49 #301454
by RMJ fabrication
Replied by RMJ fabrication on topic Linuxcnc will not connect to MESA 7i76e IP Address
I don't know much about networking but when I type "hostname -I"into the terminal to check my computer's IP address I get 192.168.1.121 so they are the same I see now.
Please Log in or Create an account to join the conversation.
26 May 2024 07:16 #301462
by cornholio
Replied by cornholio on topic Linuxcnc will not connect to MESA 7i76e IP Address
Maybe the Mesa card manuals (if anyone reads them) needs to state that the computer & Mesa card must have different addresses. Or something along these lines. It keeps coming up from time to time.
Please Log in or Create an account to join the conversation.
26 May 2024 12:52 #301474
by rodw
Replied by rodw on topic Linuxcnc will not connect to MESA 7i76e IP Address
There was a time you had to know about networks but now its all dumbed down via DHCP.
Sounds like you need to watch my video wich goes through this about 16 minutes in
Sounds like you need to watch my video wich goes through this about 16 minutes in
Please Log in or Create an account to join the conversation.
- RMJ fabrication
- Offline
- Junior Member
Less
More
- Posts: 30
- Thank you received: 2
26 May 2024 17:02 #301505
by RMJ fabrication
Replied by RMJ fabrication on topic Linuxcnc will not connect to MESA 7i76e IP Address
Okay thank you all this info helps a lot. But simply moving the w3 from down to up will not change the board address to 10.10.10.10 alone. Do I basically have to do step 3 like in this post here to change the board address to 10.10.10.10? forum.linuxcnc.org/12-milling/44860-sett...on-a-mesa-card-7i76e
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6430
26 May 2024 17:38 #301508
by tommylight
Replied by tommylight on topic Linuxcnc will not connect to MESA 7i76e IP Address
Yes it will, simply changing the jumper will change the board IP, but that is not your issue, you have to change the PC address as you have already done once when you set the IP to 192.168.1.121, but this time set the last part to anything but 121, so 10 or 100 or 200 will work.
What howto did you use to change the PC IP address? The one you linked is not useful due to many other stuff discussed there.
What howto did you use to change the PC IP address? The one you linked is not useful due to many other stuff discussed there.
Please Log in or Create an account to join the conversation.
Time to create page: 0.082 seconds