ddserver fail on startup

qDslrDashbord error reports
Post Reply
fabiogreco
Posts: 2
Joined: 30 Mar 2016, 18:18

ddserver fail on startup

Post by fabiogreco »

Hi to all!

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?
GonzoG
Posts: 469
Joined: 24 Feb 2015, 08:52
Location: Poland

Re: ddserver fail on startup

Post by GonzoG »

And it won't start. Installing only ddserver on clean OpenWRT is not enough.
Flash firmware with ddserver prepared for MR3040.
fabiogreco
Posts: 2
Joined: 30 Mar 2016, 18:18

Re: ddserver fail on startup

Post by fabiogreco »

GonzoG wrote:And it won't start. Installing only ddserver on clean OpenWRT is not enough.
Flash firmware with ddserver prepared for MR3040.
mmm... with my workaround it starts.
The process starts and i'm able to use my dslr camera from my android smartphone through wifi.

No errors on system logs.

I would avoid the firmware prepared because it's based on an old version of openwrt and opkg can't go to repositories.
I want to use the MR3040 to control my dslr camera and to stream (minidlna) my hard disk movies on wifi.


In this moment (with /etc/init.d/ddserver modified) i can use it but i don't like my workaround to much..
hubaiz
Site Admin
Posts: 2006
Joined: 27 Jan 2015, 18:58

Re: ddserver fail on startup

Post by hubaiz »

Not sure if there is other solution, at least I don't know.
Post Reply