dnsmasq homebrew kullanılarak kurulur. Şu anda dnsmasq, system.log'umu şunun gibi mesajlarla spam gönderiyor:
Sep 26 18:22:46 Laptop com.apple.xpc.launchd[1] (homebrew.mxcl.dnsmasq[14526]): Service exited with abnormal code: 2
Sep 26 18:22:46 Laptop com.apple.xpc.launchd[1] (homebrew.mxcl.dnsmasq): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Sep 26 18:22:56 Laptop com.apple.xpc.launchd[1] (homebrew.mxcl.dnsmasq[14527]): Service exited with abnormal code: 2
Sep 26 18:22:56 Laptop com.apple.xpc.launchd[1] (homebrew.mxcl.dnsmasq): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Sep 26 18:23:06 Laptop com.apple.xpc.launchd[1] (homebrew.mxcl.dnsmasq[14528]): Service exited with abnormal code: 2
Sep 26 18:23:06 Laptop com.apple.xpc.launchd[1] (homebrew.mxcl.dnsmasq): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Sep 26 18:23:16 Laptop com.apple.xpc.launchd[1] (homebrew.mxcl.dnsmasq[14529]): Service exited with abnormal code: 2
Sep 26 18:23:16 Laptop com.apple.xpc.launchd[1] (homebrew.mxcl.dnsmasq): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
dnsmasq'a sadece Thunderbolt Ethernet adaptörünü kullanmasını söyledim ve bu adaptör aktif olmadığında dnsmasq bulamıyor, bu yüzden hizmeti başlatamıyor.
Dnsmasq servisini SADECE Thunderbolt Ethernet adaptörü aktifken çalıştırmak istiyorum. Tüm arayüzlerde çalıştıramıyorum.
Şu anki sorunum şuna benziyor:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>homebrew.mxcl.dnsmasq</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/opt/dnsmasq/sbin/dnsmasq</string>
<string>--keep-in-foreground</string>
<string>-C</string>
<string>/usr/local/etc/dnsmasq.conf</string>
</array>
<key>Requires</key>
<array>
<string>Network</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
</dict>
</plist>
Belirli bir ağ bağdaştırıcısı etkin olduğunda, SADECE dnsmasq'ın nasıl başlatılacağına dair herhangi bir belge bulamıyorum. Herhangi bir fikir?