ddserver fail on startup
Posted: 25 Dec 2019, 10:47
Hello everyone,,
I've a TL-MR3040 and i've installed OpenWrt (openwrt-ar71xx-generic-tl-mr3040-v1-squashfs-factory.bin getted from here: https://downloads.openwrt.org/snapshots ... x/generic/).
After installing OpenWrt I installed ddserver using the ipk file but at startup i got an error.
Seems that the server starts before network and so the error (I can't establish any connection via dslrdashboard).
If i terminate the process and start it again all work correctly.
To get the startup script works, now i've done some modifications in the start() method of /etc/init.d/ddserver :
start() {
while ! ping -c 1 -W 1 192.168.1.1; do
echo "Waiting for 192.168.1.1 - network interface might be down..."
sleep 1
done
echo "Starting DslrDashboardServer (ddserver)"
...
...
But this workaround don't like to me so much.
Anyone have some ideas to solve that issue cleanly???
I've a TL-MR3040 and i've installed OpenWrt (openwrt-ar71xx-generic-tl-mr3040-v1-squashfs-factory.bin getted from here: https://downloads.openwrt.org/snapshots ... x/generic/).
After installing OpenWrt I installed ddserver using the ipk file but at startup i got an error.
Seems that the server starts before network and so the error (I can't establish any connection via dslrdashboard).
If i terminate the process and start it again all work correctly.
To get the startup script works, now i've done some modifications in the start() method of /etc/init.d/ddserver :
start() {
while ! ping -c 1 -W 1 192.168.1.1; do
echo "Waiting for 192.168.1.1 - network interface might be down..."
sleep 1
done
echo "Starting DslrDashboardServer (ddserver)"
...
...
But this workaround don't like to me so much.
Anyone have some ideas to solve that issue cleanly???