Skip to content

Commit

Permalink
Update lime-example
Browse files Browse the repository at this point in the history
  • Loading branch information
ilario committed Mar 13, 2017
1 parent 8b2c835 commit 6258e68
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions packages/lime-system/files/etc/config/lime-example
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
### System options

config lime system
option hostname 'LiMeNode-%M4%M5%M6' # Parametrizable with %Mn
option hostname 'LiMe-%M4%M5%M6' # Parametrizable with %Mn
option domain 'lan' # DNS domain for the L2 cloud it could be something like mycloud.mynetwork.tld, hosts that get their IP by DHCP will also get a fully qualified domain name like hostname.mycloud.mynetwork.tld


Expand All @@ -23,8 +23,8 @@ config lime system
config lime network
# option primary_interface eth0 # The mac address of this device will be used in different places
# option bmx6_over_batman false # Disables Bmx6 meshing on top of batman
option main_ipv4_address '192.0.2.0/24' # Here you have 4 possibilities: set a static IP and the subnet, like '192.0.2.1/16'; parametrize with %Mn and %Nn, and set the subnet, like '192.%N1.%M5.%M6/16'; set a whole network address (so not a specific IP) for getting the IP autocompleted in that network with bits from MAC address, this works also with netmasks other than /24 or /16, like '192.0.128.0/17' (but not valid network addresses, for example '192.0.128.0/16' or '192.0.129.0/17', won't get parametrized); set two different parameters, the first for subnet and the second for IP parametrization, like '192.0.128.0/16/17', this results in /16 subnet but IP parametrized in a /17 range.
option main_ipv6_address '2001:db8::%M5:%M6/64' # Parametrizable in the same way as main_ipv4_address. If used, the IP autocompletion will fill maximum the last 24 bits, so specifying an IP autocompletion range bigger than /104 is not useful.
option main_ipv4_address '10.%N1.0.0/16' # Here you have 4 possibilities: set a static IP and the subnet, like '192.0.2.1/16'; parametrize with %Mn and %Nn, and set the subnet, like '192.%N1.%M5.%M6/16'; set a whole network address (so not a specific IP) for getting the IP autocompleted in that network with bits from MAC address, this works also with netmasks other than /24 or /16, like '192.0.128.0/17' (but not valid network addresses, for example '192.0.128.0/16' or '192.0.129.0/17', won't get parametrized); set two different parameters, the first for subnet and the second for IP parametrization, like '192.0.128.0/16/17', this results in /16 subnet but IP parametrized in a /17 range.
option main_ipv6_address '2a00:1508:0a%N1:%N200::/64' # Parametrizable in the same way as main_ipv4_address. If used, the IP autocompletion will fill maximum the last 24 bits, so specifying an IP autocompletion range bigger than /104 is not useful.
list protocols adhoc # List of protocols configured by LiMe, some of these require the relative package "lime-proto-...". Note that if you set here some protocols, you overwrite the *whole* list of protocols set in /etc/config/lime-defaults
list protocols lan
list protocols anygw
Expand All @@ -34,8 +34,9 @@ config lime network
# list protocols olsr:14
# list protocols olsr6:15
# list protocols olsr2:16
# list resolvers 8.8.8.8 # DNS servers node will use
# list resolvers 2001:4860:4860::8844
# list resolvers 4.2.2.2 # b.resolvers.Level3.net # DNS servers node will use
# list resolvers 141.1.1.1 # cns1.cw.net
# list resolvers 2001:470:20::2 # ordns.he.net
# option autoap_enabled 0 # Requires lime-ap-watchping installed. If enabled AP SSID is changed to ERROR when network issues
# option autoap_hosts "8.8.8.8 141.1.1.1" # Requires lime-ap-watchping installed. Hosts used to check if the network is working fine

Expand All @@ -44,16 +45,16 @@ config lime network
config lime wifi
# option country 'ES'
# option channel_2ghz '11'
# option channel_5ghz '48' # Check for allowed channels on https://en.wikipedia.org/wiki/List_of_WLAN_channels#5.C2.A0GHz_.28802.11a.2Fh.2Fj.2Fn.2Fac.29.5B16.5D
# option channel_5ghz '48' # Check for allowed channels on https://en.wikipedia.org/wiki/List_of_WLAN_channels#regulatory_tables5.0ghz
# option htmode_2ghz 'HT20'
# option htmode_5ghz 'HT40'
# list modes 'ap'
# list modes 'apname'
# list modes 'adhoc'
# list modes 'client'
option ap_ssid 'libremesh.org'
option apname_ssid '%H'
# option adhoc_ssid '%H' # Parametrizable with %M, %H
option ap_ssid 'LibreMesh.org'
option apname_ssid 'LibreMesh.org/%H'
# option adhoc_ssid 'LiMe' # Parametrizable with %M, %H
# option adhoc_bssid 'ca:fe:00:c0:ff:ee'
# option adhoc_mcast_rate_2ghz '24000'
# option adhoc_mcast_rate_5ghz '6000'
Expand All @@ -68,7 +69,7 @@ config lime wifi
# option channel_2ghz '1'
# option channel_5ghz '48'
# option adhoc_mcast_rate '6000'
# option adhoc_ssid 'libremesh'
# option adhoc_ssid 'LiMe'
# option adhoc_bssid 'ca:fe:00:c0:ff:ee'

#config wifi radio12
Expand Down

0 comments on commit 6258e68

Please sign in to comment.