So I'm finally ready to start putting some hardware together. I have my mesa 7i80HD card.
My computer is running debian 10 at the moment and I have linuxCNC 2.8 installed and using preempt rt. My computer also has an additional NIC card. When the OS boots the network interfaces are named using the new naming scheme: I have enp3s0 on the MB and connected to my local network using addresses in the range of 192.168.1.x enp2s0f0 on the NIC and connected only to the 7i80 enp2s0f1 on the NIC and not connected. I would like to use the default ethernet address for the 7i80 and assign 192.168.1.1 to the enp2s0f0 interface but i don't know if this will work. The documentation seems to say this is not possible. the documentation says: "INTERFACE CONFIGURATION hm2_eth should be used on a dedicated network interface, with only a cable between the PC and the board. Wireless and USB network interfaces are not suitable. These instructions assume your dedicated network interface is "eth1", 192.168.1/24 is an unused private network, that the hostmot2 board is using the default address of 192.168.1.121, that you are using Debian 7 or similar, and that you do not otherwise use iptables. If any of these are false, you will need to modify the instructions accordingly. After following all the instructions, reboot so that the changes take effect." Well that statement is false for me because my interface is not named eth1. It seems from these statements that it is not possible for each ethernet interface to be in the same range of internet addresses even though they are different physical networks. Is this true? if so then I can just use a different address for the enp2s0f0 interface such as 10.10.10.1 and 10.10.10.0 for the 7i80 as suggested below "It is particularly important to check that the network 192.168.1/24 is not already the private network used by your internet router, because this is a commonly-used value. If you use another network, you will also need to reconfigure the hostmot2 card to use an IP address on that network by using the mesaflash(1) utility and change jumper settings. Typically, you will choose one of the networks in the Private IPv4 address space. One common alternative is PC address 10.10.10.1, hostmot2 address 10.10.10.10. Use of the dedicated ethernet interface while linuxcnc is running can cause violation of realtime guarantees. hm2_eth will automatically mitigate most accidental causes of interference. Configure network with static address Add these lines to the file /etc/network/interfaces to configure eth1 with a static address: auto eth1 iface eth1 inet static address 192.168.1.1 hardware-irq-coalesce-rx-usecs 0" so for my case I think the lines added to /etc/network/interfaces would be like: auto enp2s0f0 iface enp2s0f0 inet static address 192.168.1.1 hardware-irq-coalesce-rx-usecs 0 This prompts my next question: How does the hm2_eth - LinuxCNC HAL driver know what interface to use? Does it just just look for *any* interface with a matching network address? regards, John Figie _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
