I was seeing similar errors on mine before however, I was not getting a connected status on TTN at the time so if you are seeing yours as connected perhaps the issues are different. I haven’t checked my syslog since I’ve gotten mine running and connected but I’ll have to do so when I get home later today. I can at least confirm that the Global LED on mine was at the very least on the last time I had looked at the gateway last evening.
I’ll have to report back to you when I have access to gateway.
Ok I think I found the issue. So first, I only tested ABP to eliminate potential downlink problem. So apparently, in EU868 frequencies are rolling to minimize radio band use and so minimize duty cycle (correct me if I’m wrong). So for a mono-canal gateway it’s a big problem … So forcing my node to use only one frequency (868.1MHz in my case) solved the problem. Almost all packets are received (some times one is missing, I guess the gateway is busy by another node in the building).
EDIT : I found the solution for lg01_pkg_fwd script that do not start automatically. In the iot-deamon file (which is start on boot) we found this :
#Check What Service we use
service=`uci get iot-services.general.server_type`
if [ "$service" != "disabled" ];then
script_name=`uci get $service.general.routine_script`
script=$IOT_DIR$script_name
# Kill possible running daemon;
servpid=`ps w| grep $script | grep -v grep | awk '{print $1}'`
if [[ ! -z "$servpid" ]]; then
killall $script_name
fi
#start services
#check script type
if [ "${script%.lua}" != "$script" ]; then
lua $script &
else
$script 2>&1 > /dev/null &
fi
fi
The problem is that there is no lorawan.general.routine_script configured. The fix is simple : edit /etc/config/lorawan and add option “routine_script ‘lg01_pkt_fwd’” to config “settings ‘general’” and reboot
EDIT #2 : I found another bug … SF11 and SF12 are not supported and the SF settings sent to TTN server are wrong. I know that because I compared with my “real” gateway. It shows that my node is correctly configured but LG01 seems to receive nothing when Dragino is configured SF11 or SF12, I don’t know why … And when it’s received (with SF7 to SF10) it’s not well reported : real SF7 is reported as SF12BW125. Real SF10 is reported as SF7BW125 …
EDIT #3 : … suddently SF are well reported to TTN server … without doing anything … strange … but SF11 and SF12 still not working
I’m issuing the same problem as labsud. Every frame with SF11 or SF12 never appear into gateway traffic. And as you can see, the same frame as seen in the gateway trafic, and in the application data don’t show the same SF
Because of the error in SF on gateway traffic, the gateway doesn’t appear into the application data.
This problem emerge only with some SF, I still haven’t test them all, and I may update a list of the buggy ones.
It is neccessary to remove also ‘www.google.com’ from the host list. Google refuse the usage of ICMP against the site. Just pick another website - check with fping before - which allows the ICMP
I have connected my LG01 to TTN but as I am not able to connect to dragino shield I can not able to transfer data. I want to know how can I connect dragino shield with the gateway and able to transfer data. I am new to lora network so I do not have sufficient knowledge.
I don’s use the LG01-p as router:
So disable under network internet acces:
And then under network - Lan & DHCP give a static Ip and cancel DHCP-server
then you must use the latest Arduino sketch : but read for that the topic in the wiki " Upload Arduino Sketch to LG01 Linux System"
And then it will be online
Hi there!
how do we create that directory?
I have a similar problem, but in my case in the gateway TTN part it shows the data traffic, coming from the device, but on the device part it says that it is connected and says the number of frames up but doesnt show any data…
Often if you do a lot off small thing’s you don’t remeber what you did.
Thats why I Said. Game over and start again with a clean setting.
so try to rest the device to factory, and start over to make the setting’s mentiond above.
I have done it with all info above, with out error 's so the setting’s or good.
But I you walk to a error please remember that you search first and then come with your question form what is not working. add some details and not alone “it is not working”
Good luck with starting from a fresh install.
One thing I would say, it’s a ONE channel gateway and not a fully 8 channel gateway like the gateways from TTN , so with standard out off the box LoRa device’s will connect once in de 8 request’s.
Hie everyone,
It since a week, that Im fighting to get traffic from my gateway lg01-p, to TTN.
It is connected to Internet, and to TTN, but no traffic from the node.
I followed this tutorial: http://wiki.dragino.com/index.php?title=Connect_to_TTN#Create_Single_Channel_Gateway_By_LG01
I’ve created the directory /root/data, and I’ve executed the lg01_pkt_fwd. everything works fine.
I followed all the steps, and I’ve tried also, the one of the dragino manual, nothing works.
Trying with the lmic, library or rf95, it doesn;t work, and I don’t know what to do.
Assuming you are trying to activate a device and that is not working then it may be the activation method. I believe that the default OTAA option requires at least a 2 channel gateway (your unit being a single channel gateway). Try using the ABP activation method.
Hi,
I followed steps in this tutorial ( http://wiki.dragino.com/index.php?title=Connect_to_TTN ) and try to connect the LG01 Gateway to TTN. But in TTN console it showing not connected status. What I need to check please let me know.