CPCI Serial Linux Systems

io4edge devices in CPCI serial systems communicate with the host system via Ethernet over USB. Therefore, the host system must setup the network interfaces for this communication.

What we need is:

  • A fixed IP address for the host side interface of each io4edge device
  • A DHCP assigned IP address for the device side interface of each io4edge device

io4edge devices on peripheral boards may be directly connected to the host's USB port, or the may have an internal USB hub, so that multiple devices are connected to the host via a single USB port. The network setup must handle both cases.

Example:

CPCIS.0 system with multiple io4edge devices

The repository io4edge-ubuntu-integration provides scripts to setup the network interfaces for io4edge devices in selected CPCIS.0 systems running Ubuntu Linux.

Because these scripts use USB port numbers to map the CPCI-S.0 slots to network interfaces, the mapping is specific to the CPCI-S.0 system slot board and the backplane wiring, i.e. it must be adapted for different systems.

What the setup scripts do:

  • setup udev rules to assign fixed interface names to the host side interfaces of the io4edge devices based on the USB port numbers
  • assign fixed IP addresses to the interfaces
  • setup a DHCP server to assign IP addresses to the device side interfaces of the io4edge devices