Pinedio Project: Notes Sharing/Log
#11
(07-12-2021, 07:03 PM)RTP Wrote: *Testing* image of Armbian w/RAKWireless Chirpstack/TTN can be found here:
https://mega.nz/file/nI42BCAD#oUWRJYg0UC...3uBRw0prjc

On Boot:

* Armbian 5.10.34 (latest as of this posting)
* Devices/hardware setup
* Starts GPS (be sure to have reliable/proper antenna outside or at a window)
* Starts up the Concentrator
* Starts up ready to login Chirpstack (web interface: http://IPaddress:8080)

SSH access:

login: pine
password: SoPinePass!

CHIRPSTACK GATEWAY/NETWORK MANAGEMENT (web interface):

http://IPaddressOnLAN:8080

login: admin
password admin


*Make sure to change default passwords*


Useful Commands:

gateway-config (configures gateway options including:
- channel (specific to your area)
- concentrator/GPS specific: packet forwarder config (defaults set for pine64 Pinedio),
- switch between Chirpstack local and TTN

journalctl | grep -i eui (grab gateway eui)

systemctl status ttn-gateway (check your gateway service status)

systemctl stop ttn-gateway

systemctl disable ttn-gateway (disable



Software:

Armbian OS: https://www.armbian.com/download

Gateway Software Fork installed for Pinedio Gateway: https://github.com/RightToPrivacy/rak_co...or_gateway (fork edit of https://github.com/RAKWireless/rak_common_for_gateway [for raspberry pi's])

Thanks, are you developed on the new Pine A64-LTSv2 board with the Motocomm 8511 GbE phy?
  Reply
#12
(08-06-2021, 11:37 PM)tllim Wrote:
(07-12-2021, 07:03 PM)RTP Wrote: *Testing* image of Armbian w/RAKWireless Chirpstack/TTN can be found here:
https://mega.nz/file/nI42BCAD#oUWRJYg0UC...3uBRw0prjc

On Boot:

* Armbian 5.10.34 (latest as of this posting)
* Devices/hardware setup
* Starts GPS (be sure to have reliable/proper antenna outside or at a window)
* Starts up the Concentrator
* Starts up ready to login Chirpstack (web interface: http://IPaddress:8080)

SSH access:

login: pine
password: SoPinePass!

CHIRPSTACK GATEWAY/NETWORK MANAGEMENT (web interface):

http://IPaddressOnLAN:8080

login: admin
password admin


*Make sure to change default passwords*


Useful Commands:

gateway-config (configures gateway options including:
- channel (specific to your area)
- concentrator/GPS specific: packet forwarder config (defaults set for pine64 Pinedio),
- switch between Chirpstack local and TTN

journalctl | grep -i eui (grab gateway eui)

systemctl status ttn-gateway (check your gateway service status)

systemctl stop ttn-gateway

systemctl disable ttn-gateway (disable



Software:

Armbian OS: https://www.armbian.com/download

Gateway Software Fork installed for Pinedio Gateway: https://github.com/RightToPrivacy/rak_co...or_gateway (fork edit of https://github.com/RAKWireless/rak_common_for_gateway [for raspberry pi's])

Thanks, are you developed on the new Pine A64-LTSv2 board with the Motocomm 8511 GbE phy?

Hey there TL,

Haven't had the chance just yet as have had a few things occupying. Smile

(I did receive a short email from the copied address, wasn't very clear how far, put aside temp until I could look try another one).

Planning to have another look at it when I get back from a trip (heading out in a few hours).

Will probably start out with an older version when I get back and see how things go.
- RTP

"In the beginner's mind there are many possibilities, in the expert's mind there are few." -Shunryu Suzuki


[ Pinephone Original | Pinetab v1 / v2 Enjoyer ]


Linux Device Privacy / Security Playlist



  Reply
#13
(08-06-2021, 11:37 PM)tllim Wrote:
(07-12-2021, 07:03 PM)RTP Wrote: *Testing* image of Armbian w/RAKWireless Chirpstack/TTN can be found here:
https://mega.nz/file/nI42BCAD#oUWRJYg0UC...3uBRw0prjc

On Boot:

* Armbian 5.10.34 (latest as of this posting)
* Devices/hardware setup
* Starts GPS (be sure to have reliable/proper antenna outside or at a window)
* Starts up the Concentrator
* Starts up ready to login Chirpstack (web interface: http://IPaddress:8080)

SSH access:

login: pine
password: SoPinePass!

CHIRPSTACK GATEWAY/NETWORK MANAGEMENT (web interface):

http://IPaddressOnLAN:8080

login: admin
password admin


*Make sure to change default passwords*


Useful Commands:

gateway-config (configures gateway options including:
- channel (specific to your area)
- concentrator/GPS specific: packet forwarder config (defaults set for pine64 Pinedio),
- switch between Chirpstack local and TTN

journalctl | grep -i eui (grab gateway eui)

systemctl status ttn-gateway (check your gateway service status)

systemctl stop ttn-gateway

systemctl disable ttn-gateway (disable



Software:

Armbian OS: https://www.armbian.com/download

Gateway Software Fork installed for Pinedio Gateway: https://github.com/RightToPrivacy/rak_co...or_gateway (fork edit of https://github.com/RAKWireless/rak_common_for_gateway [for raspberry pi's])

Thanks, are you developed on the new Pine A64-LTSv2 board with the Motocomm 8511 GbE phy?

The 1.2 board worked perfectly IME.

I still haven't narrowed down v2 board's eth0 issue (in a way I have not seen, partial working). Tested kernels/operating sys options.. eth0 device running, partially functional. (unfortunately have to leave town again in morning (busy time). Using a usb tplink ethernet adapter for network access atm.

I have not given up on it. Will try taking with me this trip.
- RTP

"In the beginner's mind there are many possibilities, in the expert's mind there are few." -Shunryu Suzuki


[ Pinephone Original | Pinetab v1 / v2 Enjoyer ]


Linux Device Privacy / Security Playlist



  Reply
#14
(08-20-2021, 04:41 PM)RTP Wrote: The 1.2 board worked perfectly IME.

I still haven't narrowed down v2 board's eth0 issue (in a way I have not seen, partial working). Tested kernels/operating sys options.. eth0 device running, partially functional. (unfortunately have to leave town again in morning (busy time). Using a usb tplink ethernet adapter for network access atm.

I have not given up on it. Will try taking with me this trip.

 Looking forward on ongoing development. For the v2 board eth0 which is Motorcomm YT8511 PHY, you can check with pgwipeout or icenowy, this driver already mainlined.
  Reply
#15
(09-25-2021, 12:01 PM)tllim Wrote:
(08-20-2021, 04:41 PM)RTP Wrote: The 1.2 board worked perfectly IME.

I still haven't narrowed down v2 board's eth0 issue (in a way I have not seen, partial working). Tested kernels/operating sys options.. eth0 device running, partially functional. (unfortunately have to leave town again in morning (busy time). Using a usb tplink ethernet adapter for network access atm.

I have not given up on it. Will try taking with me this trip.

 Looking forward on ongoing development. For the v2 board eth0 which is Motorcomm YT8511 PHY, you can check with pgwipeout or icenowy, this driver already mainlined.

On a good note update I do have the internal ethernet functioning fully now.  Smile
- RTP

"In the beginner's mind there are many possibilities, in the expert's mind there are few." -Shunryu Suzuki


[ Pinephone Original | Pinetab v1 / v2 Enjoyer ]


Linux Device Privacy / Security Playlist



  Reply
#16
Thanks RTP for the awesome work on PineDio Gateway :-)

Once the gateway is connected to The Things Network (the public global LoRaWAN network), we should be able to visualise the data with Grafana (open source visualisation tool)...

"Grafana Data Source for The Things Network"

Can't wait to try this soon :-)
  Reply
#17
(09-26-2021, 11:56 PM)lupyuen Wrote: Thanks RTP for the awesome work on PineDio Gateway :-)

Once the gateway is connected to The Things Network (the public global LoRaWAN network), we should be able to visualise the data with Grafana (open source visualisation tool)...

"Grafana Data Source for The Things Network"

Can't wait to try this soon :-)

Looking forward on your full write up from Pineio Gateway - The Things Netwrok - LoRa sensor. Aware that you have published several articles and just post as whole series. Most people still very confuse on the LoRa setup procedure.
  Reply
#18
(09-25-2021, 10:50 PM)RTP Wrote: On a good note update I do have the internal ethernet functioning fully now.  Smile

Awesome :-)
  Reply
#19
Does anyone have questions on LoRa, maybe I can help?

I have been writing 6 articles on LoRa / LoRaWAN / The Things Network, and I'm still not done yet (*pant pant*)...

1. “PineCone BL602 Talks LoRaWAN”

2. “LoRaWAN on PineDio Stack BL604 RISC-V Board”

3. “The Things Network on PineDio Stack BL604 RISC-V Board”

4. “Grafana Data Source for The Things Network”

5. “Encode Sensor Data with CBOR on BL602”

6. (Upcoming) Sending BL602's Internal Temperature Sensor Data to The Things Network
  Reply
#20
Had some outside hardware setbacks but was able to find some time between to make a new test image. Smile

In case it helps anyone:

* verified working ethernet on v2 board
* Pinedio hardware/concentrator/GPS enabled/starting
* Chirpstack/TTN installed running
* ssh restrictions/root ssh disabled/brute force login attempts limited

No other settings/changes have been made to this image. (GPS/concentrator starts up in logs).

In past used same process to verify gateway showing up on the TTN's official website map (once the gps registers)/tested out beacons with chirpstack graphing/logs etc.

login: pinedio
password: SoPinePass!!!

Direct copy/download link compressed image in case it helps anyone:

https://mega.nz/file/jYwEQS7J#91BTf3k1Ai..._rjuJSDwlw

SHA1: 61b6292dc36f370d9b82e6c1e7273695a775251f
SHA256: dedcb121cfed1e11a41e4cb861b8782244e7057f5805f3a8b5553914d353a5ba
- RTP

"In the beginner's mind there are many possibilities, in the expert's mind there are few." -Shunryu Suzuki


[ Pinephone Original | Pinetab v1 / v2 Enjoyer ]


Linux Device Privacy / Security Playlist



  Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)