Developing lightweight computation at the DSG edge

Commit 20d98719 authored by Axel Neumann's avatar Axel Neumann
Browse files

bmx6-qmp qmp-small-node: more tunneling fixing. Now all missing is a...

bmx6-qmp qmp-small-node: more tunneling fixing. Now all missing is a MASQUERADE on the gw node eth1 and editing /etc/config/qmp
parent 3877dffe
......@@ -14,13 +14,13 @@ PKG_SOURCE_PROTO:=git
Public Sources:
PKG_SOURCE_URL:=git://git.bmx6.net/bmx6.git
PKG_REV:=e761095012ee4ce102b67f27881cb9ab279c2e1d
PKG_REV:=28aad79b7d1a3a73d2bdd08e3c2db6c7462bb7f1
#Private Sources:
#PKG_SOURCE_URL:=file:///usr/src/bmx6/bmx6-private.git
#PKG_REV:=e761095012ee4ce102b67f27881cb9ab279c2e1d
#PKG_REV:=28aad79b7d1a3a73d2bdd08e3c2db6c7462bb7f1
PKG_VERSION:=r2011101304
PKG_VERSION:=r2011101406
#PKG_RELEASE:=1
#PKG_INSTALL:=1 # this tries to install straight to /usr/sbin/bmx6
......@@ -43,7 +43,7 @@ MAKE_ARGS += \
REVISION_VERSION="$(PKG_REV)" \
CC="$(TARGET_CC)" \
INSTALL_DIR="$(PKG_INSTALL_DIR)" \
STRIP="/bin/true" \
STRIP="/bin/false" \
build_all
......
......@@ -41,6 +41,7 @@ define Package/qmp-small-node
+ip6tables +ip6tables-utils \
+kmod-niit \
+kmod-ipip \
+kmod-ip6-tunnel +kmod-iptunnel6 \
+kmod-tun \
+kmod-madwifi \
+kmod-ath9k \
......
......@@ -15,6 +15,7 @@ config 'qmp' 'node'
config 'qmp' 'networks'
option 'dns' '141.1.1.1'
option 'lan_address' '192.168.22.1'
option 'lan_netmask' '255.255.255.0'
option 'niit_prefix96' '0:0:0:0:0:ffff' # omit trailing 32 ipv4 bits !
......@@ -34,9 +35,9 @@ config 'qmp' 'networks'
# option 'bmx6_ipv4_address' '10.202.9.01/24' # if commented out then option is autoconfigured based on
# community_node_id and bmx6_ipv4_prefix
option 'babel_mesh_prefix48' 'fd03:0:0'
option 'babel_mesh_prefix48' 'fd03:0:0'
config 'qmp' 'tunnels'
......
......@@ -425,6 +425,7 @@ qmp_configure_network() {
uci set $conf.lan.proto="static"
uci set $conf.lan.ipaddr="$(uci get qmp.networks.lan_address)"
uci set $conf.lan.netmask="$(uci get qmp.networks.lan_netmask)"
uci set $conf.lan.dns="(uci get qmp.networks.dns)"
if qmp_uci_test qmp.interfaces.mesh_devices && qmp_uci_test qmp.networks.mesh_protocol_vids; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment