[Commotion-admin] [commotion-openwrt] Issue73 (#74)

critzo notifications at github.com
Thu Dec 12 16:00:30 UTC 2013


@gradyoti Tested this build with the following outcomes:
1a) Before running quickstart, type 'thisnode' into your browser. You should get the admin page.

thisnode alias typed into the browser before quickstart does not display the admin page. The luci interface begins to load (black page with white text at the top) but then shows page not found error.

1b) Telnet into the node. 
Results of test confirm that the thisnode alias is not being added before quickstart:
``
root at commotion:/# logread | grep commotion.hotplug.thisnode
root at commotion:/# logread | grep thisnode
root at commotion:/# logread | grep commotion.hotplug
Sep  8 15:44:19 commotion user.notice commotion.hotplug.olsrd: proto: static
Sep  8 15:44:19 commotion user.notice commotion.hotplug.olsrd: type: Failed to get interface or profile.
Sep  8 15:45:08 commotion user.notice commotion.hotplug.olsrd: proto: commotion
Sep  8 15:45:08 commotion user.notice commotion.hotplug.olsrd: type: plug
Sep  8 15:45:13 commotion user.notice commotion.hotplug.dnsmasq: unset_dnsmasq_if plug
Sep  8 15:45:14 commotion user.notice commotion.hotplug.dnsmasq: set_dnsmasq_if plug
root at commotion:/# logread | grep /etc/hosts
Sep  8 15:45:10 commotion daemon.info dnsmasq[2091]: read /etc/hosts - 1 addresses
Sep  8 15:45:19 commotion daemon.info dnsmasq[2223]: read /etc/hosts - 1 addresses
``

1c) Go back to your browser. Run quickstart.
After running quickstart, the thisnode alias still does not work either on the wired or wireless connection

1d) Log into the node again.
``
root at pull731011232888:~# logread | grep commotion.hotplug.thisnode
root at pull731011232888:~# logread | grep commotion.hotplug
Sep  8 16:06:05 pull731011232888 user.notice commotion.hotplug.dnsmasq: unset_dnsmasq_if mesh
Sep  8 16:06:22 pull731011232888 user.notice commotion.hotplug.olsrd: proto: commotion
Sep  8 16:06:22 pull731011232888 user.notice commotion.hotplug.olsrd: type: plug
Sep  8 16:06:33 pull731011232888 user.notice commotion.hotplug.dnsmasq: unset_dnsmasq_if plug
Sep  8 16:06:34 pull731011232888 user.notice commotion.hotplug.dnsmasq: set_dnsmasq_if plug
root at pull731011232888:~# cat /etc/hosts
127.0.0.1 localhost
169.254.48.120 thisnode
root at pull731011232888:~# cat /etc/config/network 

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config interface 'plug'
        option ifname 'eth0'
        option proto 'commotion'
        option profile 'defaultPlug'

config interface 'mesh'
        option profile 'quickstartMesh'
        option proto 'commotion'

config interface 'secAp'
        option profile 'quickstartSec'
        option proto 'commotion'

config alias 'thisnode'
        option interface 'ap'
        option proto 'static'
        option ipaddr '169.254.48.120'
        option netmask '255.255.0.0'
``


---
Reply to this email directly or view it on GitHub:
https://github.com/opentechinstitute/commotion-openwrt/pull/74#issuecomment-30434875
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chambana.net/pipermail/commotion-admin/attachments/20131212/c08ad737/attachment.html>


More information about the Commotion-admin mailing list