-IP of our Driver Station is dhcp. Do we need to set it as static?
It shouldn’t make a difference, but since everything else is static, you might as well, just in case: 10.44.80.5
-Yea, the dLink lights up and works. I suppose one thing I could try is connecting via ethernet to the network hub so I can make sure that it works.
Just because it lights up does not mean it works 100%. Might have a bad port.
-I have not tried connecting to the main router and using the roboRio from it yet. Maybe something to try. Although, I did switch the ethernet ports on the router to see if that helped and it unfortunately didn’t.
If you switched the roborio to the other port, and you could still connect to the DS, then both ports work.
Have you tried changing the ethernet cable that connects the radio to the dlink? Changed the port it is plugged into on the dlink?
I assume you have turned off the Dlink’s wifi.
If ping is successful to 10.44.80.2 (DS-Radio-RoboRio), but can’t reach 10.44.80.12 nor 10.44.80.13, then the problem is somewhere between the Radio and the computers. If you can’t reach both, then it is likely somewhere between the Radio and the Dlink.
It is just weird that it happens 1/10 times.
Make sure the DS has a static IP address for the wifi adapter and the Ethernet (hard wire) adapter. The next time it happens:
Ping the radio, roborio, dlink, and Pi while still connected to wifi. Record your results.
Disconnect the wifi (turn it off on the Driver Station), and tether to the Hub. Then retry your pings. Record your results.
If you get different results wifi vs tethered, then the results should tell you where to look.
Another thought: If your ethernet cables go near a motor, then the motor may be generating a lot of interference in the wire.
We even used an unmanaged hub that we had lying around. That one had the same problem.
unmanaged hub to replace the dlink or the radio? If it replaced the dlink, then i’m guessing you have a bad cable between the dlink and the radio. It could also be the radio. Do you have a spare radio you can swap out?
How are you powering the dlink? could it be flaky power to the dlink? Do the dlink lights look right during the problem times? Dlink should be off the 5v 2A connection of the VRM, with nothing else on the 5v2A connection. Are you overloading the VRM? I believe the Pi needs more than the 5v500ma of the other port on the VRM. Do you have a separate VRM for the Pi? Are you trying to power both the Pi and the Dlink off the same 5V2A connection? If so, that won’t work.