-
Notifications
You must be signed in to change notification settings - Fork 67
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
Feature request: Terminal command to set Allow other MESH nodes to use my WAN setting to ON #902
Comments
I would recommend looking at Ansible which is a tool design for setting up configurations on multiple systems remotely in a very flexible way. I use it myself for updating and running tests on my two dozen test nodes. Actually modifying this particular setting is relatively easy. On the Advanced Configuration page on each setting you'll see some small text reading, for example, aredn.@wan[0].olsrd_gw. This is a property in the UCI system (see OpenWRT for more information on that) which can be modified from the command line. |
Thanks, I was considering Ansible for this. I ran the uci set aredn.@wan[0].olsrd_gw='1' command, then uci commit When set that way it didn't seem to actually provide internet access to a node 1 hop away. I noticed it wasn't prompting me to reboot, but I rebooted anyway hoping it may help. The setting persisted in the ON status, but the mesh connected node still doesn't seem to get internet access from it. Any ideas? |
From memory (so please check by looking at the code in the advanced configuration page) it goes something like this:
|
Thanks! For anyone else following along, there does not appear to be usr directory when I used ls. I used find and found the file at /rom/usr/local/bin/node-setup Still no luck on getting internet passed to a node 1 hop away... tested with 2 different nodes now. |
Bit odd that you didn't find a /usr directory. Nothing would work if that was missing. Also, I didn't get it quite right.
|
Did that work for you when you tried it? I had to add "rom" before the /usr/... but aside from that the commands look like they executed OK, but when I checked the node it didn't have the setting turned on. I turned it on in the advanced configuration page, but still couldn't get internet on a mesh-connected Nanostation on my roof... Could this be a bug on haps? |
In a recent discussion with a fellow RACES member about potential operational scenarios, there were multiple situations where quickly turning on multiple nodes Allow other MESH nodes to use my WAN setting to on would be very helpful.
If this can be done over SSH, that would allow the command to be sent to all desired nodes by an authorized user using a script rather than logging into each node individually and tweaking the setting. Can this be done currently? If not, could the feature be added?
The text was updated successfully, but these errors were encountered: