|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Onboard coprocessors/DHCP at events
We've going with a second computer on-board this year for the first time.
In years past, everything got static addresses, so our setup would have worked at home, on the field, and in the pits (where we have no DHCP). This year, everything is using DHCP and letting mDNS sort things out (thank you, FIRST, this was a relief when switching between the robot and the school network). but... at the event, are we going to have to switch things back to static addresses so they work in the pits? or is there a better solution? |
|
#2
|
||||||
|
||||||
|
Re: Onboard coprocessors/DHCP at events
Are you using mDNS to find the coprocessor? If so, it should continue to work as long as the coprocessor assigns a link local address when there isn't a dhcp server.
|
|
#3
|
||||
|
||||
|
Re: Onboard coprocessors/DHCP at events
coprocessor is Debian-based, and we have avahi installed so we would have mDNS working, and avahi-autoipd takes care of allocating a LL address, so all is well. tested with roboRIO, coprocessor, and laptop on a hub with no DHCP in sight....
never done zeroconf before, this is pretty cool! |
|
#4
|
||||
|
||||
|
Re: Onboard coprocessors/DHCP at events
Our on board coprocessor is using the static address 10.20.73.25.
Is this going to cause an issue? |
|
#5
|
||||||
|
||||||
|
Re: Onboard coprocessors/DHCP at events
Quote:
|
|
#6
|
||||
|
||||
|
Re: Onboard coprocessors/DHCP at events
Quote:
|
|
#7
|
||||
|
||||
|
Re: Onboard coprocessors/DHCP at events
billbo911: I suspect that when you are in the pits or on the practice field at an event with the radio in bridge mode, you won't have any DHCP server, so your laptop and roborio will come up with a 169.254.x.x link local address, your coprocessor will be 10.xx.yy.zz, and your coprocessor won't be able to communicate to the rest of your setup. That's only in the pits or on the practice field.
This was the situation I was worried about, but Joe advised to make sure that everything fell back to using a link local address, and that seems to be ok. is your coprocessor Linux based? if so, install the avahi utilities, and they will take care mDNS and link local addressing. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|