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

Yadoms seems to not work without network #2

Closed
sgallou opened this issue Jan 23, 2018 · 2 comments
Closed

Yadoms seems to not work without network #2

sgallou opened this issue Jan 23, 2018 · 2 comments
Assignees
Labels

Comments

@sgallou
Copy link

sgallou commented Jan 23, 2018

On Raspberry (with Yadoms SD card image), it seems that Yadoms is not started when no network cable is plugged. No log is available.

@sgallou sgallou added the bug label Jan 23, 2018
@sgallou sgallou self-assigned this Jan 23, 2018
@sgallou
Copy link
Author

sgallou commented Jan 23, 2018

It seems that script starting Yadoms (/etc/init.d/yadoms) fails because of the iptables command launched before starting Yadoms.
Without these commands, the Pi gets an IP after cable plug (it can take several minutes), et Yadoms is alive as soon as the Pi started.

Second point : when Pi starts without cable, DHCP client will fail if timeout (default to 60s) trying to contact server expires. It will retry 5 minutes (by default) later. Should we decrease this last paramter to 1 minute ?

@sgallou
Copy link
Author

sgallou commented Jan 24, 2018

Seems that ntp call prevents Yadoms to start too.
Need more work to fix this issue.

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

No branches or pull requests

2 participants