Skip to content

Commit

Permalink
Merge pull request #71 from libremesh/quintabalibre_lime_2020.1
Browse files Browse the repository at this point in the history
Quintanalibre lime 2020.1
  • Loading branch information
spiccinini authored May 24, 2021
2 parents 1e8d6a3 + 122ff38 commit 980b3f3
Show file tree
Hide file tree
Showing 10 changed files with 49 additions and 66 deletions.
41 changes: 0 additions & 41 deletions quintanalibre.org.ar/generic/files/etc/collectd.conf

This file was deleted.

29 changes: 29 additions & 0 deletions quintanalibre.org.ar/generic/files/etc/config/lime-community
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
config lime system
option hostname 'ql-%M4%M5%M6'
option domain 'red.quintana.libre.org.ar'
option deferable_reboot_uptime_s '10800'

config lime network
option main_ipv4_address '10.5.0.0/21'
Expand Down Expand Up @@ -38,3 +39,31 @@ config lime wifi

option adhoc_mcast_rate_2ghz '36000'
option adhoc_mcast_rate_5ghz '24000'

config generic_uci_config system_opts
list uci_set "system.@system[0].timezone=ART3"
list uci_set "system.@system[0].log_ip=10.5.1.4"

config generic_uci_config location
list uci_set "location.settings=location"
list uci_set "location.settings.community_latitude=-31.80461"
list uci_set "location.settings.community_longitude=-64.41609"

config generic_uci_config dropbear
list uci_set "dropbear.@dropbear[0].RootPasswordAuth=off"

config run_asset cron_defer_reboot
option asset 'community/cron_defer_reboot'
option when 'ATFIRSTBOOT'

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'

config run_asset fix_librerouterv0_random_macs
option asset 'community/librerouterv0-random-macs'
option when 'ATCONFIG'
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDAoTcCTkkqQ1WiO86t3RIagYML/fYIymsaI/NGqDQy
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDBNNT9RX2m9RP+UKyE3wgMrU6bstXxnI2K2MikIACA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VIssx51/NIBoi5ISsWN2OdYMCmb5lAJ8TZviTxO0XdW1KdWLIOEj5TaV93BB3TXCQaZdZ9Svwnm8LHKOpf1hNmVDXy6iidbLIcqBqANoEVHO2H03BJsJZOTeXyKGO6LhJz0JLI6Uni1V2jRrKSaIPcvCpEsA6nr40D79fKJcpYjf9tlWe1eKriU7plbGc0iMbE7VGQOYWy+g61T4NCoq37qnlhZ1R/9Vl00ESdR/9kxvCLO7/zoB7Y5U/F3ROPRI00iuwd6Wl34SqS1Z5g5Zl+9QO4/D/W5SwQQb6gKoW6RUfC0ky7rKMSrEnjagO8d12Prgf3KmbwX1iybAIfxXCJkhnOWHKwwE3M+BJ0sG2IO5P8Z7r/wVwNj4AnsJTLhOJEPpTrR7kDk6CUaTQ== [email protected]
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDh9wTTSbhjNMnfZM2iiKvPmkAzXznYQUc6al59uNCtVOSEI/Z5LC+pNGmrkG8LqfKrnMpnH7/xgTKNkz+GeTlJCTWlG5pGBcB371qNMekdk2V2Kr+z2mRofuoelsEs7+aErklJwb6kGsj46vwXmEtpTQNLiFQcHvU+xCsTIlxbjkqo2zAhDk0mlz929jASaMzvQOTYKN6VCBQMy5gBUbwGIV/lXE04TOztDdFae2XjLaYp+1zEwx6IoPv8b7XEQlMP2PsTi33KO00E3wdgptJrLmTPe9RrKMY+yxxBU3Vyno4S04vr90MpK1wqq42WSwGB6J17N+SxkBx47B5VfLL7 dbellomo@newen
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/sh

# Si anda llegar "a internet" extendemos el plazo de "deferable reboot".
# Es el último recurso para no quedar desconectados del nodo si queda en un estado inaccesible.

internet_gw_ip=8.8.8.8 #FIXME

unique_append()
{
grep -qF "$1" "$2" || echo "$1" >> "$2"
}

unique_append \
"*/10 * * * * ((if ping -c 10 -W 10 $internet_gw_ip &> /dev/null; then awk '{print \$1 + 800}' /proc/uptime > /tmp/deferable-reboot.defer ; fi )&) "\
/etc/crontabs/root




File renamed without changes.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 980b3f3

Please sign in to comment.