Skip to content

Commit

Permalink
Merge pull request #92 from hiurequeiroz/LibremeshTestBed
Browse files Browse the repository at this point in the history
Add LibremeshTestBed profile
  • Loading branch information
ilario authored Jan 22, 2024
2 parents 1efcf75 + afdb811 commit 6fe0f73
Show file tree
Hide file tree
Showing 11 changed files with 291 additions and 0 deletions.
113 changes: 113 additions & 0 deletions LibremeshTestBed/README.md
Original file line number Diff line number Diff line change
@@ -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


Binary file added LibremeshTestBed/diagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions LibremeshTestBed/indoor_omnidirectional_dualband/Makefile
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCMrAQzKZUDvXiliHyj/DB06L9f6RPoq3UMaEbvEYi6J7WX61bGmcH2cIr4CZDHrvzk0jk1jYyS3FVgn3iH/gVJhIOUI/VoZNgo5YOUWG27gix5yHHcL5BLrELSKr12uB0FHhjXFvfSuWFvc9CGtEhKAS9wwLdsOXxXTngxjcAP1bZdRqbz7G18Cn8wox+QEVlGFTvcBojkk9XlA20uSRsHLqegUtFgg2efEjhVJlar6f+eejVJtQoGDnP9L+bZnWMzHK6yDNZyNsdxemuyDvY1R5OtJrg9RKyFNzV5wp/AAtngcl1knkjr5WHh6Hs8U9IAN+2WeWZ4NqDWaRdCBuFZj8T+4gdNE3xMnnefx7HUgfv6ZePzvUSTff1bjGysvHK7S/PRkcLOLmamdJdRbJBdENBM1cUJ02MbIvwHUbIiqpNA8aYXEC6qUqzaXUJeSK/9xAkDTZF2rkMnvviq/74QpASPrZ+k+I7B+CX1HOAqZBXBAMhhUVWJA+ReMVl2q8M= hiure@blackhole
25 changes: 25 additions & 0 deletions LibremeshTestBed/outdoor_omnidirectional_dualband/Makefile
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCMrAQzKZUDvXiliHyj/DB06L9f6RPoq3UMaEbvEYi6J7WX61bGmcH2cIr4CZDHrvzk0jk1jYyS3FVgn3iH/gVJhIOUI/VoZNgo5YOUWG27gix5yHHcL5BLrELSKr12uB0FHhjXFvfSuWFvc9CGtEhKAS9wwLdsOXxXTngxjcAP1bZdRqbz7G18Cn8wox+QEVlGFTvcBojkk9XlA20uSRsHLqegUtFgg2efEjhVJlar6f+eejVJtQoGDnP9L+bZnWMzHK6yDNZyNsdxemuyDvY1R5OtJrg9RKyFNzV5wp/AAtngcl1knkjr5WHh6Hs8U9IAN+2WeWZ4NqDWaRdCBuFZj8T+4gdNE3xMnnefx7HUgfv6ZePzvUSTff1bjGysvHK7S/PRkcLOLmamdJdRbJBdENBM1cUJ02MbIvwHUbIiqpNA8aYXEC6qUqzaXUJeSK/9xAkDTZF2rkMnvviq/74QpASPrZ+k+I7B+CX1HOAqZBXBAMhhUVWJA+ReMVl2q8M= hiure@blackhole
25 changes: 25 additions & 0 deletions LibremeshTestBed/outdoor_sectorial_singleband/Makefile
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCMrAQzKZUDvXiliHyj/DB06L9f6RPoq3UMaEbvEYi6J7WX61bGmcH2cIr4CZDHrvzk0jk1jYyS3FVgn3iH/gVJhIOUI/VoZNgo5YOUWG27gix5yHHcL5BLrELSKr12uB0FHhjXFvfSuWFvc9CGtEhKAS9wwLdsOXxXTngxjcAP1bZdRqbz7G18Cn8wox+QEVlGFTvcBojkk9XlA20uSRsHLqegUtFgg2efEjhVJlar6f+eejVJtQoGDnP9L+bZnWMzHK6yDNZyNsdxemuyDvY1R5OtJrg9RKyFNzV5wp/AAtngcl1knkjr5WHh6Hs8U9IAN+2WeWZ4NqDWaRdCBuFZj8T+4gdNE3xMnnefx7HUgfv6ZePzvUSTff1bjGysvHK7S/PRkcLOLmamdJdRbJBdENBM1cUJ02MbIvwHUbIiqpNA8aYXEC6qUqzaXUJeSK/9xAkDTZF2rkMnvviq/74QpASPrZ+k+I7B+CX1HOAqZBXBAMhhUVWJA+ReMVl2q8M= hiure@blackhole

0 comments on commit 6fe0f73

Please sign in to comment.