-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Easy Initial Config of PhotonVision #1434
Comments
Mdns can be flakey but it's usually pretty solid for me if I've got a radio in my network and I don't just plug my pi straight into my computer. What situations did you have trouble with mdns in, out of curiosity? |
It's actually testing outside a robot that is harder. Like if I put a Pi on a table, plug the ethernet into a router, it's hard to find it on a network, especially if it's a 9-10th grader who barely knows how to program, much less network management in Linux... |
I agree it should be easier to use PV without a robot. I like the static IP suggestion by configuring something in /boot. It helps in situations where there isn't a DHCP server available or if mDNS isn't working on a network. Should we pursue this? Are there any conflicting requirements that means we shouldn't implement this? |
Scope creep/additional complexity with how this would interact with the current configuration management system is my primary concern. Maybe we could only pull this static IP when starting photon for the first time? Or we could investigate a static fallback IP for the Ethernet interface instead? |
Yeah I think we should instead configure a fallback static IP address that's common across all our images? That would require users configure their netmask and stuff appropriately still though.... |
I like that. @scarmain what do you think? Would connecting to the pi via ethernet & setting parameters in networking settings be easy enough? |
I still feel like asking users to configure a static ip or trusting link local fallback to actually work is a bit spooky, but it might be worth a shot? |
I guess, I don't exactly know what I'm asking for... These are the scenarios I see:
And then we have to remind them to turn off the static IP configuration they used in initial configuration. With all those use cases, I don't see a simple solution honestly. Maybe the current option is the best option. |
So the biggest thing is setting a static IP is not enough for most networks. You need the static ip and the netmask. Also randomly guessing a 10.0.0.0/8 and hoping it's routable in a school is unlikely. I've never had any issues finding PV on a robot network. My primary concerns are link-local and typical LANs. I like whatever can give link-local support. |
Is your feature request related to a problem? Please describe.
PhotonVision is somewhat difficult to get started the first boot on a Pi/clone, trying to connect with mDNS that doesn't always work. Could there be a way to make this easier for teams?
Ideas:
Describe the solution you'd like
See above
Describe alternatives you've considered
See above
Additional context
See above
The text was updated successfully, but these errors were encountered: