× Forum Header

Newbie trying to connect to 7i96S for months without success.

More
11 Oct 2022 16:12 #253968 by santy
Hello.
i have been trying to connect to 7i96s board via ethernet, but can't seem to configure ethernet properly anytime.
already tried what some guides tell me to do with 10.10.10.10 and also with 192.168(....), but no connection established. anytime i try to open my config it gives me this error:
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/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.8.4-1-gb7824717b
Machine configuration directory is '/home/santiago/linuxcnc/configs/my_LinuxCNC_machine'
Machine configuration file is 'my_LinuxCNC_machine.ini'
INIFILE=/home/santiago/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=halui
DISPLAY=gmoccapy
COORDINATES=XYZ
KINEMATICS=trivkins coordinates=XYZ
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
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: ERROR: Could not retrieve hardware address (MAC) of 10.10.10.10: Resource temporarily unavailable
hm2: unloading
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allow
Note: Using POSIX realtime
hm2_eth: rtapi_app_main: Resource temporarily unavailable (-11)
./my_LinuxCNC_machine.hal:11: waitpid failed /usr/bin/rtapi_app hm2_eth
./my_LinuxCNC_machine.hal:11: /usr/bin/rtapi_app exited without becoming ready
./my_LinuxCNC_machine.hal:11: insmod for hm2_eth failed, returned -1
2296
Stopping realtime threads
Unloading hal components
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allow
Note: Using POSIX realtime



-----------------------------------------------------------------------
Info report created by linuxcnc_info:
The file:    /tmp/linuxcnc_info.txt
can be posted to a forum or a web site like:
     http://pastebin.com
in order to provide information about the linuxcnc
system and configuration.

                Date: Tue 11 Oct 2022 11:10:48 AM CDT
            UTC Date: Tue 11 Oct 2022 04:10:48 PM UTC
        this program: /usr/bin/linuxcnc_info
              uptime: 11:10:48 up 17:20, 1 user, load average: 0.71, 0.65, 0.42
     lsb_release -sa: Debian Debian GNU/Linux 10 (buster) 10 buster
      which linuxcnc: /usr/bin/linuxcnc
                 pwd: /home/santiago/linuxcnc/configs/my_LinuxCNC_machine
                USER: santiago
             LOGNAME: santiago
                HOME: /home/santiago
              EDITOR: 
              VISUAL: 
            LANGUAGE: 
                TERM: dumb
           COLORTERM: 
             DISPLAY: :0.0
             DESKTOP: lightdm-xsession
        display size: 1366x768 pixels (361x203 millimeters)
                PATH: /usr/bin:/home/santiago/linuxcnc/configs/my_LinuxCNC_machine/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

uname items:
         nodename -n: debian
      kernel-name -s: Linux
      kernel-vers -v: #1 SMP PREEMPT RT Debian 4.19.249-2 (2022-06-30)
          machine -m: x86_64
        processor -p: unknown
         platform -i: unknown
      oper system -o: GNU/Linux

/proc items:
             cmdline: BOOT_IMAGE=/boot/vmlinuz-4.19.0-21-rt-amd64 root=UUID=1073611f-6daa-44db-84b6-17f98c586813 ro quiet
          model name: Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz
               cores: 4
             cpu MHz: 1199.739
             parport: 
              serial: 

Versions:
                 gcc: gcc (Debian 8.3.0-6) 8.3.0
              python: Python 2.7.16
                 git: not_in_PATH
          git commit: NA
                 tcl: 8.6
                  tk: 8.6
               glade: not_in_PATH
          glade-gtk2: not_in_PATH

linuxcnc_var all:

     LINUXCNCVERSION: 2.8.4-1-gb7824717b
LINUXCNC_AUX_GLADEVCP: /usr/share/linuxcnc/aux_gladevcp
LINUXCNC_AUX_EXAMPLES: /usr/share/linuxcnc/aux_examples
            REALTIME: /etc/init.d/realtime
                 RTS: uspace
          HALLIB_DIR: /usr/share/linuxcnc/hallib

dpkg -l '*linuxcnc*':
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                Version              Architecture Description
+++-===================-====================-============-=====================================================================
un  linuxcnc            <none>               <none>       (no description available)
un  linuxcnc-dev        <none>               <none>       (no description available)
un  linuxcnc-doc        <none>               <none>       (no description available)
ii  linuxcnc-doc-en     1:2.8.4.1.gb7824717b all          motion controller for CNC machines and robots (English documentation)
ii  linuxcnc-doc-es     1:2.8.4.1.gb7824717b all          controlador de movimiento para máquinas CNC y robots (Español).
ii  linuxcnc-doc-fr     1:2.8.4.1.gb7824717b all          motion controller for CNC machines and robots (French documentation)
un  linuxcnc-sim        <none>               <none>       (no description available)
un  linuxcnc-sim-dev    <none>               <none>       (no description available)
ii  linuxcnc-uspace     1:2.8.4.1.gb7824717b amd64        motion controller for CNC machines and robots
ii  linuxcnc-uspace-dev 1:2.8.4.1.gb7824717b amd64        PC based motion controller for real-time Linux

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
11 Oct 2022 17:11 #253970 by tommylight
Why are you trying to use a parallel port config with Mesa 7i96S?
And why did you use "sudo" where you were not supposed to?
:)
Start with a new install, then follow this:
forum.linuxcnc.org/27-driver-boards/3559...ethernet-mesa-boards

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

More
11 Oct 2022 18:49 #253977 by santy
Yes but with a new install ethernet is not yet configured with a static ip, so im having quite some trouble.
here are some pictures of some commands . im using eeprom connection so i thought a 10.10.10.10 ip would work.
 
Attachments:

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

More
11 Oct 2022 22:55 #253986 by PCW
It appears you have not set a static IP address
using the network manager GUI

tommylights post gives the instructions for this

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

More
25 Oct 2022 22:05 #255064 by smc.collins

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

  • rodw
  • rodw's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
28 Oct 2022 21:01 #255336 by rodw

www.itzgeek.com/how-tos/linux/debian/how...-9-ubuntu-16-04.html

newer versions of debian FORCE IPV6

Thats not right. I have had no trouble setting a static ip address 10.10.10.1 on kernels up to  V 6.1 the bleeding edge version thats not even in Debian 12. The documentation covers it nicely. (if you know where to look)
linuxcnc.org/docs/devel/html/man/man9/hm...FACE%20CONFIGURATION

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

More
28 Oct 2022 23:39 - 28 Oct 2022 23:40 #255359 by smc.collins
If there is a struggle to find information, then something needs to change. Documentation needs updating or some form of re-organization. I am going to work on it this winter once I have some free time. Also the introduction of Network Manager in Dec 2019 does now FORCE IPV6, so watch out for that, it's driver specific from what I have seen.
Last edit: 28 Oct 2022 23:40 by smc.collins.

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

More
01 Nov 2022 10:31 #255645 by neerajbagi
From my limited research, I believe 7i96s require LinuxCNC 2.9 to run properly.

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

More
01 Nov 2022 18:28 - 01 Nov 2022 18:36 #255679 by JPL

From my limited research, I believe 7i96s require LinuxCNC 2.9 to run properly.
 

Not anymore, support for 7i96S have been added to 2.8.4
see here: forum.linuxcnc.org/27-driver-boards/4724...-or-get-7i96s#255476

 

Not anymore, support for 7i96S have been added to 2.8.4
see here: forum.linuxcnc.org/27-driver-boards/4724...-or-get-7i96s#255476

The release page for 2.8.4  also mention in the changelog   ( linuxcnc.org/2022/09/20/LinuxCNC-2.8.4/)
  • Add driver support for Mesa 7i96S
  • Add pncconf support fo Mesa 7i96S


 
Last edit: 01 Nov 2022 18:36 by JPL.

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

Time to create page: 0.074 seconds
Powered by Kunena Forum