diff --git a/canodrom.barcelona/gatewayVPN/Makefile b/canodrom.barcelona/gatewayVPN/Makefile deleted file mode 100644 index cc67910..0000000 --- a/canodrom.barcelona/gatewayVPN/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -include $(TOPDIR)/rules.mk - -PROFILE_DESCRIPTION:=Gateway with VPN for remote connection to wifi mesh testing network in Canodrom @Barcelona -PROFILE_DEPENDS:= +wireguard +wireguard-tools - -include ../../profile.mk - -# call BuildPackage - OpenWrt buildroot signature diff --git a/canodrom.barcelona/gatewayVPN/root/etc/config/lime-10FEEDE5F0C8 b/canodrom.barcelona/gatewayVPN/root/etc/config/lime-10FEEDE5F0C8 deleted file mode 100644 index 5da6d60..0000000 --- a/canodrom.barcelona/gatewayVPN/root/etc/config/lime-10FEEDE5F0C8 +++ /dev/null @@ -1,6 +0,0 @@ -config lime system - option hostname 'gateway_device43' - -config generic_uci_config location_coord - list uci_set 'location.settings.node_latitude=41.4275830' - list uci_set 'location.settings.node_longitude=2.183551' diff --git a/canodrom.barcelona/gatewayVPN/root/etc/config/lime-10FEEDE60AD8 b/canodrom.barcelona/gatewayVPN/root/etc/config/lime-10FEEDE60AD8 deleted file mode 100644 index 8557caf..0000000 --- a/canodrom.barcelona/gatewayVPN/root/etc/config/lime-10FEEDE60AD8 +++ /dev/null @@ -1,6 +0,0 @@ -config lime system - option hostname 'gateway_device28' - -config generic_uci_config location_coord - list uci_set 'location.settings.node_latitude=41.4274227' - list uci_set 'location.settings.node_longitude=2.1831934' diff --git a/canodrom.barcelona/gatewayVPN/root/etc/config/lime-6466B3C6EDCA b/canodrom.barcelona/gatewayVPN/root/etc/config/lime-6466B3C6EDCA deleted file mode 100644 index 8e59207..0000000 --- a/canodrom.barcelona/gatewayVPN/root/etc/config/lime-6466B3C6EDCA +++ /dev/null @@ -1,6 +0,0 @@ -config lime system - option hostname 'gateway_device7' - -config generic_uci_config location_coord - list uci_set 'location.settings.node_latitude=41.4274375' - list uci_set 'location.settings.node_longitude=2.1827042' diff --git a/canodrom.barcelona/gatewayVPN/root/etc/config/lime-6466B3CE2F1E b/canodrom.barcelona/gatewayVPN/root/etc/config/lime-6466B3CE2F1E deleted file mode 100644 index 8a2b1f0..0000000 --- a/canodrom.barcelona/gatewayVPN/root/etc/config/lime-6466B3CE2F1E +++ /dev/null @@ -1,6 +0,0 @@ -config lime system - option hostname 'gateway_device9' - -config generic_uci_config location_coord - list uci_set 'location.settings.node_latitude=41.4274375' - list uci_set 'location.settings.node_longitude=2.1827042' diff --git a/canodrom.barcelona/gatewayVPN/root/etc/config/lime-6466B3FAAF88 b/canodrom.barcelona/gatewayVPN/root/etc/config/lime-6466B3FAAF88 deleted file mode 100644 index e9fea60..0000000 --- a/canodrom.barcelona/gatewayVPN/root/etc/config/lime-6466B3FAAF88 +++ /dev/null @@ -1,6 +0,0 @@ -config lime system - option hostname 'gateway_device6' - -config generic_uci_config location_coord - list uci_set 'location.settings.node_latitude=41.4274375' - list uci_set 'location.settings.node_longitude=2.1827042' diff --git a/canodrom.barcelona/gatewayVPN/root/etc/config/lime-6470023E9D2A b/canodrom.barcelona/gatewayVPN/root/etc/config/lime-6470023E9D2A deleted file mode 100644 index f9d0359..0000000 --- a/canodrom.barcelona/gatewayVPN/root/etc/config/lime-6470023E9D2A +++ /dev/null @@ -1,6 +0,0 @@ -config lime system - option hostname 'gateway_device26' - -config generic_uci_config location_coord - list uci_set 'location.settings.node_latitude=41.4274227' - list uci_set 'location.settings.node_longitude=2.1831934' diff --git a/canodrom.barcelona/gatewayVPN/root/etc/config/lime-6470023E9D60 b/canodrom.barcelona/gatewayVPN/root/etc/config/lime-6470023E9D60 deleted file mode 100644 index 09622bf..0000000 --- a/canodrom.barcelona/gatewayVPN/root/etc/config/lime-6470023E9D60 +++ /dev/null @@ -1,6 +0,0 @@ -config lime system - option hostname 'gateway_device29' - -config generic_uci_config location_coord - list uci_set 'location.settings.node_latitude=41.4275745' - list uci_set 'location.settings.node_longitude=2.1833688' diff --git a/canodrom.barcelona/gatewayVPN/root/etc/config/lime-6470023E9DC6 b/canodrom.barcelona/gatewayVPN/root/etc/config/lime-6470023E9DC6 deleted file mode 100644 index 998f284..0000000 --- a/canodrom.barcelona/gatewayVPN/root/etc/config/lime-6470023E9DC6 +++ /dev/null @@ -1,6 +0,0 @@ -config lime system - option hostname 'gateway_device15' - -config generic_uci_config location_coord - list uci_set 'location.settings.node_latitude=41.4275750' - list uci_set 'location.settings.node_longitude=2.183007' diff --git a/canodrom.barcelona/gatewayVPN/root/etc/config/lime-6470023E9E90 b/canodrom.barcelona/gatewayVPN/root/etc/config/lime-6470023E9E90 deleted file mode 100644 index c2598c7..0000000 --- a/canodrom.barcelona/gatewayVPN/root/etc/config/lime-6470023E9E90 +++ /dev/null @@ -1,6 +0,0 @@ -config lime system - option hostname 'gateway_device34' - -config generic_uci_config location_coord - list uci_set 'location.settings.node_latitude=41.4275745' - list uci_set 'location.settings.node_longitude=2.1833688' diff --git a/canodrom.barcelona/gatewayVPN/root/etc/config/lime-647002C303B4 b/canodrom.barcelona/gatewayVPN/root/etc/config/lime-647002C303B4 deleted file mode 100644 index fb7e700..0000000 --- a/canodrom.barcelona/gatewayVPN/root/etc/config/lime-647002C303B4 +++ /dev/null @@ -1,6 +0,0 @@ -config lime system - option hostname 'gateway_device35' - -config generic_uci_config location_coord - list uci_set 'location.settings.node_latitude=41.4274254' - list uci_set 'location.settings.node_longitude=2.183692' diff --git a/canodrom.barcelona/gatewayVPN/root/etc/config/lime-647002C31334 b/canodrom.barcelona/gatewayVPN/root/etc/config/lime-647002C31334 deleted file mode 100644 index 459564a..0000000 --- a/canodrom.barcelona/gatewayVPN/root/etc/config/lime-647002C31334 +++ /dev/null @@ -1,6 +0,0 @@ -config lime system - option hostname 'gateway_device20' - -config generic_uci_config location_coord - list uci_set 'location.settings.node_latitude=41.4275750' - list uci_set 'location.settings.node_longitude=2.183007' diff --git a/canodrom.barcelona/gatewayVPN/root/etc/config/lime-A0F3C1A5F9FC b/canodrom.barcelona/gatewayVPN/root/etc/config/lime-A0F3C1A5F9FC deleted file mode 100644 index d152c16..0000000 --- a/canodrom.barcelona/gatewayVPN/root/etc/config/lime-A0F3C1A5F9FC +++ /dev/null @@ -1,6 +0,0 @@ -config lime system - option hostname 'gateway_device41' - -config generic_uci_config location_coord - list uci_set 'location.settings.node_latitude=41.4274254' - list uci_set 'location.settings.node_longitude=2.183692' diff --git a/canodrom.barcelona/gatewayVPN/root/etc/config/lime-A0F3C1A5FA36 b/canodrom.barcelona/gatewayVPN/root/etc/config/lime-A0F3C1A5FA36 deleted file mode 100644 index 57d2770..0000000 --- a/canodrom.barcelona/gatewayVPN/root/etc/config/lime-A0F3C1A5FA36 +++ /dev/null @@ -1,6 +0,0 @@ -config lime system - option hostname 'gateway_device42' - -config generic_uci_config location_coord - list uci_set 'location.settings.node_latitude=41.4275830' - list uci_set 'location.settings.node_longitude=2.183551' diff --git a/canodrom.barcelona/gatewayVPN/root/etc/config/lime-community b/canodrom.barcelona/gatewayVPN/root/etc/config/lime-community deleted file mode 100644 index ae89cac..0000000 --- a/canodrom.barcelona/gatewayVPN/root/etc/config/lime-community +++ /dev/null @@ -1,31 +0,0 @@ -config lime network - option main_ipv4_address '10.1.128.0/16/17' - option anygw_dhcp_start '2562' - option anygw_dhcp_limit '30205' - option batadv_orig_interval '5000' - -config lime wifi - option country 'ES' - option ap_ssid 'LibreMesh.org' - option apname_ssid 'LibreMesh.org/%H' - option ieee80211s_mesh_id 'libremesh' - -config lime-wifi-band '2ghz' - option channel '13' - option distance '500' - -config lime-wifi-band '5ghz' - option channel '48' - option distance '500' - -config run_asset root_password - option asset 'community/root_password' - 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' diff --git a/canodrom.barcelona/gatewayVPN/root/etc/lime-assets/community/authorized_keys b/canodrom.barcelona/gatewayVPN/root/etc/lime-assets/community/authorized_keys deleted file mode 100644 index 2730d10..0000000 --- a/canodrom.barcelona/gatewayVPN/root/etc/lime-assets/community/authorized_keys +++ /dev/null @@ -1,3 +0,0 @@ -ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL6yvUIq5lyDxswAUfo8vrsDaG9VU7sMvx6AvQhG35I1 ilario@sindominio.net -ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGuZnYnYWHIgBe8L28DeGEW54GNzIsA49Y1/ouA6PB/w pedro@dweb -ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOdNNWmLMJNMkO0UzkOrNjAONlzQ2oBkA+b0f/Lq6RqJ angel diff --git a/canodrom.barcelona/gatewayVPN/root/etc/lime-assets/community/fix_authorized_keys_permissions b/canodrom.barcelona/gatewayVPN/root/etc/lime-assets/community/fix_authorized_keys_permissions deleted file mode 100644 index 4a6329f..0000000 --- a/canodrom.barcelona/gatewayVPN/root/etc/lime-assets/community/fix_authorized_keys_permissions +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -# Fix dropbear authorized keys permissions -chmod 0600 /etc/dropbear/authorized_keys -chmod 0700 /etc/dropbear diff --git a/canodrom.barcelona/gatewayVPN/root/etc/lime-assets/community/root_password b/canodrom.barcelona/gatewayVPN/root/etc/lime-assets/community/root_password deleted file mode 100644 index 77993ed..0000000 --- a/canodrom.barcelona/gatewayVPN/root/etc/lime-assets/community/root_password +++ /dev/null @@ -1,11 +0,0 @@ -!#/bin/sh - -# Disclamer: We know that hardcoding the password is a bad idea and that uploading its hash on the internet is stupid - -# as recommended by Pedro here: -# https://agora.exo.cat/t/decidir-gestio-testbed/318/9 -# salt=$(openssl rand -base64 12) -# password=FIXME -# hashed_passwd=$(openssl passwd -6 -salt "$salt" "$password") - -sed -i 's/root::/root:$6$5VUgcTdRQN4igoWs$ZuZu.4ruzVUQ.Yg3klttzl57NrDySmJZOWKngIL9V/AjEDyCkx.o.cfIo2wLuJdCl9GHNR5sKm.ld5/09Q0WQ1:/' /etc/shadow