ttn-zh / ic880a-gateway

Reference setup for iC880a gateways running The Things Network
GNU General Public License v3.0
455 stars 210 forks source link

Problem using remote settings file #61

Closed CRosemaryC closed 4 years ago

CRosemaryC commented 4 years ago

Hello, thanks for creating the push, but do you know why I am having this error now?

error: The following untracked working tree files would be overwritten by merge: B827EBFFFEFCDAA2.json Please move or remove them before you merge. Aborting

Thank you.

gonzalocasas commented 4 years ago

You probably did the change locally before pushing it. You can either 1) remove all that and reinstall 2) or do a git reset --hard HEAD and try again.

I'm closing this issue because there's no code change needed on this repo, but feel free to keep commenting if the suggested fix doesn't work for you.

CRosemaryC commented 4 years ago

Thank you very much for the information.

I am new in this, and when I tried the 2nd option, the output is: HEAD is now at aa092b0 Update start.sh to match interface name detection on install -bash: HEAD: command not found Do you know how to update start.sh?

Also I would know how to remove everything, is enough to just delete the git clone folder?

Best regards,

Cristina.

El mar., 27 ago. 2019 a las 16:54, Gonzalo Casas (notifications@github.com) escribió:

You probably did the change locally before pushing it. You can either 1) remove all that and reinstall 2) or do a git reset --hard HEAD and try again.

I'm closing this issue because there's no code change needed on this repo, but feel free to keep commenting if the suggested fix doesn't work for you.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ttn-zh/ic880a-gateway/issues/61?email_source=notifications&email_token=AK6TAREKAL2S5UZVMO66LSTQGU5YRA5CNFSM4IQFBZB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5IAQ3I#issuecomment-525338733, or mute the thread https://github.com/notifications/unsubscribe-auth/AK6TARGV4XXO5YZLPAJ7SALQGU5YRANCNFSM4IQFBZBQ .

CRosemaryC commented 4 years ago

Never mind, I manage to make it work.

Best regards,

Cristina.

El mar., 27 ago. 2019 a las 17:29, Cristina Romero Calvo (< cristina.romero.calvo@gmail.com>) escribió:

Thank you very much for the information.

I am new in this, and when I tried the 2nd option, the output is: HEAD is now at aa092b0 Update start.sh to match interface name detection on install -bash: HEAD: command not found Do you know how to update start.sh?

Also I would know how to remove everything, is enough to just delete the git clone folder?

Best regards,

Cristina.

El mar., 27 ago. 2019 a las 16:54, Gonzalo Casas (< notifications@github.com>) escribió:

You probably did the change locally before pushing it. You can either 1) remove all that and reinstall 2) or do a git reset --hard HEAD and try again.

I'm closing this issue because there's no code change needed on this repo, but feel free to keep commenting if the suggested fix doesn't work for you.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ttn-zh/ic880a-gateway/issues/61?email_source=notifications&email_token=AK6TAREKAL2S5UZVMO66LSTQGU5YRA5CNFSM4IQFBZB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5IAQ3I#issuecomment-525338733, or mute the thread https://github.com/notifications/unsubscribe-auth/AK6TARGV4XXO5YZLPAJ7SALQGU5YRANCNFSM4IQFBZBQ .

gonzalocasas commented 4 years ago

Great to hear that! 👍

CRosemaryC commented 4 years ago

I still have no connection status in ttn console.

Is it normal that while running the install.sh, there some pink and blue text. e.g. src/poly_pkt_fwd.c:694:3: warning: ‘strncpy’ specified bound 64 equals destination size [-Wst ringop-truncation] strncpy(monitor_addr, str, sizeof monitor_addr);

Also, this works for all types of LoRa chipsets right? Should I change in the start.sh the reset pin number if mine is different than yours?

Best regards,

Cristina.

El mar., 27 ago. 2019 a las 18:05, Gonzalo Casas (notifications@github.com) escribió:

Great to hear that! 👍

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ttn-zh/ic880a-gateway/issues/61?email_source=notifications&email_token=AK6TARHHUL5TOQCWX4ETSV3QGVGFNA5CNFSM4IQFBZB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5IIKVQ#issuecomment-525370710, or mute the thread https://github.com/notifications/unsubscribe-auth/AK6TARBPKSSNZARK755KPA3QGVGFNANCNFSM4IQFBZBQ .

gonzalocasas commented 4 years ago

Also, this works for all types of LoRa chipsets right?

Not really, it works for ic880a boards. Any other board might or might not work, but we haven't tested them all.

Should I change in the start.sh the reset pin number if mine is different than yours?

Yes, of course. If the board is based on the same Semtech chipset, over the same SPI interface, but only different reset pin, that will probably work. If it's another chipset, no idea.