Change with Mesa ethernet setup
- kbec
- Away
- Premium Member
-
Less
More
- Posts: 132
- Thank you received: 4
19 Sep 2020 15:50 #182754
by kbec
Change with Mesa ethernet setup was created by kbec
I installed the new 2.8 Buster version, and on my install I used the wireless because it was handy.
My system did not have network-manager, but wicd.
To get to follow the instructions in the other post, I ran
apt-get install network-manager network-manager-gnome
apt-get remove wicd wicd-gtk
Then rebooted.
I also have an issue where it won't let me set the gateway until I modify the connection with nmcli.
nmcli con mod "Wired connection 1" ipv4.never-default "no"
Then run
systemctl restart NetworkManager
Still having issues, but this may help someone.
My system did not have network-manager, but wicd.
To get to follow the instructions in the other post, I ran
apt-get install network-manager network-manager-gnome
apt-get remove wicd wicd-gtk
Then rebooted.
I also have an issue where it won't let me set the gateway until I modify the connection with nmcli.
nmcli con mod "Wired connection 1" ipv4.never-default "no"
Then run
systemctl restart NetworkManager
Still having issues, but this may help someone.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- kbec
- Away
- Premium Member
-
Less
More
- Posts: 132
- Thank you received: 4
20 Sep 2020 15:31 #182918
by kbec
Replied by kbec on topic Change with Mesa ethernet setup
Well, my main issue was trying to use the wrong ip for the card.
In the 7i96 instructions, it says: "Default IP address is always 192.168.1.121"
That is a "private network" I think and since it is just my Linux host directly communicating with it, I just used the following in the connection setup:
Address 192.168..1.100
Netmask 24
Gateway 192.168.1.0
I also added a route direct to the card.
route add -host 192.168.1.121 dev enp4s0
After doing that, ping works, as well as the mesaflash command.
# ping 192.168.1.121
PING 192.168.1.121 (192.168.1.121) 56(84) bytes of data.
64 bytes from 192.168.1.121: icmp_seq=1 ttl=64 time=0.142 ms
64 bytes from 192.168.1.121: icmp_seq=2 ttl=64 time=0.161 ms
64 bytes from 192.168.1.121: icmp_seq=3 ttl=64 time=0.152 ms
^C
--- 192.168.1.121 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 53ms
rtt min/avg/max/mdev = 0.142/0.151/0.161/0.016 ms
# mesaflash --device 7i96 --addr 192.168.1.121 --readhmid
Configuration Name: HOSTMOT2
General configuration information:
BoardName : MESA7I96
FPGA Size: 9 KGates
FPGA Pins: 144
Number of IO Ports: 3
Width of one I/O port: 17
Clock Low frequency: 100.0000 MHz
Clock High frequency: 200.0000 MHz
IDROM Type: 3
Instance Stride 0: 4
Instance Stride 1: 64
Register Stride 0: 256
Register Stride 1: 256
...
IO Connections for P1
Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir
1 34 IOPort None
14 35 IOPort None
2 36 IOPort None
15 37 IOPort None
3 38 IOPort None
16 39 IOPort None
4 40 IOPort None
17 41 IOPort None
5 42 IOPort None
6 43 IOPort None
7 44 IOPort None
8 45 IOPort None
9 46 IOPort None
10 47 IOPort None
11 48 IOPort None
12 49 IOPort None
13 50 IOPort None
I am taking this one step at a time, now I have my board powered up and talking to the computer at least.
In the 7i96 instructions, it says: "Default IP address is always 192.168.1.121"
That is a "private network" I think and since it is just my Linux host directly communicating with it, I just used the following in the connection setup:
Address 192.168..1.100
Netmask 24
Gateway 192.168.1.0
I also added a route direct to the card.
route add -host 192.168.1.121 dev enp4s0
After doing that, ping works, as well as the mesaflash command.
# ping 192.168.1.121
PING 192.168.1.121 (192.168.1.121) 56(84) bytes of data.
64 bytes from 192.168.1.121: icmp_seq=1 ttl=64 time=0.142 ms
64 bytes from 192.168.1.121: icmp_seq=2 ttl=64 time=0.161 ms
64 bytes from 192.168.1.121: icmp_seq=3 ttl=64 time=0.152 ms
^C
--- 192.168.1.121 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 53ms
rtt min/avg/max/mdev = 0.142/0.151/0.161/0.016 ms
# mesaflash --device 7i96 --addr 192.168.1.121 --readhmid
Configuration Name: HOSTMOT2
General configuration information:
BoardName : MESA7I96
FPGA Size: 9 KGates
FPGA Pins: 144
Number of IO Ports: 3
Width of one I/O port: 17
Clock Low frequency: 100.0000 MHz
Clock High frequency: 200.0000 MHz
IDROM Type: 3
Instance Stride 0: 4
Instance Stride 1: 64
Register Stride 0: 256
Register Stride 1: 256
...
IO Connections for P1
Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir
1 34 IOPort None
14 35 IOPort None
2 36 IOPort None
15 37 IOPort None
3 38 IOPort None
16 39 IOPort None
4 40 IOPort None
17 41 IOPort None
5 42 IOPort None
6 43 IOPort None
7 44 IOPort None
8 45 IOPort None
9 46 IOPort None
10 47 IOPort None
11 48 IOPort None
12 49 IOPort None
13 50 IOPort None
I am taking this one step at a time, now I have my board powered up and talking to the computer at least.
Please Log in or Create an account to join the conversation.
- AgentWD40
-
- Offline
- Platinum Member
-
Less
More
- Posts: 334
- Thank you received: 92
20 Sep 2020 15:47 #182921
by AgentWD40
Replied by AgentWD40 on topic Change with Mesa ethernet setup
I believe there is a jumper on the board to change its ip address to 10.10.10.10. And I believe this is preferred over 192.x.x.x as it should prevent issues/conflicts with your LAN.
Please Log in or Create an account to join the conversation.
- rodw
-
- Offline
- Platinum Member
-
Less
More
- Posts: 11210
- Thank you received: 3739
20 Sep 2020 21:36 #182971
by rodw
Yes, from what you have said, you are already using the 192.168.1 address range for your network so you need to use a totally different network so there is no traffic other than from Linuxcnc onto the mesa network segment.
so change the switch on the board and set emp4s0 to 10.10.10.1
The board will respond as you have it but you can't guarantee a real time connection.
Replied by rodw on topic Change with Mesa ethernet setup
I believe there is a jumper on the board to change its ip address to 10.10.10.10. And I believe this is preferred over 192.x.x.x as it should prevent issues/conflicts with your LAN.
Yes, from what you have said, you are already using the 192.168.1 address range for your network so you need to use a totally different network so there is no traffic other than from Linuxcnc onto the mesa network segment.
so change the switch on the board and set emp4s0 to 10.10.10.1
The board will respond as you have it but you can't guarantee a real time connection.
Please Log in or Create an account to join the conversation.
- kbec
- Away
- Premium Member
-
Less
More
- Posts: 132
- Thank you received: 4
21 Sep 2020 13:08 #183134
by kbec
Replied by kbec on topic Change with Mesa ethernet setup
I think for me, I already have a 10.... network that my wifi connects into and trying to add to that may confuse it. So the 192.168 should work.
I am confused though.
The manual states:
HARDWARE CONFIGURATION
IP ADDRESS SELECTION
The 7I96 has three options for selecting its IP address. These options are selected
by Jumpers W5 and W6.
W5 W6 IP ADDRESS
DOWN DOWN FIXED 192.168.1.121 (DEFAULT)
DOWN UP FIXED FROM EEPROM
UP DOWN BOOTP
UP UP INVALID
Note: The as shipped default EEPROM IP address is 10.10.10.10. This can be changed
via the mesaflash utility
So, my main question now is do I need to connect to both 192.168.1.121 and 10.10.10.10? or just the 192.168.1.121 is enough?
I am confused though.
The manual states:
HARDWARE CONFIGURATION
IP ADDRESS SELECTION
The 7I96 has three options for selecting its IP address. These options are selected
by Jumpers W5 and W6.
W5 W6 IP ADDRESS
DOWN DOWN FIXED 192.168.1.121 (DEFAULT)
DOWN UP FIXED FROM EEPROM
UP DOWN BOOTP
UP UP INVALID
Note: The as shipped default EEPROM IP address is 10.10.10.10. This can be changed
via the mesaflash utility
So, my main question now is do I need to connect to both 192.168.1.121 and 10.10.10.10? or just the 192.168.1.121 is enough?
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20101
- Thank you received: 6843
21 Sep 2020 13:14 #183138
by tommylight
Replied by tommylight on topic Change with Mesa ethernet setup
If you can ping the board and read the pins, do not change anything.
Start using it and moving things !
Start using it and moving things !

Please Log in or Create an account to join the conversation.
- BeagleBrainz
-
- Visitor
-
21 Sep 2020 13:15 #183140
by BeagleBrainz
Replied by BeagleBrainz on topic Change with Mesa ethernet setup
The jumpers select the IP address. The board only has one address active and this is dependant on how you set the jumpers.
So it will EITHER be 10.10.10.10 OR 192.168.1.121 never both.
So it will EITHER be 10.10.10.10 OR 192.168.1.121 never both.
Please Log in or Create an account to join the conversation.
- rodw
-
- Offline
- Platinum Member
-
Less
More
- Posts: 11210
- Thank you received: 3739
21 Sep 2020 13:29 #183142
by rodw
Replied by rodw on topic Change with Mesa ethernet setup
The 3 private networks that are never routed to the world are
10.x.x.x
192.168.x.x
172.16.x.x
Different router manufacturer use different defaults. 192.168.1.x is common.
so if your 7i76e is on the 192.168.1.x network, your wifi needs to be on a different network.
If your wifi in on a 10.x.x.x network, it is fine as is.
If your router was on the 192.168.2.x or 192.168.0.x for example, that would be OK too with the right netmask (255.255.255.0)
You may need to ensure your gateway is set to the internet side, not the mesa side. but DHCP should sort that out.You may find with your current settings, it will try and go out the 192.168 side. I don't think the mesa side needs a gateway.
10.x.x.x
192.168.x.x
172.16.x.x
Different router manufacturer use different defaults. 192.168.1.x is common.
so if your 7i76e is on the 192.168.1.x network, your wifi needs to be on a different network.
If your wifi in on a 10.x.x.x network, it is fine as is.
If your router was on the 192.168.2.x or 192.168.0.x for example, that would be OK too with the right netmask (255.255.255.0)
You may need to ensure your gateway is set to the internet side, not the mesa side. but DHCP should sort that out.You may find with your current settings, it will try and go out the 192.168 side. I don't think the mesa side needs a gateway.
Please Log in or Create an account to join the conversation.
- bevins
-
- Offline
- Platinum Member
-
Less
More
- Posts: 1943
- Thank you received: 336
21 Sep 2020 13:34 - 21 Sep 2020 13:35 #183144
by bevins
Why would you have your wifi on the 10.x.x.x network? You should never connect to your mesa board via wifi. If your local lan is on 10.x.x.x and your using masq for your local lan. but why would you do that with 10.x.x.x
Replied by bevins on topic Change with Mesa ethernet setup
The 3 private networks that are never routed to the world are
10.x.x.x
192.168.x.x
172.16.x.x
Different router manufacturer use different defaults. 192.168.1.x is common.
so if your 7i76e is on the 192.168.1.x network, your wifi needs to be on a different network.
If your wifi in on a 10.x.x.x network, it is fine as is.
If your router was on the 192.168.2.x or 192.168.0.x for example, that would be OK too with the right netmask (255.255.255.0)
You may need to ensure your gateway is set to the internet side, not the mesa side. but DHCP should sort that out.You may find with your current settings, it will try and go out the 192.168 side. I don't think the mesa side needs a gateway.
Why would you have your wifi on the 10.x.x.x network? You should never connect to your mesa board via wifi. If your local lan is on 10.x.x.x and your using masq for your local lan. but why would you do that with 10.x.x.x
Last edit: 21 Sep 2020 13:35 by bevins.
Please Log in or Create an account to join the conversation.
- kbec
- Away
- Premium Member
-
Less
More
- Posts: 132
- Thank you received: 4
21 Sep 2020 13:38 #183145
by kbec
Replied by kbec on topic Change with Mesa ethernet setup
I think I'll be ok then. I put a host route into the route table, so all the traffic to the Mesa card should go through that interface. The default route on 10 should pick up all the other traffic.
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.076 seconds