Comments (13)
Please check the output of the logfiles (you can query it in different ways, one is sudo journalctl --unit=ttn-gateway
). The most likely issue is that the concentrator board is somehow no longer able to start. It could be a hardware failure or a electric connectivity issue on the interface between the two boards (RPi and iC880a).
from ic880a-gateway.
Hello, thank for your reply. I planned to debug that issue, this evening. I will try and update the status
from ic880a-gateway.
Hello, I have some error. But first, there is way to no the EUI key. I have two gateway. If I look in /otp/ttn-gateway/gateway-remote-config/ there is so many different file between mine and I stupidely not recorded it
I just switch on my gateway, and I have soem error as the following
error: object file .git/objects/62/002a0d748868181c53398b18c9af33c6dac128 is empty
Apr 26 18:28:17 smartsensors ttn-gateway[328]: error: object file .git/objects/62/002a0d748868181c53398b18c9af33c6dac128 is empty
Apr 26 18:28:17 smartsensors ttn-gateway[328]: fatal: loose object 62002a0d748868181c53398b18c9af33c6dac128 (stored in .git/objects/62/002a0d748868181c533
Apr 26 18:28:17 smartsensors ttn-gateway[328]: fatal: The remote end hung up unexpectedly
Apr 26 18:28:17 smartsensors ttn-gateway[328]: error: object file .git/objects/4a/d054cb435c7091efed8e5d8ba20b3e3ab5231d is empty
Apr 26 18:28:17 smartsensors ttn-gateway[328]: error: object file .git/objects/4a/d054cb435c7091efed8e5d8ba20b3e3ab5231d is empty
Apr 26 18:28:17 smartsensors ttn-gateway[328]: fatal: loose object 4ad054cb435c7091efed8e5d8ba20b3e3ab5231d (stored in .git/objects/4a/d054cb435c7091efed8
However, at the next line I can see my EUI key.
In the log file is there a relevant message I can look for?
ln: impossible de créer le lien symbolique '/opt/ttn-gateway/bin/local_conf.json': Le fichier existe
[GPS]
Apr 26 18:35:50 smartsensors ttn-gateway[328]: # Invalid gps time reference (age: 1556296340 sec)
Apr 26 18:35:50 smartsensors ttn-gateway[328]: # Manual GPS coordinates: latitude 10.00000, longitude 20.00000, altitude -1 m
Apr 26 18:35:50 smartsensors ttn-gateway[328]: ##### END #####
I also have some lines as the following
[UPSTREAM]
Apr 26 18:39:20 smartsensors ttn-gateway[328]: # RF packets received by concentrator: 0
Apr 26 18:39:20 smartsensors ttn-gateway[328]: # CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
Apr 26 18:39:20 smartsensors ttn-gateway[328]: # RF packets forwarded: 0 (0 bytes)
Apr 26 18:39:20 smartsensors ttn-gateway[328]: # PUSH_DATA datagrams sent: 2 (444 bytes)
Apr 26 18:39:20 smartsensors ttn-gateway[328]: # PUSH_DATA acknowledged: 0.00%
Apr 26 18:39:20 smartsensors ttn-gateway[328]: ### [DOWNSTREAM] ###
Apr 26 18:39:20 smartsensors ttn-gateway[328]: # PULL_DATA sent: 6 (0.00% acknowledged)
Apr 26 18:39:20 smartsensors ttn-gateway[328]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Apr 26 18:39:20 smartsensors ttn-gateway[328]: # RF packets sent to concentrator: 0 (0 bytes)
Apr 26 18:39:20 smartsensors ttn-gateway[328]: # TX errors: 0
from ic880a-gateway.
ttn-gateway[328]: fatal: loose object
-> that looks like the git repo is broken.... maybe due to SD card corruption? I would suggest a re-install. The EUI is basically the MAC address of your ethernet interface (with some FFFE padding in between)
from ic880a-gateway.
Thank a lot for your fast answer! What do you means by
that looks like the git repo is broken.... maybe due to SD card corruption?
The SD card of my RPY works. I will reinstall the gateway but here is not a way to fix it?
Let me ask you a last question. When you say reinstall, do you mean by lunching again:
sudo /home/pierrot/ic880a-gateway/install.sh spi
Should I not uninstall first? Is there an option to uninstall it?
Or should I simply lunch again install.sh?
OR should I reinstall the RPY and then install the ic880a-gateway soft?
PS: By the way, for that gateway, I renamed the hostname from ttn-gateway to smartsensors (I have not done it for my first gateway), I believe it's not a issue?
from ic880a-gateway.
And (sorry), I supposed
If you want to use the remote configuration option, please make sure you have created a JSON file named as your gateway EUI (e.g. B827EBFFFE7B80CD.json)
as I already created a json file in your repository, I beleive, I do no need to do it again. I install following this https://github.com/ttn-zh/ic880a-gateway, I restart and it's done. My EUI will not change, that correct?
Thank a lot
from ic880a-gateway.
Or should I simply lunch again install.sh?
Yes, that's enough.
OR should I reinstall the RPY and then install the ic880a-gateway soft?
I meant a full install, strarting with a clean raspbian install, but you can try just the ic880a part first.
My EUI will not change, that correct?
Correct, the eui will not change.
from ic880a-gateway.
Grreat, thank a lot gonzalocasas. Iam trying it right now
from ic880a-gateway.
That was not good
error: object file .git/objects/62/002a0d748868181c53398b18c9af33c6dac128 is empty
error: object file .git/objects/62/002a0d748868181c53398b18c9af33c6dac128 is empty
fatal: loose object 62002a0d748868181c53398b18c9af33c6dac128 (stored in .git/objects/62/002a0d748868181c53398b18c9af33c6dac128) is corrupt
fatal: The remote end hung up unexpectedly
I do not understand what is and where is
.git/objects
If I look in
ls /home/pierrot/ic880a-gateway/.git/objects/
There is no 62 folder
from ic880a-gateway.
please delete /home/pierrot/ic880a-gateway/
entirely and clone it again
from ic880a-gateway.
Great, that's work. Renaming /home/pierrot/ic880a-gateway/ was not enough, I also renamed /opt/ttn-gateway. I cloned it and reinstalled
The gateway, restarted and I can not see it in TTN. Perfect.
Let me ask you two questions more.
I replaced the "defect" (now solved :)) gateways by a second I had at home. My home gateway is now on the filed at the same location, but it could not receive message from the nodes, even if I see it at TTN. Would it possible that one gateway is less powerfull that the second? Both gateway are the same. Same hardware, same install, same antenna.
I guess you already answer me, but I can rename ttn-gateway hostname to something else? I guess yes.
from ic880a-gateway.
Hello,
I confirmed that works. I just placed back the second gateway to the field and it receive the measures from the nodes demo. I just wonder why my first gateway could node receive the messages from the nodes while the second could, now. Apparently, during the re-installation of the second gateway, some update have been done
//less ic880a-gateway/install.sh
# Update the gateway installer to the correct branch
echo "Updating installer files..."
OLD_HEAD=$(git rev-parse HEAD)
git fetch
git checkout -q $VERSION
git pull
NEW_HEAD=$(git rev-parse HEAD)
if [[ $OLD_HEAD != $NEW_HEAD ]]; then
echo "New installer found. Restarting process..."
exec "./install.sh" "$VERSION"
fi
I will reinstall the first gateway, may be it will make a difference.
Enjoy your week-end!
from ic880a-gateway.
Did you try again with the first gateway?
from ic880a-gateway.
Related Issues (20)
- No connected HOT 3
- TTN V3 HOT 1
- TTN V3 Migration HOT 34
- iot.semtech.com not resolved HOT 1
- Service Error / Not Connected in the Things Network HOT 2
- ic880a installer with RAK831 concentrator board HOT 1
- how can i change the channel configuration to in865 to 867
- Gateway only gets Join Requests, but never acknowledges them
- disconnected status HOT 1
- Ask before rebooting
- Best place in Switzerland to find the iC880a board ? HOT 3
- Followed Guide but still no connection. HOT 1
- Update before migration of RPi / iC880a Gateway with ch2i backplane to TTN V3 fails
- bin
- Integration of Sensors (via Cayenne) and LEDs
- Setup in Beaglebone black HOT 1
- Invalid gps time reference
- Error: ERROR: [main] failed to start the concentrator HOT 1
- Error - mpsse.h:221: first defined here
- Errors while launching start.sh to restart the gateway HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ic880a-gateway.