[Commotion-admin] [commotion-feed] Logic establishing thisnode alias as a replacement for 192.168.1.20 is incomplete (#21)

technosopher notifications at github.com
Thu Oct 17 00:34:13 UTC 2013


The logic responsible for establishing the thisnode alias, which resides in openwrt/files/etc/hotplug.d/iface/90-thisnode, only sets up the alias if an ap interface is active.  As a result, the current logic does not create the thisnode alias before quickstart has been run, which makes the node setup process considerably more complicated for a non-technical user.  Additionally, there are several hard-coded references to 192.168.1.20 in various places in the build tree, which become invalid when the 192.168.1.20 alias is removed:

openwrt/files/etc/nodogsplash/nodogsplash.conf:FirewallRule allow to 192.168.1.20
openwrt/feeds/packages/net/haproxy/files/.svn/text-base/haproxy.cfg.svn-base:   server server02 192.168.1.20:80 source 192.168.1.1
openwrt/feeds/packages/net/haproxy/files/.svn/text-base/haproxy.cfg.svn-base:   server server02 192.168.1.20:123 source 192.168.1.1:25
openwrt/feeds/packages/net/haproxy/files/haproxy.cfg:   server server02 192.168.1.20:80 source 192.168.1.1
openwrt/feeds/packages/net/haproxy/files/haproxy.cfg:   server server02 192.168.1.20:123 source 192.168.1.1:25
openwrt/feeds/packages/net/ucarp/files/.svn/text-base/ucarp.conf.svn-base:MYIP=192.168.1.20
openwrt/feeds/packages/net/ucarp/files/ucarp.conf:MYIP=192.168.1.20
openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/etc/uci-defaults/commotiond:echo '192.168.1.20  thisnode' >> /etc/hosts
openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/usr/lib/lua/luci/controller/commotion-splash/splash.lua:  FirewallRule allow to 192.168.1.20

---
Reply to this email directly or view it on GitHub:
https://github.com/opentechinstitute/commotion-feed/issues/21
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chambana.net/pipermail/commotion-admin/attachments/20131016/5a993380/attachment.html>


More information about the Commotion-admin mailing list