Skip to content

Instantly share code, notes, and snippets.

@mraerino
Created November 23, 2015 19:08
Show Gist options
  • Save mraerino/dcc59bbca9f267bfb80d to your computer and use it in GitHub Desktop.
Save mraerino/dcc59bbca9f267bfb80d to your computer and use it in GitHub Desktop.
site.conf location testing
{
hostname_prefix = 'ff-ddorf',
site_name = 'Freifunk Duesseldorf',
site_code = 'ddorf',
prefix4 = '10.25.0.0/19',
prefix6 = '2a03:2260:3004:25::/64',
timezone = 'CET-1CEST,M3.5.0,M10.5.0/3',
ntp_servers = {
'2.pool.ntp.org',
},
regdom = 'DE',
wifi24 = {
ssid = 'Freifunk',
channel = 11,
htmode = 'HT20',
mesh_disabled = true,
},
wifi5 = {
ssid = 'Freifunk',
channel = 44,
htmode = 'HT40+',
mesh_disabled = true,
},
next_node = {
ip4 = '10.25.31.254',
ip6 = '2a03:2260:3004:25::ffff',
mac = '16:41:95:40:f7:dc',
},
tunneldigger_mesh_vpn = {
mtu = 1364,
brokers = {'ddorf1.ffrl.de:10050','ddorf2.ffrl.de:10050'},
},
autoupdater = {
enabled = 1,
branch = 'beta',
branches = {
stable = {
name = 'stable',
mirrors = {
'http://1.updates.duesseldorf.freifunk-rheinland.net/stable/sysupgrade',
'http://2.updates.duesseldorf.freifunk-rheinland.net/stable/sysupgrade',
},
probability = 0.08,
good_signatures = 2,
pubkeys = {
'cb79f3377ad78c0782a38e0fb6fc2a34270ca4c89c9e971b201a89bf8ddcd96f', -- CyrusFox (Freifunk Rheinland)
'c1eb8c55dd21bc4882a67b2b1f3cb50c572288acc35e52b393212ebf2b40180b', -- nomaster (Freifunk Rheinland)
},
},
beta = {
name = 'beta',
mirrors = {
'http://1.updates.duesseldorf.freifunk-rheinland.net/beta/sysupgrade',
'http://2.updates.duesseldorf.freifunk-rheinland.net/beta/sysupgrade',
},
probability = 0.08,
good_signatures = 1,
pubkeys = {
'cb79f3377ad78c0782a38e0fb6fc2a34270ca4c89c9e971b201a89bf8ddcd96f', -- CyrusFox (Freifunk Rheinland)
'c1eb8c55dd21bc4882a67b2b1f3cb50c572288acc35e52b393212ebf2b40180b', -- nomaster (Freifunk Rheinland)
},
},
},
},
roguenets_filter = {
allowed_prefix4 = '10.25.0.0/16',
allowed_prefix6 = '2a03:2260:3004::/48',
},
simple_tc = {
mesh_vpn = {
ifname = 'mesh-vpn',
enabled = false,
limit_egress = 200,
limit_ingress = 3000,
},
},
setup_mode = {
skip = true,
},
mesh_on_lan = true,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment