Cannot Connect to 7i76E
27 Nov 2018 02:49 #121422
by Torq_Shep
Cannot Connect to 7i76E was created by Torq_Shep
I feel a bit like an idiot right now. I got my 7i76E all wired up in an older IH6000 mill that was originally using parallel port and mach3. I did a Linux Mint install following these instructions (Post 3:)
Complete Linux Mint 18.1 LinuxCNC
.
On the board I have the W3 jumper in the up position for 10.10.10.10 IP address. I modified my /etc/network stuff according to the mesaUS notes mesaus.com/info/7i76e.txt . My ethernet is enp4s0 so I set it up using that instead of eth0 or eth1.
I cannot ping the board but I can ping my source (10.10.10.1).
Output of: ip a
When trying to start linuxCNC I get:
What am I doing wrong? This is driving me nuts.
On the board I have the W3 jumper in the up position for 10.10.10.10 IP address. I modified my /etc/network stuff according to the mesaUS notes mesaus.com/info/7i76e.txt . My ethernet is enp4s0 so I set it up using that instead of eth0 or eth1.
I cannot ping the board but I can ping my source (10.10.10.1).
Output of: ip a
2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 78:45:c4:2f:2a:bf brd ff:ff:ff:ff:ff:ff
inet 10.10.10.1/24 brd 10.10.10.255 scope global enp4s0
valid_lft forever preferred_lft forever
inet6 fe80::7a45:c4ff:fe2f:2abf/64 scope link
valid_lft forever preferred_lft forever
When trying to start linuxCNC I get:
Error report created by /usr/lib/tcltk/linuxcnc/show_errors.tcl:
Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.8.0~pre1
Machine configuration directory is '/home/ihcnc/linuxcnc/configs/my_LinuxCNC_machine'
Machine configuration file is 'my_LinuxCNC_machine.ini'
INIFILE=/home/ihcnc/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=XYZA
KINEMATICS=trivkins coordinates=XYZA
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
Found file(REL): ./my_LinuxCNC_machine.hal
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
Killing task linuxcncsvr, PID=4597
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: ERROR: 10.10.10.10: Could not retrieve mac address
hm2: unloading
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Debug file information:
Note: Using LXRT realtime
iptables: No chain/target/match by that name.
hm2_eth: rtapi_app_main: Resource temporarily unavailable (-11)
./my_LinuxCNC_machine.hal:8: waitpid failed /usr/bin/rtapi_app hm2_eth
./my_LinuxCNC_machine.hal:8: /usr/bin/rtapi_app exited without becoming ready
./my_LinuxCNC_machine.hal:8: insmod for hm2_eth failed, returned -1
4597
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Note: Using LXRT realtime
What am I doing wrong? This is driving me nuts.
Please Log in or Create an account to join the conversation.
27 Nov 2018 03:04 #121426
by PCW
Replied by PCW on topic Cannot Connect to 7i76E
Did you power cycle the 7I76E after changing W3?
Please Log in or Create an account to join the conversation.
27 Nov 2018 03:09 #121427
by Torq_Shep
Replied by Torq_Shep on topic Cannot Connect to 7i76E
Yeah. Multiple times. I have lights on the board and only have power to P3
Please Log in or Create an account to join the conversation.
27 Nov 2018 03:10 #121428
by PCW
Replied by PCW on topic Cannot Connect to 7i76E
which lights are on? do you have link lights (on the RJ45)
Please Log in or Create an account to join the conversation.
27 Nov 2018 03:16 #121429
by Torq_Shep
Replied by Torq_Shep on topic Cannot Connect to 7i76E
The amber one behind P3 and RJ45. Once I try and ping it at 10.10.10.10 I get the first two green ones behind RJ45 and the third one blinks. I can't read the board writing because of where it is mounted in the control panel case.
Please Log in or Create an account to join the conversation.
27 Nov 2018 03:19 #121430
by PCW
Replied by PCW on topic Cannot Connect to 7i76E
OK if the four green LEDs count up when you ping the card, its receiving data
so maybe some kind of host setup or MAC issue
whats does ping 10.10.10.10" report?
so maybe some kind of host setup or MAC issue
whats does ping 10.10.10.10" report?
Please Log in or Create an account to join the conversation.
27 Nov 2018 03:20 - 27 Nov 2018 03:21 #121431
by Torq_Shep
Replied by Torq_Shep on topic Cannot Connect to 7i76E
From 10.10.10.1 icmp_seq=447 Destination Host Unreachable
Yes I left it pinging for 447 seconds...
Yes I left it pinging for 447 seconds...
Last edit: 27 Nov 2018 03:21 by Torq_Shep.
Please Log in or Create an account to join the conversation.
27 Nov 2018 03:25 #121432
by PCW
Replied by PCW on topic Cannot Connect to 7i76E
Strange.
a couple things to try are:
1. A different cat 5 cable
2. Disable IPV6 on enp4s0
a couple things to try are:
1. A different cat 5 cable
2. Disable IPV6 on enp4s0
The following user(s) said Thank You: crazycajun
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1440
27 Nov 2018 03:32 #121433
by Todd Zuercher
You say you followed the instructions on post 3. I think those are the instructions for an RTAI install. That won't work for a Mesa Ethernet card. You need a Preemt-RT install (post 1 or 2.)
Replied by Todd Zuercher on topic Cannot Connect to 7i76E
I feel a bit like an idiot right now. I got my 7i76E all wired up in an older IH6000 mill that was originally using parallel port and mach3. I did a Linux Mint install following these instructions (Post 3:) Complete Linux Mint 18.1 LinuxCNC .
You say you followed the instructions on post 3. I think those are the instructions for an RTAI install. That won't work for a Mesa Ethernet card. You need a Preemt-RT install (post 1 or 2.)
The following user(s) said Thank You: Mike_Eitel
Please Log in or Create an account to join the conversation.
27 Nov 2018 03:35 #121434
by Torq_Shep
Replied by Torq_Shep on topic Cannot Connect to 7i76E
Neither of these worked. I did:
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
Please Log in or Create an account to join the conversation.
Time to create page: 0.099 seconds