mirror of
https://git.disroot.org/pranav/pybatmesh.git
synced 2024-11-30 10:42:15 +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
|
# In case you forgot to change the version, skip the number
|
||||||
# and put the next number in the next commit.
|
# 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
|
# Create the BATMAN interface
|
||||||
# See 04-batman.network for configuration details
|
# See 04-batman.network for configuration details
|
||||||
[NetDev]
|
[NetDev]
|
||||||
Name=bat0
|
Name={batdev}
|
||||||
Description=BATMAN interface
|
Description=BATMAN interface
|
||||||
Kind=batadv
|
Kind=batadv
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# The batman interface be will later linked to this bridge.
|
# The batman interface be will later linked to this bridge.
|
||||||
# See 07-bridge.network to see how this bridge is configured
|
# See 07-bridge.network to see how this bridge is configured
|
||||||
[NetDev]
|
[NetDev]
|
||||||
Name=bridge0
|
Name={bridgedev}
|
||||||
Description=Bridge
|
Description=Bridge
|
||||||
Kind=bridge
|
Kind=bridge
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ MTUBytes=1560
|
|||||||
|
|
||||||
[Network]
|
[Network]
|
||||||
Description=ad-hoc network connecting to other nodes
|
Description=ad-hoc network connecting to other nodes
|
||||||
BatmanAdvanced=bat0
|
BatmanAdvanced={batdev}
|
||||||
# This interface should not have any IP addresses assigned.
|
# This interface should not have any IP addresses assigned.
|
||||||
# IP will be given later to the bridge
|
# IP will be given later to the bridge
|
||||||
DHCP=no
|
DHCP=no
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
[Match]
|
[Match]
|
||||||
Name=bat0
|
Name={batdev}
|
||||||
|
|
||||||
[Network]
|
[Network]
|
||||||
Description=The BATMAN interface
|
Description=The BATMAN interface
|
||||||
Bridge=bridge0
|
Bridge={bridgedev}
|
||||||
|
|
||||||
# like in 03-wireless-ad-hoc.network, this interface
|
# like in 03-wireless-ad-hoc.network, this interface
|
||||||
# also shouldn't have IP address the address will
|
# also shouldn't have IP address the address will
|
||||||
|
@ -11,7 +11,7 @@ WLANInterfaceType=ap
|
|||||||
Description=Wireless AP
|
Description=Wireless AP
|
||||||
|
|
||||||
# link the interface to the bridge
|
# link the interface to the bridge
|
||||||
Bridge=bridge0
|
Bridge={bridgedev}
|
||||||
|
|
||||||
# Like in the ad-hoc network and bat0, this interface
|
# Like in the ad-hoc network and bat0, this interface
|
||||||
# should not have any ip address assigned to it.
|
# should not have any ip address assigned to it.
|
||||||
|
@ -5,4 +5,4 @@ Name=en*
|
|||||||
Name=eth*
|
Name=eth*
|
||||||
|
|
||||||
[Network]
|
[Network]
|
||||||
Bridge=bridge0
|
Bridge={bridgedev}
|
||||||
|
@ -3,13 +3,14 @@
|
|||||||
# communicate with others devices
|
# communicate with others devices
|
||||||
|
|
||||||
[Match]
|
[Match]
|
||||||
Name=bridge0
|
Name={bridgedev}
|
||||||
|
|
||||||
[Network]
|
[Network]
|
||||||
# use DHCP to assign an IP
|
# Use DHCP to assign an IP
|
||||||
DHCP=yes
|
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
|
LinkLocalAddressing=yes
|
||||||
|
|
||||||
# LLMNR and MulticastDNS are used for hostname discovery
|
# LLMNR and MulticastDNS are used for hostname discovery
|
||||||
|
Loading…
Reference in New Issue
Block a user