Add bridged-routed toggle script

This commit is contained in:
Taikuh
2020-03-09 01:16:05 +08:00
parent 00c4d3b9b2
commit 9800b23e4d
6 changed files with 68 additions and 1 deletions

View File

@@ -10,6 +10,11 @@ require dhcp_server_identifier
slaac private
nohook lookup-hostname
#denyinterfaces eth0 wlan0 #BRIDGED
# RaspAP br0 configuration
interface br0
# RaspAP wlan0 configuration
interface wlan0
static ip_address=10.3.141.1/24

View File

@@ -20,3 +20,5 @@ country_code=
## RaspAP wireless client AP mode
#interface=uap0
## RaspAP bridge AP mode (disabled by default)
#bridge=br0

View File

@@ -0,0 +1,5 @@
[Match]
Name=eth0
[Network]
Bridge=br0

View File

@@ -0,0 +1,3 @@
[NetDev]
Name=br0
Kind=bridge