-
Notifications
You must be signed in to change notification settings - Fork 187
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
Add current IP address to Settings Page #1415
Comments
There is always at least two IP addresses, loopback and others. While it is possible to filter out loopback addresses, how do you deal with two or more network adapters (wired or wireless) that are all active and have an IP address? |
Just give it the first IP address or list all that are gotten with your
typical IP lookup. Most people are just going to use an Orange Pi 5 because
there's no advantage to using the Max (or most other coprocessors). If it
works with the most common processors, it migt also work with the Max or
others - just needs to be tested. No need to overcomplicate it out of the
gate.
…On Mon, Sep 23, 2024, 6:15 PM Jonathan Zimmerman ***@***.***> wrote:
There is always at least two IP addresses, loopback and others. While it
is possible to filter out loopback addresses, how do you deal with two or
more network adapters (wired or wireless) that are all active and have an
IP address?
I have Orange Pi 5 maxes that have both wired and wireless. While I intend
to disable the wireless during competition there is certainly advantages to
setting up the WIFI (either as a client or as an AP) when just working with
the devices and PhotonVision.
—
Reply to this email directly, view it on GitHub
<#1415 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABL2GSLNW2H4GJZSPUL7XULZYCHG5AVCNFSM6AAAAABOCKL2GSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRZGYYTSNRVGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
This doesn't associate IP addresses with a particular interface, but that info is technically available... here's the wpilib implementation the JNI wraps: https://github.com/wpilibsuite/allwpilib/blob/6281ec0810a3c6c196209eb7d1f385ad05d55589/cscore/src/main/native/linux/NetworkUtil.cpp#L17 |
Is your feature request related to a problem? Please describe.
I would like to know what the IP address of the device is, in case I am having trouble assigning a static IP address (this happens a lot)
Describe the solution you'd like
Show the current IP address in the Settings page. Should be easy.
Describe alternatives you've considered
Pinging photonvision.local works, but this is not well known.
Additional context
The text was updated successfully, but these errors were encountered: