1.
Can you post your router model, exact firmware version.
Do you run any other scripts apart from AB?
Was Entware installed before and AB is using it now?
2.
Paste this into your Browser:
If it shows the pixelserv output it's running just fine.
It's just a timeout in the AB check that wants to verify it.
3.
Can you do me a favor?
Exit (e) AB-Solution
Replace the following code in /tmp/mnt/sda1/ab-solution.sh
(Lines 1921 to 1951)
Code:
if [ $psState == on ] && [ $entwareState == on ];then
echo -e "\n checking $psName"
if ping -c 1 -W 1 "$psIPv4" >/dev/null;then
echo -e " $psIPv4 responded, looks good"
else
echo -e " $psIPv4 did not respond, restarting"
ifconfig br0:pixelserv $psIPv4 up
if ping -c 1 -W 1 "$psIPv4" >/dev/null;then
echo -e " $psIPv4 responded, looks good"
else
echo -e " ${ired}$psIPv4 did not respond$nocolor";appCheck=1
fi
fi
wget -q -t 5 $psIPv4/servstats.txt
if [ -f servstats.txt ];then
echo -e " $psName is up"
rm servstats.txt
else
echo " $psName is not running, restarting"
get_add_on_file $pixelservFile include
echo "" # give the ps output some space
write_pixelserv_script restart
wget -q -t 5 $psIPv4/servstats.txt
if [ -f servstats.txt ];then
echo -e " $psName is up"
rm servstats.txt
else
echo -e " ${ired}$psName is not running$nocolor";appCheck=1
fi
fi
fi
with the modified code:
Code:
if [ $psState == on ] && [ $entwareState == on ];then
echo -e "\n checking $psName"
if ping -c 2 "$psIPv4" >/dev/null;then
echo -e " $psIPv4 responded, looks good"
else
echo -e " $psIPv4 did not respond, restarting"
ifconfig br0:pixelserv $psIPv4 up
sleep 2
if ping -c 2 "$psIPv4" >/dev/null;then
echo -e " $psIPv4 responded, looks good"
else
echo -e " ${ired}$psIPv4 did not respond$nocolor";appCheck=1
fi
fi
wget -q --tries=5 $psIPv4/servstats.txt
if [ -f servstats.txt ];then
echo -e " $psName is up"
rm servstats.txt
else
echo " $psName is not running, restarting"
get_add_on_file $pixelservFile include
echo "" # give the ps output some space
write_pixelserv_script restart
sleep 2
wget -q --tries=5 $psIPv4/servstats.txt
if [ -f servstats.txt ];then
echo -e " $psName is up"
rm servstats.txt
else
echo -e " ${ired}$psName is not running$nocolor";appCheck=1
fi
fi
fi
Then start the AB-Solution UI, it should no longer report an error.