samples -> examples
Some checks failed
CMake / ubuntu-latest - shared=ON, pthread=OFF, posix=OFF (push) Has been cancelled
CMake / ubuntu-latest - shared=OFF, pthread=OFF, posix=ON (push) Has been cancelled
CMake / ubuntu-latest - shared=ON, pthread=OFF, posix=ON (push) Has been cancelled
CMake / ubuntu-latest - shared=OFF, pthread=ON, posix=ON (push) Has been cancelled
CMake / ubuntu-latest - shared=OFF, pthread=OFF, posix=OFF (push) Has been cancelled
CMake / ubuntu-latest - shared=ON, pthread=ON, posix=ON (push) Has been cancelled
Some checks failed
CMake / ubuntu-latest - shared=ON, pthread=OFF, posix=OFF (push) Has been cancelled
CMake / ubuntu-latest - shared=OFF, pthread=OFF, posix=ON (push) Has been cancelled
CMake / ubuntu-latest - shared=ON, pthread=OFF, posix=ON (push) Has been cancelled
CMake / ubuntu-latest - shared=OFF, pthread=ON, posix=ON (push) Has been cancelled
CMake / ubuntu-latest - shared=OFF, pthread=OFF, posix=OFF (push) Has been cancelled
CMake / ubuntu-latest - shared=ON, pthread=ON, posix=ON (push) Has been cancelled
Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
23
examples/network.dcfg
Normal file
23
examples/network.dcfg
Normal file
@@ -0,0 +1,23 @@
|
||||
fn lib = {
|
||||
enable = true
|
||||
|
||||
interfaces = {
|
||||
eth0.ip = '192.168.0.10'
|
||||
eth0.gateway = '192.168.0.1'
|
||||
eth0.dns = [ '8.8.8.8' '1.1.1.1' ]
|
||||
|
||||
wlan0 = {
|
||||
ssid = "HomeWiFi"
|
||||
password = "super_secret"
|
||||
dhcp = on
|
||||
}
|
||||
}
|
||||
|
||||
firewall = {
|
||||
tcp = (lib.join
|
||||
[ 22 80 443 ]
|
||||
(lib.list_from_range 3000 3010)
|
||||
)
|
||||
udp = [ 53 123 ]
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user