-
Notifications
You must be signed in to change notification settings - Fork 41
/
lime-community
59 lines (51 loc) · 1.79 KB
/
lime-community
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
config lime system
option hostname 'ninux-%M4%M5%M6'
option domain 'valsamoggia.ninux.org'
option keep_on_upgrade 'libremesh base-files-essential /etc/sysupgrade.conf'
config lime network
option primary_interface 'eth0'
option main_ipv4_address '10.170.128.0/16/17'
option anygw_dhcp_start '5120'
option anygw_dhcp_limit '27648'
option main_ipv6_address 'fd%N1:%N2%N3:%N4%N5::/64'
list protocols ieee80211s
list protocols lan
list protocols anygw
list protocols batadv:%N1
list protocols babeld:17
list resolvers 4.2.2.2 # b.resolvers.Level3.net
list resolvers 141.1.1.1 # cns1.cw.net
list resolvers 2001:470:20::2 # ordns.he.net
option anygw_mac "aa:aa:aa:%N1:%N2:aa"
option use_odhcpd false
config lime wifi
option channel_2ghz '11'
option channel_5ghz '48'
option htmode_5ghz 'HT40'
option distance_2ghz '1000'
option distance_5ghz '10000'
list modes 'ap'
list modes 'apname'
list modes 'ieee80211s'
option ap_ssid 'ninux'
option apname_ssid 'ninux/%H'
option ieee80211s_mesh_fwding '0'
option ieee80211s_mesh_id 'LiMe'
config generic_uci_config prometheus
list uci_set "prometheus-node-exporter-lua.main.listen_interface=lan"
list uci_set "prometheus-node-exporter-lua.main.listen_ipv6=0"
list uci_set "prometheus-node-exporter-lua.main.listen_port=9090"
config run_asset prometheus_enable
option asset 'community/prometheus_enable'
option when 'ATFIRSTBOOT'
config run_asset cron_reboot
option asset 'community/cron_reboot'
option when 'ATFIRSTBOOT'
config generic_uci_config dropbear
list uci_set "dropbear.@dropbear[0].RootPasswordAuth=off"
config copy_asset authorized_keys
option asset 'community/authorized_keys'
option dst '/etc/dropbear'
config run_asset fix_authorized_keys_permissions
option asset 'community/fix_authorized_keys_permissions'
option when 'ATCONFIG'