Help deploying to roborio from linux

I am attempting to deploy code to a roborio 2.0 from a Thinkpad t420 running MX linux (Debian bookworm). I can’t seem to get the deploy task to find the roborio target. I’ve tried wifi, usb (checked all ports), and ethernet. Looking at my connected networks, the computer does connect to our robot via wifi, and seems to recognize an NI roboRIO 2.0 when connected via USB. I’m assuming I need some connection layer between VS code and my laptop’s networking harware. (there is no wpilib version error nor rio image error, just can’t discover target). Any suggestions on where to start troubleshooting? Thank you.

Theres no native linux support for the USB connection (theres a couple threads here on how you can make it work, but lets skip that for now and focus on ethernet/wifi).

When connected to the robot over wired ethernet, are you connected through a switch or 2nd port on the radio, or are you connected directly to the roborio?

In both cases, what IP does your laptop get?

tldr: the rio expects DHCP on its interface, so you have to supply that in order for it to work on linux. it works on windows because NI has a driver that does exactly that on windows only.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.