Alozaros DD-WRT Guru
Joined: 16 Nov 2015 Posts: 6447 Location: UK, London, just across the river..
|
Posted: Mon Dec 23, 2019 8:11 Post subject: Re: Avahi-daemon is not starting |
|
dirnt wrote: | Avahi-daemon is show error to start: failed to create runtime directory /opt/var/run/avahi-daemon/.
root@PND-DD-WRT:/opt/etc/init.d# ./rc.unslung check
Checking dbus-daemon... alive.
Checking avahi-daemon... dead.
root@PND-DD-WRT:/opt# cat /etc/passwd
root:xxxxxx
reboot:xxxx
nobody:x:99:99:Nobody:/:/bin/false
nobody:*:114:114:avahi:/opt/sbin/avahi-daemon:/bin/false
root@PND-DD-WRT:/opt# cat /etc/group
root:x:0:
nobody:x:99:
netdev:x:1:
nogroup:x:114:nobody
Commands -> Startup
echo "netdev:x:1:" >> /tmp/etc/group
echo "nogroup:x:114:nobody" >> /etc/group
echo "nobody:*:114:114:avahi:/opt/sbin/avahi- daemon:/bin/false" >> /etc/passwd |
what is the reason you are using those...? i know what this is for but just asking ??
not bad to mention router model and current build running... _________________ Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913 |
|
Mr.R™ DD-WRT Novice
Joined: 01 Jun 2010 Posts: 28
|
Posted: Mon Dec 23, 2019 23:15 Post subject: |
|
So i did a reinstall of entware today as i had previously used lanchons secure patch to install, everything was working but dbus was not, thinking that this may be the issue as you experienced the opposite i used the default entware method
Code: | On ARM devices:
wget -O - http://pkg.entware.net/binaries/armv7/installer/entware_install.sh | sh
On MIPS devices:
wget -O - http://pkg.entware.net/binaries/mipsel/installer/installer.sh | sh |
(incase you used a different method)
and proceeded to install avahi and dbus, dbus works but avahi seems to start then dies, to rectify this do the following:
open Code: | /opt/etc/avahi/avahi-daemon.conf | with a txt editor (i installed and used nano) and add this at the bottom of the server section:
then Code: | /opt/etc/init.d/S42avahi-daemon restart | and you should be good to go, avahi and dbus both working on arm, for me at least |
|