Comments (12)
Do you still have the wired connection plugged in? Rpisurv start the moment there at least one network device which is up
from rpisurv.
its wireless only, no lan cable plugged in :(
from rpisurv.
Can you try:
systemctl enable systemd-networkd-wait-online.service
from rpisurv.
Sorry for delay
pi@raspberrypi:~ $ systemctl enable systemd-networkd-wait-online.service
Failed to enable unit: The name org.freedesktop.PolicyKit1 was not provided by any .service files
pi@raspberrypi:~ $
from rpisurv.
Sorry ignore that forgot to use sudo
That enabled the service but after reboot it still loads before the network and says all streams are not available
from rpisurv.
Pi@raspberrypi:~ $ sudo systemctl enable systemd-networkd-wait-online.service
Created symlink /etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service → /lib/systemd/system/systemd-networkd-wait-online.service.
pi@raspberrypi:~ $
from rpisurv.
I had a similar issue with rpisurv loading before the network was ready, wired only in my situation. Enabling systemd-networkd-wait-online.service did not resolve the issue.
Editing the /usr/bin/rpisurv file and adding /bin/sleep 10 resolved the issue in my case. This provided enough of a delay for the network to be active. Resulting rpisurv file:
from rpisurv.
I can not reproduce the issue. Could you try to
Wants=network-online.target
to the systemd file and reboot
` cat /etc/systemd/system/rpisurv.service
[Unit]
Description=Rpisurv Raspberry Pi Surveillance
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
ExecStart=/usr/bin/rpisurv
KillMode=control-group
Restart=on-failure
[Install]
WantedBy=multi-user.target
`
from rpisurv.
My current systemd file already has these lines in place.
Edit: Perhaps it's due to my network configuration? Normally this RPi is on a separate network without DHCP, but for troubleshooting/updates/etc it is then physically moved to a different network which does have DHCP enabled. Ergo my /etc/dhcpcd.conf file is as follows:
from rpisurv.
I run rpisurv (rpi 2) on dhcp but wired. I do not see any issues with dhcp configured.
from rpisurv.
Might be something unique with my setup. Thank you for looking into this issue. :)
from rpisurv.
I can not reproduce the issue. Could you try to
Wants=network-online.target
to the systemd file and reboot
` cat /etc/systemd/system/rpisurv.service
[Unit]
Description=Rpisurv Raspberry Pi Surveillance
After=network-online.target
Wants=network-online.target[Service]
Type=simple
ExecStart=/usr/bin/rpisurv
KillMode=control-group
Restart=on-failure[Install]
WantedBy=multi-user.target
`
Hi,
so after not doing anything on surveillance tasks for awhile, im back to surveillance tasks again
and i started having this issue again, however adding the line 'Wants=network-online.target' fixed my issue!
can you update the service file to include this line as it might help others :)
from rpisurv.
Related Issues (20)
- streaming URL doesn't work HOT 7
- Cant connect HOT 32
- rpisurv works on Bullseye and RPI 4 HOT 2
- pisurv not starting HOT 1
- disable_autorotation: True is ignored after switching camera. HOT 2
- Camera can be reached via ping and via VLC on a desktop but stuck on connecting HOT 2
- RPISurv (2x2) not working well on RasPI 3 Model B+ Bullseye HOT 3
- Garbled video at higher resolution HOT 6
- new install on buster, VLC error in the install script HOT 10
- More responsive image updates HOT 1
- rpisurv v3 now works under Bullseye, my issue is with 2x2 rotating my 8 cameras HOT 2
- Won't launch when connected to other displays HOT 1
- 2 streams 1 column fails to work HOT 4
- ubuntu Support? HOT 2
- nr_of_columns: 3 not working HOT 3
- Cameras Images Freeze after about 24h HOT 9
- E: Package 'vlc' has no installation candidate HOT 1
- Use Raspberry Pi OS Lite (Debian v12 bookworm) 32Bit or 64Bit on Pi 5 for a RpiSurv fresh install? HOT 9
- Question: Any chance for UniFi Protect Integration? HOT 5
- No video mode large enough for 1920x1080
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rpisurv.