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?
ddserver fail on startup
Re: ddserver fail on startup
And it won't start. Installing only ddserver on clean OpenWRT is not enough.
Flash firmware with ddserver prepared for MR3040.
Flash firmware with ddserver prepared for MR3040.
-
- Posts: 2
- Joined: 30 Mar 2016, 18:18
Re: ddserver fail on startup
mmm... with my workaround it starts.GonzoG wrote:And it won't start. Installing only ddserver on clean OpenWRT is not enough.
Flash firmware with ddserver prepared for MR3040.
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..
Re: ddserver fail on startup
Not sure if there is other solution, at least I don't know.