Skip to content
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

Issue 120 #413

Merged
merged 5 commits into from Mar 10, 2015
Merged

Issue 120 #413

merged 5 commits into from Mar 10, 2015

Conversation

natmey
Copy link
Contributor

@natmey natmey commented Aug 29, 2014

This resolves Issue #120 in an OLSR specific way. If you add an ethernet device as a mesh interface, the IP will be added with a ", " to the existing mesh IP, or just be displayed if there isn't one.

You can test by building an image with this branch, or just copying 'luasrc/view/themes/commotion/header.htm' from this branch to '/usr/lib/lua/luci/view/themes/commotion/header.htm' of a running node that is configured to mesh over ethernet.

The reason that this is OLSR specific is that 'uci show network' only knows that that the ethernet interface is set to 'static' and there are many configurations where that is the case and the interface will not be meshing. OLSR however knows what interfaces it is meshing on.

Since we are currently only support OLSR this should be okay for now.

However it raises a larger UI question of whether we should just be showing the WAN IP, and figuring out a protocol agnostic way to determine if it is a mesh interface. I suspect that commotiond might be the place to look for, or write such a thing.

@natmey
Copy link
Contributor Author

natmey commented Jan 21, 2015

It looks like this change should still merge cleanly against master. I think it is ready to be.

@jheretic jheretic self-assigned this Jan 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants