Somes services and wireles interface down after restart

Hi. I got some problems with my Turris (since the very 1st day, the bug persists after 3.3 version). When the router reboots some of the services tagged for autostart doesn’t start (transmission, samba) and the 5ghz wireless interfaces is down. I have to restar them manually to make them work again.

Any idea how to solve this?

1 Like

still trying to fix it. Don’t know what to check. init.d folder has its files as it should, the turris web interfaces says it is well configured… any other tip?

Could you put the output of this…

ls -l /etc/init.d/

Also could you post the the system.log here…

Did you try doing /etc/init.d/<servicename> enable (where <servicename> is the name of the service you want to enable at boot)? I noticed at least for OpenVPN that it was required or it wouldn’t start on boot (same for sshtunnel).

1 Like

Hi, here we go (so for late reply, i don’t receive the suscription mails):

root@turris:~# ls -lh /etc/init.d/
-rwxr-xr-x 1 root root 2.4K Sep 5 15:19 ahcpd
-rwxr-xr-x 1 root root 692 Sep 5 14:00 atd
-rwxrwxr-x 1 root root 2.1K Aug 1 2016 boot
-rwxr-xr-x 1 root root 1.4K Sep 5 13:02 br2684ctl
-rwxr-xr-x 1 root root 145 Sep 5 14:37 btrfs-scan
-rwxr-xr-x 1 root root 220 Sep 5 15:40 collectd
-rwxr-xr-x 1 root root 274 Sep 5 14:43 conntrackd
-rwxr-xr-x 1 root root 397 Dec 5 19:24 cron
-rwxr-xr-x 1 root root 324 Sep 5 15:19 ddns
-rwxr-xr-x 1 root root 15.1K Dec 5 19:04 dnsmasq
-rwxrwxr-x 1 root root 255 Apr 26 2016 done
-rwxr-xr-x 1 root root 2.4K Sep 5 13:01 etherwake
-rwxr-xr-x 1 root root 997 Sep 5 15:18 firewall
-rwxr-xr-x 1 root root 341 Sep 5 15:34 fstab
-rwxr-xr-x 1 root root 1.4K Sep 5 13:32 hd-idle
-rwxr-xr-x 1 root root 5.4K Jan 25 16:14 kresd
-rwxrwxr-x 1 root root 2.1K Dec 14 17:40 led_autoconfig
-rwxr-xr-x 1 root root 1.1K Sep 5 15:31 libatsha204
-rwxr-xr-x 1 root root 464 Jan 6 20:50 lighttpd
-rwxrwxr-x 1 root root 527 Dec 5 16:49 luci_statistics
-rwxr-xr-x 1 root root 323 Sep 5 14:18 lvm2
-rwxr-xr-x 1 root root 983 Jan 25 15:23 lxc-auto
-rwxr-xr-x 1 root root 2.1K Dec 12 19:51 minidlna
-rwxr-xr-x 1 root root 5.5K Sep 5 14:49 miniupnpd
-rwxr-xr-x 1 root root 2.2K Sep 5 14:09 mjpg-streamer
-rwxr-xr-x 1 root root 219 Sep 5 15:17 mountd
-rwxr-xr-x 1 root root 241 Sep 5 15:31 nethist
-rwxrwxr-x 1 root root 2.6K Dec 5 16:48 network
-rwxr-xr-x 1 root root 754 Sep 5 14:39 nfsd
-rwxr-xr-x 1 root root 288 Jan 25 15:36 ntpdate
-rwxr-xr-x 1 root root 244 Sep 5 15:10 odhcpd
-rwxr-xr-x 1 root root 4.8K Sep 5 14:45 openvpn
-rwxr-xr-x 1 root root 319 Sep 5 13:24 portmap
-rwxr-xr-x 1 root root 1.5K Sep 5 15:16 pptpd
-rwxr-xr-x 1 root root 691 Sep 5 13:24 rainbow
-rwxr-xr-x 1 root root 2.3K Sep 5 14:11 relayd
-rwxr-xr-x 1 root root 7.1K Dec 5 17:52 resolver
-rwxr-xr-x 1 root root 249 Sep 5 15:19 rpcd
-rwxr-xr-x 1 root root 232 Sep 5 14:33 rsyncd
-rwxr-xr-x 1 root root 2.6K Sep 5 13:47 samba
-rwxrwxr-x 1 root root 2.2K Aug 1 2016 setup_led
-rwxr-xr-x 1 root root 93 Dec 5 19:25 sfpled
-rwxr-xr-x 1 root root 381 Dec 5 19:25 sfpswitch
-rwxr-xr-x 1 root root 217 Sep 5 13:56 smartd
-rwxr-xr-x 1 root root 619 Dec 5 19:00 socat
-rwxr-xr-x 1 root root 169 Dec 5 19:37 sqm
-rwxr-xr-x 1 root root 8.6K Jan 6 20:43 sshd
-rwxr-xr-x 1 root root 259 Sep 5 13:24 start-indicator
-rwxrwxr-x 1 root root 125 Apr 26 2016 sysctl
-rwxrwxr-x 1 root root 687 Apr 26 2016 sysfixtime
-rwxr-xr-x 1 root root 406 Sep 5 14:37 syslog-ng
-rwxr-xr-x 1 root root 885 Dec 19 05:24 sysntpd
-rwxrwxr-x 1 root root 1.0K Apr 26 2016 system
-rwxr-xr-x 1 root root 926 Dec 19 05:24 telnet
-rwxr-xr-x 1 root root 3.3K Sep 5 13:02 tinyproxy
-rwxr-xr-x 1 root root 3.8K Sep 5 14:41 transmission
-rwxrwxr-x 1 root root 106 Apr 26 2016 umount
-rwxr-xr-x 1 root root 8.0K Dec 5 19:27 unbound
-rwxr-xr-x 1 root root 665 Sep 5 15:34 update_mac
-rwxr-xr-x 1 root root 306 Jan 18 10:14 updater
-rwxr-xr-x 1 root root 188 Sep 5 14:36 usbmode
-rwxr-xr-x 1 root root 195 Sep 5 14:41 vsftpd
-rwxr-xr-x 1 root root 327 Sep 5 13:25 watchdog_adjust
-rwxr-xr-x 1 root root 596 Sep 5 13:25 wol

Thanks I have tried to manually enable them. After a manual reboot they services do autostart, so it feels as it fixed it. As the init.d was right, didn’t tried that simple solution. Thanks!
In case It starts failing again I will come back again.

You can do a

for F in /etc/init.d/* ; do $F enabled && echo $F on || echo $F **disabled**; done

to see which service is enabled or disabled.