diff --git a/LibremeshTestBed/README.md b/LibremeshTestBed/README.md new file mode 100644 index 0000000..24ed949 --- /dev/null +++ b/LibremeshTestBed/README.md @@ -0,0 +1,113 @@ +# Libremesh Test Bed - Network Profiles + + +## Overview + +This repository contains network profiles designed for testing the new release of Libremesh 2024, which is based on OpenWrt 22.05.2 and supported by the Libremesh community. These profiles are intended for use in the Libremesh test bed environment. + +## Compatibility + +- Libremesh Version: 2024 +- OpenWrt Version: 22.05.2 + +## Environment and physical connections + +### Installation +![LibremesTestBed](diagram.png) + +## Router A + +Hardware: TpLink wdr3500 + +Profile: indoor_omnidirectional_dualband + +First ethernet: WAN connected to fiber modem (wan) + +Second ethernet: mesh, connected to Router B (lan1) + +Third ethernet: mesh, connected to Router C (lan2) + +Fourth ethernet: client, local DNS server (lan3) + +IP: + +MAC: + +## Router B + +Hardware: TpLink Cpe510 v3 + +Profile: outdoor_sectorial_singleband + +First ethernet: mesh, connected to PoE and to Router A (lan1) + +IP: + +MAC: + +## Router C + +Hardware: TpLink Cpe210 v2 + +Profile: outdoor_sectorial_singleband + +First ethernet: mesh, connected to PoE and to Router A (lan1) + +IP: + +MAC: + +## Router D + +Hardware: TpLink Eap225 outdoor v3 + +Profile: outdoor_omnidirectional_dualband + +First ethernet: unused, configured as default + + +IPv4: + +MAC: + +## Router E + +Hardware: TpLink Cpe210 v2 + +Profile: outdoor_sectorial_singleband + +First ethernet: unused, configurede as default + +IP: + +MAC: + + +## Router F + +Hardware: Librerouter v1 + +Profile: librerouter + +First ethernet: WAN connected to starlink router (wan) + +Second ethernet: client, Lokal server (lan1) + +IP: + +MAC: + +# Hardware + +## Outdoor + + + +## Indoor + + + + +# Profiles + + diff --git a/LibremeshTestBed/diagram.png b/LibremeshTestBed/diagram.png new file mode 100644 index 0000000..3106799 Binary files /dev/null and b/LibremeshTestBed/diagram.png differ diff --git a/LibremeshTestBed/indoor_omnidirectional_dualband/Makefile b/LibremeshTestBed/indoor_omnidirectional_dualband/Makefile new file mode 100644 index 0000000..a6fc34c --- /dev/null +++ b/LibremeshTestBed/indoor_omnidirectional_dualband/Makefile @@ -0,0 +1,25 @@ +include $(TOPDIR)/rules.mk + +PROFILE_DESCRIPTION:=Mesh and AP for Test Bed LibreMesh 2024 indoor omnidirectional dual band nodes +PROFILE_DEPENDS:=+lime-docs-minimal \ ++lime-debug ++lime-app \ ++lime-hwd-openwrt-wan \ ++lime-proto-anygw \ ++lime-proto-babeld \ ++lime-proto-batadv \ ++shared-state \ ++shared-state-babeld_hosts \ ++shared-state-bat_hosts \ ++shared-state-nodes_and_links \ ++babeld-auto-gw-mode \ ++batctl-default \ ++check-date-http \ ++lime-docs \ ++lime-hwd-ground-routing \ ++lime-debug + + +include ../../profile.mk + +# call BuildPackage - OpenWrt buildroot signature diff --git a/LibremeshTestBed/indoor_omnidirectional_dualband/root/etc/config/lime-community b/LibremeshTestBed/indoor_omnidirectional_dualband/root/etc/config/lime-community new file mode 100644 index 0000000..2db516f --- /dev/null +++ b/LibremeshTestBed/indoor_omnidirectional_dualband/root/etc/config/lime-community @@ -0,0 +1,45 @@ +config lime system + option deferable_reboot_uptime_s '654321' # reboot every 7.5 days + +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 'BR' + option ap_ssid 'LibremeshTestBed' + option apname_ssid 'LibremeshTestBed/%H' + option ieee80211s_mesh_id 'libremesh' + +config lime-wifi-band '2ghz' + option channel '10' + list modes 'ap' + list modes 'apname' + option distance '100' + +config lime-wifi-band '5ghz' + option channel '52' + option htmode 'VHT80' + list modes 'ap' + list modes 'apname' + option distance '100' + +config net lan1onlymesh + option linux_name 'lan1' + #list protocols lan # we want all the protocols but LAN, as this ethernet port will be used for meshing, not for clients access + list protocols anygw + list protocols batadv:%N1 + list protocols babeld:17 + +config net lan2onlymesh + option linux_name 'lan2' + #list protocols lan # we want all the protocols but LAN, as this ethernet port will be used for meshing, not for clients access + list protocols anygw + list protocols batadv:%N1 + list protocols babeld:17 + +config generic_uci_config + list uci_set 'wireless.radio0.beacon_int=50' + list uci_set 'wireless.radio1.beacon_int=50' \ No newline at end of file diff --git a/LibremeshTestBed/indoor_omnidirectional_dualband/root/etc/dropbear/authorized_keys b/LibremeshTestBed/indoor_omnidirectional_dualband/root/etc/dropbear/authorized_keys new file mode 100644 index 0000000..1437106 --- /dev/null +++ b/LibremeshTestBed/indoor_omnidirectional_dualband/root/etc/dropbear/authorized_keys @@ -0,0 +1 @@ +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCMrAQzKZUDvXiliHyj/DB06L9f6RPoq3UMaEbvEYi6J7WX61bGmcH2cIr4CZDHrvzk0jk1jYyS3FVgn3iH/gVJhIOUI/VoZNgo5YOUWG27gix5yHHcL5BLrELSKr12uB0FHhjXFvfSuWFvc9CGtEhKAS9wwLdsOXxXTngxjcAP1bZdRqbz7G18Cn8wox+QEVlGFTvcBojkk9XlA20uSRsHLqegUtFgg2efEjhVJlar6f+eejVJtQoGDnP9L+bZnWMzHK6yDNZyNsdxemuyDvY1R5OtJrg9RKyFNzV5wp/AAtngcl1knkjr5WHh6Hs8U9IAN+2WeWZ4NqDWaRdCBuFZj8T+4gdNE3xMnnefx7HUgfv6ZePzvUSTff1bjGysvHK7S/PRkcLOLmamdJdRbJBdENBM1cUJ02MbIvwHUbIiqpNA8aYXEC6qUqzaXUJeSK/9xAkDTZF2rkMnvviq/74QpASPrZ+k+I7B+CX1HOAqZBXBAMhhUVWJA+ReMVl2q8M= hiure@blackhole diff --git a/LibremeshTestBed/outdoor_omnidirectional_dualband/Makefile b/LibremeshTestBed/outdoor_omnidirectional_dualband/Makefile new file mode 100644 index 0000000..6565e05 --- /dev/null +++ b/LibremeshTestBed/outdoor_omnidirectional_dualband/Makefile @@ -0,0 +1,25 @@ +include $(TOPDIR)/rules.mk + +PROFILE_DESCRIPTION:=Mesh and AP for Test Bed LibreMesh 2024 outdoor omnidirectional dual band nodes +PROFILE_DEPENDS:=+lime-docs-minimal \ ++lime-debug ++lime-app \ ++lime-hwd-openwrt-wan \ ++lime-proto-anygw \ ++lime-proto-babeld \ ++lime-proto-batadv \ ++shared-state \ ++shared-state-babeld_hosts \ ++shared-state-bat_hosts \ ++shared-state-nodes_and_links \ ++babeld-auto-gw-mode \ ++batctl-default \ ++check-date-http \ ++lime-docs \ ++lime-hwd-ground-routing \ ++lime-debug + + +include ../../profile.mk + +# call BuildPackage - OpenWrt buildroot signature diff --git a/LibremeshTestBed/outdoor_omnidirectional_dualband/root/etc/config/lime-community b/LibremeshTestBed/outdoor_omnidirectional_dualband/root/etc/config/lime-community new file mode 100644 index 0000000..d5826cb --- /dev/null +++ b/LibremeshTestBed/outdoor_omnidirectional_dualband/root/etc/config/lime-community @@ -0,0 +1,26 @@ +config lime system + option deferable_reboot_uptime_s '654321' # reboot every 7.5 days + +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 'BR' + option ap_ssid 'LibremeshTestBed' + option apname_ssid 'LibremeshTestBed/%H' + option ieee80211s_mesh_id 'libremesh' + +config lime-wifi-band '5ghz' + option channel '48' + option htmode 'VHT20' + list modes 'ieee80211s' + option distance '300' + +config lime-wifi-band '2ghz' + option channel '1' + option htmode 'HT40' + list modes 'ieee80211s' + option distance '1000' \ No newline at end of file diff --git a/LibremeshTestBed/outdoor_omnidirectional_dualband/root/etc/dropbear/authorized_keys b/LibremeshTestBed/outdoor_omnidirectional_dualband/root/etc/dropbear/authorized_keys new file mode 100644 index 0000000..1437106 --- /dev/null +++ b/LibremeshTestBed/outdoor_omnidirectional_dualband/root/etc/dropbear/authorized_keys @@ -0,0 +1 @@ +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCMrAQzKZUDvXiliHyj/DB06L9f6RPoq3UMaEbvEYi6J7WX61bGmcH2cIr4CZDHrvzk0jk1jYyS3FVgn3iH/gVJhIOUI/VoZNgo5YOUWG27gix5yHHcL5BLrELSKr12uB0FHhjXFvfSuWFvc9CGtEhKAS9wwLdsOXxXTngxjcAP1bZdRqbz7G18Cn8wox+QEVlGFTvcBojkk9XlA20uSRsHLqegUtFgg2efEjhVJlar6f+eejVJtQoGDnP9L+bZnWMzHK6yDNZyNsdxemuyDvY1R5OtJrg9RKyFNzV5wp/AAtngcl1knkjr5WHh6Hs8U9IAN+2WeWZ4NqDWaRdCBuFZj8T+4gdNE3xMnnefx7HUgfv6ZePzvUSTff1bjGysvHK7S/PRkcLOLmamdJdRbJBdENBM1cUJ02MbIvwHUbIiqpNA8aYXEC6qUqzaXUJeSK/9xAkDTZF2rkMnvviq/74QpASPrZ+k+I7B+CX1HOAqZBXBAMhhUVWJA+ReMVl2q8M= hiure@blackhole diff --git a/LibremeshTestBed/outdoor_sectorial_singleband/Makefile b/LibremeshTestBed/outdoor_sectorial_singleband/Makefile new file mode 100644 index 0000000..7d0974d --- /dev/null +++ b/LibremeshTestBed/outdoor_sectorial_singleband/Makefile @@ -0,0 +1,25 @@ +include $(TOPDIR)/rules.mk + +PROFILE_DESCRIPTION:=Mesh and AP for Test Bed LibreMesh 2024 outdoor sectorial single band nodes +PROFILE_DEPENDS:=+lime-docs-minimal \ ++lime-debug ++lime-app \ ++lime-hwd-openwrt-wan \ ++lime-proto-anygw \ ++lime-proto-babeld \ ++lime-proto-batadv \ ++shared-state \ ++shared-state-babeld_hosts \ ++shared-state-bat_hosts \ ++shared-state-nodes_and_links \ ++babeld-auto-gw-mode \ ++batctl-default \ ++check-date-http \ ++lime-docs \ ++lime-hwd-ground-routing \ ++lime-debug + + +include ../../profile.mk + +# call BuildPackage - OpenWrt buildroot signature diff --git a/LibremeshTestBed/outdoor_sectorial_singleband/root/etc/config/lime-community b/LibremeshTestBed/outdoor_sectorial_singleband/root/etc/config/lime-community new file mode 100644 index 0000000..37ee629 --- /dev/null +++ b/LibremeshTestBed/outdoor_sectorial_singleband/root/etc/config/lime-community @@ -0,0 +1,29 @@ +config lime system + option deferable_reboot_uptime_s '654321' # reboot every 7.5 days + +config lime wifi + option country 'KR' + option ap_ssid 'PSP' + option apname_ssid 'PSP/%H' + option ieee80211s_mesh_id 'LiMe' + +config lime-wifi-band '2ghz' + option channel '13' + option htmode 'HT40' + list modes 'ap' + list modes 'apname' + list modes 'ieee80211s' + option distance '300' + +config lime-wifi-band '5ghz' + option channel '157' + option htmode 'VHT80' + list modes 'ieee80211s' + option distance '1000' + +config net lan1onlymesh + option linux_name 'lan1' + #list protocols lan # we want all the protocols but LAN, as this ethernet port will be used for meshing, not for clients access + list protocols anygw + list protocols batadv:%N1 + list protocols babeld:17 diff --git a/LibremeshTestBed/outdoor_sectorial_singleband/root/etc/dropbear/authorized_keys b/LibremeshTestBed/outdoor_sectorial_singleband/root/etc/dropbear/authorized_keys new file mode 100644 index 0000000..1437106 --- /dev/null +++ b/LibremeshTestBed/outdoor_sectorial_singleband/root/etc/dropbear/authorized_keys @@ -0,0 +1 @@ +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCMrAQzKZUDvXiliHyj/DB06L9f6RPoq3UMaEbvEYi6J7WX61bGmcH2cIr4CZDHrvzk0jk1jYyS3FVgn3iH/gVJhIOUI/VoZNgo5YOUWG27gix5yHHcL5BLrELSKr12uB0FHhjXFvfSuWFvc9CGtEhKAS9wwLdsOXxXTngxjcAP1bZdRqbz7G18Cn8wox+QEVlGFTvcBojkk9XlA20uSRsHLqegUtFgg2efEjhVJlar6f+eejVJtQoGDnP9L+bZnWMzHK6yDNZyNsdxemuyDvY1R5OtJrg9RKyFNzV5wp/AAtngcl1knkjr5WHh6Hs8U9IAN+2WeWZ4NqDWaRdCBuFZj8T+4gdNE3xMnnefx7HUgfv6ZePzvUSTff1bjGysvHK7S/PRkcLOLmamdJdRbJBdENBM1cUJ02MbIvwHUbIiqpNA8aYXEC6qUqzaXUJeSK/9xAkDTZF2rkMnvviq/74QpASPrZ+k+I7B+CX1HOAqZBXBAMhhUVWJA+ReMVl2q8M= hiure@blackhole