Developing lightweight computation at the DSG edge

qmp 2.93 KB
Newer Older
hitz's avatar
hitz committed
1

2
## this config should work for Routerstation(PRO), Alix, Fonera, ...
3
4
5
6
#
# Contributors:
#	Simó Albert i Beltran
#
7

hitz's avatar
hitz committed
8
config 'qmp' 'interfaces'
9
#       option 'configure_switch' 'eth0'                    # (uncomment line if available, e.g. WGT634U)
10
        option 'lan_devices'      'eth0 wlan1 dummy0'       # will be used as is!
11
        option 'wan_devices'      'eth1'                    # will be used as is!
12
        option 'mesh_devices'     'wlan0 wlan2 eth0 eth1'   # will be extended by vlan tag!
13

hitz's avatar
hitz committed
14
config 'qmp' 'node'
15
	option 'primary_device' 'eth0'
16
	option 'community_id' 'qMp'
17
	option 'community_node_id' ''
18
	option 'key' '/tmp/qmp_key'
19

p4u's avatar
p4u committed
20
21
22
23
24
config 'qmp' 'update'
	option 'url' 'http://fw.qmp.cat/testing'
	option 'images' 'IMAGES'
	option 'devices' 'DEVICES'
	option 'filter' 'sysupgrade'
25
	option 'preserve' '/etc/config/qmp /etc/shadow /etc/passwd /etc/rc.local /etc/firewall.user /etc/dropbear/* /etc/config/b6m-spread'
p4u's avatar
p4u committed
26

27
28
29
30
config 'qmp' 'non_overlapping'
        option 'ignore'              '0'  # Each node assings a non-overlapping DHCP IPv4 ranges over a /16 network on lan device
        option 'dhcp_offset'         '2'
        option 'qmp_leasetime'       '1h'
hitz's avatar
hitz committed
31
32

config 'qmp' 'networks'
33
        option 'dns'                 '141.1.1.1 85.126.4.170 202.83.95.227'
34
        option 'lan_address'         '172.30.22.1'
35
        option 'lan_netmask'         '255.255.255.0'
36
37
        #option 'publish_lan'	     '0'
	#option 'niit_prefix96'       '0:0:0:0:0:ffff'        # omit trailing 32 ipv4 bits !
38
39
        option 'mesh_protocol_vids'  'olsr6:1 bmx6:2'   # means olsr6 use vlantag 10+1, bmx6 use vlantag 10+2
        option 'mesh_vid_offset'     '10'
40

41
42
	option 'rescue_prefix24'     '169.254' # rescue network prefix, the 16 missing bits are taken from device MAC 

43
44
45
        option 'olsr6_mesh_prefix48' 'fd01:0:0'
        option 'olsr6_ripe_prefix48' '2011:0:0'
        option 'olsr6_ipv4_prefix24' '10.201'
46
47
48
49
50
51
#       option 'olsr6_ipv4_address'  '10.201.9.01'
#       option 'olsr6_ipv4_netmask'  '255.255.255.0'
#       option 'olsr6_6to4_netmask'  '120'

        option 'bmx6_mesh_prefix48'  'fd02:0:0'
        option 'bmx6_ripe_prefix48'  '2012:0:0'        # suffix is autoconfigured based on community_node_id
52
        option 'bmx6_ipv4_prefix24'  '10.202.0'
53
54
#       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
55
56
57
	option 'bmx6_tablePrefTuns'  '7000'
	option 'bmx6_tableTuns'      '70'
	option 'bmx6_throwRules'     '1'
58

59
        option 'babel_mesh_prefix48' 'fd03:0:0'
60
	option 'netserver' '1'
61
62
63
64
65
66
67
68

config 'qmp' 'tunnels'
        option 'search_ipv4_tunnel'  '0.0.0.0/0'
        option 'search_ipv6_tunnel'  '::/0'
#       option 'offer_ipv4_tunnel'  '0.0.0.0/0'
#       option 'offer_ipv6_tunnel'  '::/0'


hitz's avatar
hitz committed
69
config 'qmp' 'wireless'
70
        option 'driver'  'mac80211'
71
        option 'country' 'SP'
72
73
        option 'bssid'   '02:CA:FF:EE:BA:BE'

hitz's avatar
hitz committed
74