How Do I Disable My Ethernet Ports on My Linux cRIO Controller?

Updated Oct 26, 2020



  • cRIO-9035
  • cRIO-9038


  • LabVIEW Real-Time Module

I'd like to disable both of my Ethernet ports on my cRIO for security reasons. I can only disable my second Ethernet port.  How do I make sure I have both ports disabled?

We can disable the ports on the CompactRIO with the same method that we use to disable Ethernet cards on a Linux Desktop. This is using the "ifconfig" command in the Terminal.
  1. Open NI-MAX on another computer and navigate to your cRIO. 
  2. Under System Settings, click the box next to "Enable Embedded UI".  You will now be able to connect a keyboard to your cRIO's USB port and access the Linux Command Line.
  3. Access the terminal as an admin and run the following commands:
>> ifconfig ethX up
>> ifconfig ethX down
Replace "X" with 0 or 1 to designate which port you'd like to change.  "up" and "down" enable and disable the Ethernet ports.

Additional Information

One consideration you have to keep in mind is that the changes don't survive after a reboot.