[patch-team] update wing to 20110329 - Signed off by Roberto Riggio <roberto.riggio...
[openwrt/svn-archive/archive.git] / net / wing / files / etc / uci-defaults / wing
1 uci set network.mesh=interface
2 uci set network.mesh.proto=wing
3 uci set network.mesh.profile=bulk
4 uci set network.mesh.rc=minstrel
5 uci set network.mesh.ls=fcfs
6 uci set network.mesh.metric=wcett
7 uci set network.mesh.prefix=6
8 uci set network.mesh.period=10000
9 uci set network.mesh.tau=100000
10 uci set network.mesh.debug=false
11
12 cfg=$(uci add firewall zone)
13 uci set firewall.$cfg.name="mesh"
14 uci set firewall.$cfg.input="ACCEPT"
15 uci set firewall.$cfg.output="ACCEPT"
16 uci set firewall.$cfg.forward="REJECT"
17 uci set firewall.$cfg.masq="1"
18
19 cfg=$(uci add firewall forwarding)
20 uci set firewall.$cfg.src="lan"
21 uci set firewall.$cfg.dest="mesh"
22
23 cfg=$(uci add firewall forwarding)
24 uci set firewall.$cfg.src="mesh"
25 uci set firewall.$cfg.dest="wan"
26