mirror of
https://git.disroot.org/pranav/pybatmesh.git
synced 2024-11-30 02:32:24 +05:30
prepared *.net{work,dev} files to work with str.format()
This commit is contained in:
parent
25ac54dfad
commit
8f905ed970
@ -35,4 +35,4 @@ See README.md for documentation.
|
||||
#
|
||||
# In case you forgot to change the version, skip the number
|
||||
# and put the next number in the next commit.
|
||||
__version__ = "0.4.0a1"
|
||||
__version__ = "0.4.0a3"
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Create the BATMAN interface
|
||||
# See 04-batman.network for configuration details
|
||||
[NetDev]
|
||||
Name=bat0
|
||||
Name={batdev}
|
||||
Description=BATMAN interface
|
||||
Kind=batadv
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# The batman interface be will later linked to this bridge.
|
||||
# See 07-bridge.network to see how this bridge is configured
|
||||
[NetDev]
|
||||
Name=bridge0
|
||||
Name={bridgedev}
|
||||
Description=Bridge
|
||||
Kind=bridge
|
||||
|
||||
|
@ -10,7 +10,7 @@ MTUBytes=1560
|
||||
|
||||
[Network]
|
||||
Description=ad-hoc network connecting to other nodes
|
||||
BatmanAdvanced=bat0
|
||||
BatmanAdvanced={batdev}
|
||||
# This interface should not have any IP addresses assigned.
|
||||
# IP will be given later to the bridge
|
||||
DHCP=no
|
||||
|
@ -1,9 +1,9 @@
|
||||
[Match]
|
||||
Name=bat0
|
||||
Name={batdev}
|
||||
|
||||
[Network]
|
||||
Description=The BATMAN interface
|
||||
Bridge=bridge0
|
||||
Bridge={bridgedev}
|
||||
|
||||
# like in 03-wireless-ad-hoc.network, this interface
|
||||
# also shouldn't have IP address the address will
|
||||
|
@ -11,7 +11,7 @@ WLANInterfaceType=ap
|
||||
Description=Wireless AP
|
||||
|
||||
# link the interface to the bridge
|
||||
Bridge=bridge0
|
||||
Bridge={bridgedev}
|
||||
|
||||
# Like in the ad-hoc network and bat0, this interface
|
||||
# should not have any ip address assigned to it.
|
||||
|
@ -5,4 +5,4 @@ Name=en*
|
||||
Name=eth*
|
||||
|
||||
[Network]
|
||||
Bridge=bridge0
|
||||
Bridge={bridgedev}
|
||||
|
@ -3,13 +3,14 @@
|
||||
# communicate with others devices
|
||||
|
||||
[Match]
|
||||
Name=bridge0
|
||||
Name={bridgedev}
|
||||
|
||||
[Network]
|
||||
# use DHCP to assign an IP
|
||||
# Use DHCP to assign an IP
|
||||
DHCP=yes
|
||||
|
||||
# if DHCP fails, assign a random address
|
||||
# If DHCP fails, assign a random address. This is probably the default,
|
||||
# but we are specifying it anyway.
|
||||
LinkLocalAddressing=yes
|
||||
|
||||
# LLMNR and MulticastDNS are used for hostname discovery
|
||||
|
Loading…
Reference in New Issue
Block a user