[Commotion-admin] [commotion-openwrt] Issue69 (#72)
gradyoti
notifications at github.com
Wed Dec 4 20:31:45 UTC 2013
NOTE: This pull request depends on https://github.com/opentechinstitute/commotiond/pull/57
The two can be tested in tandem
To test:
1) After flashing a node, and while connected via ethernet, go to the url "thisnode" in your browser (as you would normally).
You should see the admin page.
2) On your machine:
$ host thisnode
You should see:
thisnode.mesh.local has address 169.254.xx.xx
3) Back in your browser, run quickstart and ssh into the node (again, via ethernet)
$ uci show network
You should see an entry for the thisnode alias that looks like this:
network.thisnode=alias
network.thisnode.interface=plug
network.thisnode.ipaddr=169.254.7.130
network.thisnode.netmask=255.255.0.0
network.thisnode.proto=static
4) $ less /etc/config/network
You should NOT see an entry for the thisnode alias
5) Reboot the node. Recheck steps 1 through 4.
Store in a cool, dry place.
You can merge this Pull Request by running:
git pull https://github.com/opentechinstitute/commotion-openwrt issue69
Or you can view, comment on it, or merge it online at:
https://github.com/opentechinstitute/commotion-openwrt/pull/72
-- Commit Summary --
* edited hotplug script to use link local ip address
* cleaned up hotplug script
* added new uci alias
* fixed execution logic
* increased customizability for alias
* added warning about alias method deprecation in more recent versions of openwrt
-- File Changes --
M default-files/etc/hotplug.d/iface/90-thisnode (28)
-- Patch Links --
https://github.com/opentechinstitute/commotion-openwrt/pull/72.patch
https://github.com/opentechinstitute/commotion-openwrt/pull/72.diff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chambana.net/pipermail/commotion-admin/attachments/20131204/b321b2de/attachment.html>
More information about the Commotion-admin
mailing list