13.02.2024, 08:59
The script should only be run once. Looks like something is wrong in your network setup.
Try running script with this modified configuration:
If this does not help then run Wireshark on the same network when this issue happens. Set filter to mdns and check what's going on.
Try running script with this modified configuration:
Code:
conf = [[
[server]
use-ipv4=yes
allow-interfaces=eth0
use-ipv6=no
check-response-ttl=yes
use-iff-running=no
[publish]
publish-addresses=yes
publish-hinfo=yes
publish-workstation=no
publish-domain=yes
[reflector]
enable-reflector=no
reflect-ipv=no
[rlimits]
rlimit-core=0
rlimit-data=4194304
rlimit-fsize=0
rlimit-nofile=30
rlimit-stack=4194304
rlimit-nproc=3
]]
io.writefile('/etc/avahi/avahi-daemon.conf', conf)
os.execute('/etc/init.d/avahi-daemon restart')
If this does not help then run Wireshark on the same network when this issue happens. Set filter to mdns and check what's going on.