Android手机中的dnsmasq.conf在哪里?

Android手机中的dnsmasq.conf在哪里?,第1张

概述在 Android的命令行中,有dnsmasq命令.但是所有配置文件(dnsmasq.conf,dnsmasq.pid ……)在哪里? 我尝试创建自己的配置文件并使用以下命令: dnsmasq --conf-file=the/location/of/my/file 它说: dnsmasq: failed to open pidfile /var/run/dnsmasq.pid: No such f 在 Android的命令行中,有dnsmasq命令.但是所有配置文件(dnsmasq.conf,dnsmasq.pID ……)在哪里?

我尝试创建自己的配置文件并使用以下命令:

dnsmasq --conf-file=the/location/of/my/file

它说:

dnsmasq: Failed to open pIDfile /var/run/dnsmasq.pID: No such file or directory

当我创建pID文件时,它说:

dnsmasq: Failed to open pIDfile dnsmasq.pID: Read-only file system

有关如何控制dnsmasq(DHCP,DNS服务器)的任何建议?

解决方法 调试模式(-d或–no-daemon)通过不分叉来避免需要pID文件,如果这有帮助的话.

更新:没有参数的–pID-file看起来像是避免需要pID文件的更好方法.

总结

以上是内存溢出为你收集整理的Android手机中的dnsmasq.conf在哪里?全部内容,希望文章能够帮你解决Android手机中的dnsmasq.conf在哪里?所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1124831.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-30
下一篇 2022-05-30

发表评论

登录后才能评论

评论列表(0条)

保存