Re: P25Gateway Log Question


Steve N4IRS
 

After step 2 of 5 add a ping google.com or 8.8.8.8 I'm betting that your internet on the host is not yet up. you need a timed wait or a wait on the internet available.
You might be able to get away with moving p25gateway to the end of the script.

Steve

On 5/4/2018 10:47 AM, Mike AE4ML wrote:
good morning,

The programs are run from a script in the /etc/init.d directory.

Here is the script that runs ::

echo" THIS SCRIPT MUST BE RUN AS ROOT "
echo " Launching Quantar Bridge"
cd /opt/Quantar_Bridge
./Quantar_Bridge &
echo "Step 1 of  5 Completed"
sleep 3
echo " Launching MMDVM Bridge"
cd ../MMDVM_Bridge
./MMDVM_Bridge P25.ini &
echo " Step 2 of 5 completed"
sleep 3
echo "Launching P25 Gateway"
cd ../P25Gateway
./P25Gateway P25Gateway.ini &
echo " Step 3 of 5 Completed"
sleep 3
echo "Launching Parrot Application"
cd ../parrot
./P25Parrot 42011 &
echo "Step 4 of 5 Completed"
sleep 3
echo "Launching Reflector"
cd ../P25Reflector
./P25Reflector /etc/P25Reflector.ini &
echo "Step 5 of 5 completed"
sleep 3
echo "Script completed"

Join main@DVSwitch.groups.io to automatically receive all group messages.