feat: Use wireless device as software AP for Tytonidae
This commit is contained in:
parent
a7894c6f6a
commit
cec21244b3
2 changed files with 26 additions and 5 deletions
|
|
@ -39,8 +39,11 @@
|
|||
# Bond = "bond0";
|
||||
# PrimarySlave = true;
|
||||
|
||||
DHCP = "ipv4";
|
||||
DHCP = "yes";
|
||||
IPv6AcceptRA = true;
|
||||
|
||||
IPMasquerade = "yes";
|
||||
IPv4Forwarding = "yes";
|
||||
};
|
||||
linkConfig = {
|
||||
RequiredForOnline = "routable";
|
||||
|
|
@ -49,6 +52,24 @@
|
|||
Name = "eno2";
|
||||
};
|
||||
};
|
||||
"20-wlan0" = {
|
||||
matchConfig = {
|
||||
Name = "wlan0";
|
||||
};
|
||||
|
||||
address = ["192.168.110.1/24"];
|
||||
networkConfig = {
|
||||
DHCPServer = "yes";
|
||||
IPMasquerade = "yes";
|
||||
IPv4Forwarding = "yes";
|
||||
};
|
||||
dhcpServerConfig = {
|
||||
PoolOffset = 100;
|
||||
PoolSize = 20;
|
||||
EmitDNS = "yes";
|
||||
DNS = "8.8.8.8";
|
||||
};
|
||||
};
|
||||
# "20-wlan0" = {
|
||||
# networkConfig = {
|
||||
# # Bond = "bond0";
|
||||
|
|
@ -87,8 +108,8 @@
|
|||
Enabled = true;
|
||||
};
|
||||
General = {
|
||||
# EnableNetworkConfiguration = false;
|
||||
EnableNetworkConfiguration = true;
|
||||
EnableNetworkConfiguration = false;
|
||||
# EnableNetworkConfiguration = true;
|
||||
};
|
||||
Settings = {
|
||||
AutoConnect = true;
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ include {
|
|||
}
|
||||
|
||||
global {
|
||||
lan_interface: auto
|
||||
wan_interface: auto
|
||||
lan_interface: wlan0,eno2
|
||||
wan_interface: eno2
|
||||
|
||||
log_level: trace
|
||||
allow_insecure: false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue