Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need manual restart on raspberry pi power on #621

Open
GamerMine opened this issue Apr 24, 2023 · 7 comments
Open

Need manual restart on raspberry pi power on #621

GamerMine opened this issue Apr 24, 2023 · 7 comments

Comments

@GamerMine
Copy link

Hello,
I have installed nodogsplash on my Raspberry Pi 3b+. Note that the pi has also RaspAP installed.
The problem is that when I start the Raspberry Pi, after the power on is complete, I need to manually restart the nodogsplash in order for it to works.
I don't understand why it does that because, when I look at the status once the Raspberry Pi is booted, it says that it is loaded and started, so, there is no evidence of any error at this point.

If someone now what is going on, please tell me. Thank you =)

@diogohvo
Copy link

diogohvo commented Sep 6, 2023

I had that same problem, and from what i gathered in testing, the issue is that nodogsplash starts earlier than it should. What I did to fix it was delay nodogsplash in the startup proccess. I placed nodogsplash in start priority n99. Let me know if that helps

@dvsatech
Copy link

dvsatech commented Dec 20, 2023

I am having the same issue. I have looked at several other posts that talk about nodogsplash starting too early. I have the latest version 5.0.2 and its running on raspberry pi with all updates applied. As far as I can tell the nodogsplash is not even trying to start and I can not find it in any init.d directory. I have to manually start it every time I reboot the pi. Also, I have set the sleep to 10 seconds, made no difference.

sudo ndsctl status
ndsctl: nodogsplash probably not started (Error: No such file or directory)

@mwarning
Copy link
Member

Are there any logs? You can also set a higher debug level.

@dvsatech
Copy link

dvsatech commented Dec 20, 2023 via email

@diogohvo
Copy link

If you have delayed the nodogsplash startup to 99 and still are having problems, you should try creating a script that initializes nodogsplash and run that script with a cronjob after, say, 5 minutes.

@dvsatech
Copy link

dvsatech commented Dec 21, 2023 via email

@M4Al
Copy link

M4Al commented Jul 8, 2024

I ended up disabling the nodogsplah service so it doesn't start at boot and then add this cron to the root user:

@reboot sleep 60 && systemctl start nodogsplash.service

Running on a Raspberry Pi 3b+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants