7i97 no ethernet connection

More
30 Nov 2021 01:53 #227970 by Arnold
Replied by Arnold on topic 7i97 no ethernet connection
4? See if ethtool is installed
arnold@desktop-cnclan:~$ sudo ethtool --version
[sudo] password for arnold: 
sudo: ethtool: command not found
arnold@desktop-cnclan:~$

not installed, so I did, but first update
arnold@desktop-cnclan:~$ sudo apt-get update
[sudo] password for arnold: 
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://deb.debian.org/debian buster InRelease      
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Hit:4 http://www.linuxcnc.org buster InRelease     
Reading package lists... Done
arnold@desktop-cnclan:~$ sudo apt-get install ethtool
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  ethtool
0 upgraded, 1 newly installed, 0 to remove and 55 not upgraded.
Need to get 121 kB of archives.
After this operation, 402 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main amd64 ethtool amd64 1:4.19-1 [121 kB]
Fetched 121 kB in 0s (403 kB/s)   
Selecting previously unselected package ethtool.
(Reading database ... 86074 files and directories currently installed.)
Preparing to unpack .../ethtool_1%3a4.19-1_amd64.deb ...
Unpacking ethtool (1:4.19-1) ...
Setting up ethtool (1:4.19-1) ...
Processing triggers for man-db (2.8.5-2) ...
arnold@desktop-cnclan:~$

So I installed athtool....
To see if it is ok=
arnold@desktop-cnclan:~$ sudo ethtool --version
[sudo] password for arnold: 
ethtool version 4.19
arnold@desktop-cnclan:~$

PCW recommendation-->Used it on eno1 (my interface)
arnold@desktop-cnclan:~$ sudo ethtool -C eno1 rx-usecs 0
[sudo] password for arnold: 
arnold@desktop-cnclan:~$
arnold@desktop-cnclan:~$ ping 192.168.1.121
PING 192.168.1.121 (192.168.1.121) 56(84) bytes of data.
From 10.10.10.11 icmp_seq=1 Destination Host Unreachable
From 10.10.10.11 icmp_seq=2 Destination Host Unreachable
From 10.10.10.11 icmp_seq=3 Destination Host Unreachable
From 10.10.10.11 icmp_seq=4 Destination Host Unreachable
From 10.10.10.11 icmp_seq=5 Destination Host Unreachable
From 10.10.10.11 icmp_seq=6 Destination Host Unreachable
From 10.10.10.11 icmp_seq=8 Destination Host Unreachable
From 10.10.10.11 icmp_seq=9 Destination Host Unreachable
From 10.10.10.11 icmp_seq=11 Destination Host Unreachable
From 10.10.10.11 icmp_seq=14 Destination Host Unreachable
From 10.10.10.11 icmp_seq=15 Destination Host Unreachable
^C
--- 192.168.1.121 ping statistics ---
16 packets transmitted, 0 received, +11 errors, 100% packet loss, time 351ms
pipe 4
arnold@desktop-cnclan:~$

Not working 


 

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

More
30 Nov 2021 02:04 - 30 Nov 2021 02:17 #227971 by Arnold
Replied by Arnold on topic 7i97 no ethernet connection
A bit more of my personal history:
Here the computer is connected to internet, working properly!
arnold@desktop-cnclan:~$ ethtool eno1
bash: ethtool: command not found
arnold@desktop-cnclan:~$ sudo ethtool eno1
[sudo] password for arnold: 
Settings for eno1:
 Supported ports: [ TP ]
 Supported link modes:   10baseT/Half 10baseT/Full 
                         100baseT/Half 100baseT/Full 
                         1000baseT/Full 
 Supported pause frame use: No
 Supports auto-negotiation: Yes
 Supported FEC modes: Not reported
 Advertised link modes:  10baseT/Half 10baseT/Full 
                         100baseT/Half 100baseT/Full 
                         1000baseT/Full 
 Advertised pause frame use: No
 Advertised auto-negotiation: Yes
 Advertised FEC modes: Not reported
 Speed: 1000Mb/s
 Duplex: Full
 Port: Twisted Pair
 PHYAD: 1
 Transceiver: internal
 Auto-negotiation: on
 MDI-X: on (auto)
 Supports Wake-on: pumbg
 Wake-on: g
 Current message level: 0x00000007 (7)
          drv probe link
 Link detected: yes
arnold@desktop-cnclan:~$

But Here I changed the connection to the configured for mesa 7i97

[code][code]arnold@desktop-cnclan:~$ sudo ethtool eno1
[sudo] password for arnold: 
Settings for eno1:
 Supported ports: [ TP ]
 Supported link modes:   10baseT/Half 10baseT/Full 
                         100baseT/Half 100baseT/Full 
                         1000baseT/Full 
 Supported pause frame use: No
 Supports auto-negotiation: Yes
 Supported FEC modes: Not reported
 Advertised link modes:  10baseT/Half 10baseT/Full 
                         100baseT/Half 100baseT/Full 
                         1000baseT/Full 
 Advertised pause frame use: No
 Advertised auto-negotiation: Yes
 Advertised FEC modes: Not reported
 Speed: 100Mb/s
 Duplex: Full
 Port: Twisted Pair
 PHYAD: 1
 Transceiver: internal
 Auto-negotiation: on
 MDI-X: on (auto)
 Supports Wake-on: pumbg
 Wake-on: g
 Current message level: 0x00000007 (7)
          drv probe link
 Link detected: yes
arnold@desktop-cnclan:~$
[/code][/code]
Last edit: 30 Nov 2021 02:17 by Arnold.

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

More
30 Nov 2021 02:21 #227972 by Arnold
Replied by Arnold on topic 7i97 no ethernet connection
When connected to internet speed 1000mbs
When "connected" to the 7i97 through parameters in description, speed 100mbs and not communication possible "ping"

I really need a hand, I have no clue what is happenning

Sorry for the long thread 

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

More
30 Nov 2021 09:25 #227985 by tommylight
The PC side is OK, set the Mesa board to 10.10.10.10.
Read the manual, there is a jumper to be moved.

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

More
30 Nov 2021 11:48 #227994 by Arnold
Replied by Arnold on topic 7i97 no ethernet connection
The jumpers where w16 down, w17 down, manual specify (FIXED 192.168.1.12 as a default).....having no luck with that

I follow tommylight recomendation, so changed to FIXED FROM EEPROM, w10 down, w17 up. Manual said shipped default EEPROM is 10.10.10.10
arnold@desktop-cnclan:~$ ping 10.10.10.10
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.
64 bytes from 10.10.10.10: icmp_seq=1 ttl=64 time=0.516 ms
64 bytes from 10.10.10.10: icmp_seq=2 ttl=64 time=0.271 ms
64 bytes from 10.10.10.10: icmp_seq=3 ttl=64 time=0.270 ms
64 bytes from 10.10.10.10: icmp_seq=4 ttl=64 time=0.294 ms
64 bytes from 10.10.10.10: icmp_seq=5 ttl=64 time=0.272 ms
64 bytes from 10.10.10.10: icmp_seq=6 ttl=64 time=0.264 ms
64 bytes from 10.10.10.10: icmp_seq=7 ttl=64 time=0.276 ms
64 bytes from 10.10.10.10: icmp_seq=8 ttl=64 time=0.296 ms
64 bytes from 10.10.10.10: icmp_seq=9 ttl=64 time=0.269 ms
64 bytes from 10.10.10.10: icmp_seq=10 ttl=64 time=0.273 ms
64 bytes from 10.10.10.10: icmp_seq=11 ttl=64 time=0.288 ms
64 bytes from 10.10.10.10: icmp_seq=12 ttl=64 time=0.268 ms
^C
--- 10.10.10.10 ping statistics ---
12 packets transmitted, 12 received, 0% packet loss, time 195ms
rtt min/avg/max/mdev = 0.264/0.296/0.516/0.068 ms
arnold@desktop-cnclan:~$



But now:
arnold@desktop-cnclan:~$ sudo mesaflash --device 7i97 --readhmid
[sudo] password for arnold:
No 7I97 board found
arnold@desktop-cnclan:~$

What happens?
 

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

More
30 Nov 2021 12:19 #227999 by Arnold
Replied by Arnold on topic 7i97 no ethernet connection
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.2-11-g6a3d0a434
Machine configuration directory is '/home/arnold/linuxcnc/configs/basic7i97_2021-11-26'
Machine configuration file is 'basic7i97.ini'
INIFILE=/home/arnold/linuxcnc/configs/basic7i97_2021-11-26/basic7i97.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=halui
DISPLAY=axis
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
emc/iotask/ioControl.cc 702: can't load tool table.
Starting HAL User Interface program: halui
Found file(REL): ./basic7i97.hal
Shutting down and cleaning up LinuxCNC...
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: 10.10.10.10: INFO: Hardware address (MAC): 00:60:1b:17:00:43
hm2_eth: discovered 7I97
hm2/hm2_7i97.0: Low Level init 0.15
hm2/hm2_7i97.0: Smart Serial Firmware Version 43
hm2/hm2_7i97.0: 51 I/O Pins used:
hm2/hm2_7i97.0:     IO Pin 000 (TB3-04): PWMGen #0, pin Out0 (PWM or Up) (Output)
hm2/hm2_7i97.0:     IO Pin 001 (TB3-08): PWMGen #1, pin Out0 (PWM or Up) (Output)
hm2/hm2_7i97.0:     IO Pin 002 (TB3-12): PWMGen #2, pin Out0 (PWM or Up) (Output)
hm2/hm2_7i97.0:     IO Pin 003 (TB3-16): PWMGen #3, pin Out0 (PWM or Up) (Output)
hm2/hm2_7i97.0:     IO Pin 004 (TB3-20): PWMGen #4, pin Out0 (PWM or Up) (Output)
hm2/hm2_7i97.0:     IO Pin 005 (AN_ENA4): PWMGen #4, pin Not-Enable (Output)
hm2/hm2_7i97.0:     IO Pin 006 (TB3-24): PWMGen #5, pin Out0 (PWM or Up) (Output)
hm2/hm2_7i97.0:     IO Pin 007 (AN_ENA5): PWMGen #5, pin Not-Enable (Output)
hm2/hm2_7i97.0:     IO Pin 008 (AN-ENA0..3): PWMGen #0, pin Not-Enable (Output)
hm2/hm2_7i97.0:     IO Pin 009 (TB1-01/TB1-09): Muxed Encoder #0, pin Muxed A (Input)
hm2/hm2_7i97.0:     IO Pin 010 (TB1-04/TB1-12): Muxed Encoder #0, pin Muxed B (Input)
hm2/hm2_7i97.0:     IO Pin 011 (TB1-07/TB1-15): Muxed Encoder #0, pin Muxed Index (Input)
hm2/hm2_7i97.0:     IO Pin 012 (TB1-17/TB2-01): Muxed Encoder #1, pin Muxed A (Input)
hm2/hm2_7i97.0:     IO Pin 013 (TB1-20/TB2-04): Muxed Encoder #1, pin Muxed B (Input)
hm2/hm2_7i97.0:     IO Pin 014 (TB1-23/TB2-07): Muxed Encoder #1, pin Muxed Index (Input)
hm2/hm2_7i97.0:     IO Pin 015 (TB2-09/TB2-17): Muxed Encoder #2, pin Muxed A (Input)
hm2/hm2_7i97.0:     IO Pin 016 (TB2-12/TB2-20): Muxed Encoder #2, pin Muxed B (Input)
hm2/hm2_7i97.0:     IO Pin 017 (TB2-15/TB2-23): Muxed Encoder #2, pin Muxed Index (Input)
hm2/hm2_7i97.0:     IO Pin 018 (Internal EncMux): Muxed Encoder Select #0, pin Mux Select 0 (Output)
hm2/hm2_7i97.0:     IO Pin 019 (TB5-13/TB5-14): SSR #0, pin Out-00 (Output)
hm2/hm2_7i97.0:     IO Pin 020 (TB5-15/TB5-16): SSR #0, pin Out-01 (Output)
hm2/hm2_7i97.0:     IO Pin 021 (TB5-17/TB5-18): SSR #0, pin Out-02 (Output)
hm2/hm2_7i97.0:     IO Pin 022 (TB5-19/TB5-20): SSR #0, pin Out-03 (Output)
hm2/hm2_7i97.0:     IO Pin 023 (TB5-21/TB5-22): SSR #0, pin Out-04 (Output)
hm2/hm2_7i97.0:     IO Pin 024 (TB5-23/TB5-24): SSR #0, pin Out-05 (Output)
hm2/hm2_7i97.0:     IO Pin 025 (Internal InMux0): SSR #0, pin AC Ref (internal) (Output)
hm2/hm2_7i97.0:     IO Pin 026 (Internal InMux1): InMux Input Mux #0, pin addr0 (Output)
hm2/hm2_7i97.0:     IO Pin 027 (Internal InMux2): InMux Input Mux #0, pin addr1 (Output)
hm2/hm2_7i97.0:     IO Pin 028 (Internal InMux3): InMux Input Mux #0, pin addr2 (Output)
hm2/hm2_7i97.0:     IO Pin 029 (Internal InMuxData): InMux Input Mux #0, pin addr3 (Output)
hm2/hm2_7i97.0:     IO Pin 030 (TB4-15/TB4-16): InMux Input Mux #0, pin muxdata (Input)
hm2/hm2_7i97.0:     IO Pin 031 (TB4-17/TB4-18): IOPort
hm2/hm2_7i97.0:     IO Pin 032 (TB4-17/TB4-18): IOPort
hm2/hm2_7i97.0:     IO Pin 033 (P1-01): IOPort
hm2/hm2_7i97.0:     IO Pin 034 (P1-02): IOPort
hm2/hm2_7i97.0:     IO Pin 035 (P1-03): IOPort
hm2/hm2_7i97.0:     IO Pin 036 (P1-04): IOPort
hm2/hm2_7i97.0:     IO Pin 037 (P1-05): IOPort
hm2/hm2_7i97.0:     IO Pin 038 (P1-06): IOPort
hm2/hm2_7i97.0:     IO Pin 039 (P1-07): IOPort
hm2/hm2_7i97.0:     IO Pin 040 (P1-08): IOPort
hm2/hm2_7i97.0:     IO Pin 041 (P1-09): IOPort
hm2/hm2_7i97.0:     IO Pin 042 (P1-11): IOPort
hm2/hm2_7i97.0:     IO Pin 043 (P1-13): IOPort
hm2/hm2_7i97.0:     IO Pin 044 (P1-15): IOPort
hm2/hm2_7i97.0:     IO Pin 045 (P1-17): IOPort
hm2/hm2_7i97.0:     IO Pin 046 (P1-19): IOPort
hm2/hm2_7i97.0:     IO Pin 047 (P1-21): IOPort
hm2/hm2_7i97.0:     IO Pin 048 (P1-23): IOPort
hm2/hm2_7i97.0:     IO Pin 049 (P1-25): IOPort
hm2/hm2_7i97.0: registered
hm2_eth: in hm2_eth_reset
hm2_eth: HostMot2 ethernet driver unloaded
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'?
Note: Using POSIX non-realtime
./basic7i97.hal:225: Unknown command '3600'
3549
Stopping realtime threads
Unloading hal components
cannot gain I/O privileges - forgot 'sudo make setuid'?
Note: Using POSIX non-realtime



-----------------------------------------------------------------------
Info report created by linuxcnc_info:
The file:    /tmp/linuxcnc_info.txt

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

More
30 Nov 2021 12:35 #228000 by Arnold
Replied by Arnold on topic 7i97 no ethernet connection
Before running linuxcnc
File Attachment:


After linuxcnc
File Attachment:

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

More
30 Nov 2021 13:58 #228007 by tommylight
Attach the files here, not on a third party website.
Now you have everything set up properly, except you are using a generic kernel that does not work for machine control.
And it looks like you have Intel ethernet, but we'll get back to it later.
First, what does
uname -a
say?
The following user(s) said Thank You: Arnold

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

More
30 Nov 2021 16:07 #228033 by PCW
Replied by PCW on topic 7i97 no ethernet connection
arnold@desktop-cnclan:~$ sudo mesaflash --device 7i97 --readhmid

That should be

mesaflash --device 7i97 --addr 10.10.10.10 --readhmid
The following user(s) said Thank You: Arnold

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

More
30 Nov 2021 17:16 #228039 by Arnold
Replied by Arnold on topic 7i97 no ethernet connection

arnold@desktop-cnclan:~$ sudo mesaflash --device 7i97 --readhmid

That should be

mesaflash --device 7i97 --addr 10.10.10.10 --readhmid
 

arnold@desktop-cnclan:~$ ~$ sudo mesaflash --device 7i97 --readhmid
bash: ~$: command not found
arnold@desktop-cnclan:~$

Why i am no getting that right?
thanks!!

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

Moderators: PCWjmelson
Time to create page: 0.082 seconds
Powered by Kunena Forum