Quantcast
Channel: MultiTech Developer Resources » All Posts
Viewing all articles
Browse latest Browse all 7111

Reply To: Keep showing the error

$
0
0

Hi, i upgraded to the 5.0.0 and now it is fixed. Thanks for your help
In addtion, do you know why my lora is not enabled?
I previously install the installer.sh from ResIot, and the relevant code is

# Disable the MultiTech lora server processes
# Do we want to remove the software as well??
grep disable-mtech $STATUSFILE > /dev/null 2> /dev/null
if [ $? -ne 0 ] ; then
echo “Disable MultiTech packet forwarder”
/etc/init.d/lora-network-server stop
cat << _EOF_ > /etc/default/lora-network-server
# set to “yes” or “no” to control starting on boot
ENABLED=”no”
_EOF_
echo “disable-mtech” >> $STATUSFILE
fi

echo “Installing ResIOT Base Station Client”
opkg install $FILENAME

Now, when i log into my multitech gatway, the status of package forwarder and network server is stopped. Do you know how i can i set it to be normal case? I tried to use the following code, and it shows that LoRa is not enabled. I am sure that mcard is installed, and i wonder what can i do?

Odumsve@mtcdt:/etc/init.d$ lora-packet-forwarder stop
-bash: lora-packet-forwarder: command not found
Odumsve@mtcdt:/etc/init.d$ lora-packet-forwarder restart
-bash: lora-packet-forwarder: command not found
Odumsve@mtcdt:/etc/init.d$ ^C
Odumsve@mtcdt:/etc/init.d$ /etc/init.d/lora-network-server start
LoRa not enabled
Odumsve@mtcdt:/etc/init.d$ /etc/init.d/lora-network-server stop
Stopping lora-network-server: /etc/init.d/lora-network-server: line 369: start-stop-daemon: command not found
Odumsve@mtcdt:/etc/init.d$


Viewing all articles
Browse latest Browse all 7111

Trending Articles