Developing lightweight computation at the DSG edge
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Quick Mesh Project
qMp packages
Commits
9ee01247
Commit
9ee01247
authored
Oct 07, 2012
by
p4u
Browse files
Merge branch 'testing' of
ssh://qmp.cat:221/qmp
into testing
parents
2356d394
bf6d62d2
Changes
2
Hide whitespace changes
Inline
Side-by-side
packages/qmp-small-node/files/etc/qmp/qmp_functions.sh
View file @
9ee01247
...
...
@@ -582,15 +582,14 @@ qmp_configure_bmx6() {
uci
set
$conf
.tun6Out
=
"tunOut"
uci
set
$conf
.tun6Out.tunOut
=
"tun6Out"
uci
set
$conf
.tun6Out.network
=
"
$(
uci get qmp.tunnels.search_ipv6_tunnel
)
"
uci
set
$conf
.tun6Out.mtu
=
1
40
0
uci
set
$conf
.tun6Out.mtu
=
1
36
0
fi
if
qmp_uci_test qmp.tunnels.search_ipv4_tunnel
;
then
uci
set
$conf
.tun4Out
=
"tunOut"
uci
set
$conf
.tun4Out.tunOut
=
"tun4Out"
uci
set
$conf
.tun4Out.network
=
"
$(
uci get qmp.tunnels.search_ipv4_tunnel
)
"
uci
set
$conf
.tun4Out.mtu
=
1
40
0
uci
set
$conf
.tun4Out.mtu
=
1
36
0
elif
qmp_uci_test qmp.tunnels.offer_ipv4_tunnel
;
then
uci
set
$conf
.tunInRemote
=
"tunInRemote"
...
...
@@ -601,11 +600,11 @@ qmp_configure_bmx6() {
uci
set
$conf
.tun4InNet.bandwidth
=
"1000000"
fi
#Configuring the tunnel to search 10/8 networks
uci
set
$conf
.nodes10
=
"tunOut"
uci
set
$conf
.nodes10.tunOut
=
"nodes10"
uci
set
$conf
.nodes10.network
=
"10.0.0.0/8"
uci
set
$conf
.nodes10.mtu
=
1360
uci commit
$conf
# /etc/init.d/$conf restart
...
...
packages/qmp-small-node/files/etc/uci-defaults/000-backup-u
i
c-defaults
→
packages/qmp-small-node/files/etc/uci-defaults/000-backup-uc
i
-defaults
View file @
9ee01247
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment