💬 Building a Raspberry Pi Gateway
-
I have a couple of nodes + PI working without issues from a couple of days.
Now, I would add encryption / signing / security etc to protect traffic between Arduinos and PI.
Could you please help me posting right configuration to add to the./configure
command?
Thank you very much!
-
I have a couple of nodes + PI working without issues from a couple of days.
Now, I would add encryption / signing / security etc to protect traffic between Arduinos and PI.
Could you please help me posting right configuration to add to the./configure
command?
Thank you very much!
@sineverba said in 💬 Building a Raspberry Pi Gateway:
I have a couple of nodes + PI working without issues from a couple of days.
Now, I would add encryption / signing / security etc to protect traffic between Arduinos and PI.
Could you please help me posting right configuration to add to the./configure
command?
Thank you very much!
Sorry..... I would UP! this :)
-
@sineverba said in 💬 Building a Raspberry Pi Gateway:
I have a couple of nodes + PI working without issues from a couple of days.
Now, I would add encryption / signing / security etc to protect traffic between Arduinos and PI.
Could you please help me posting right configuration to add to the./configure
command?
Thank you very much!
Sorry..... I would UP! this :)
@sineverba is there not a --help argument to get a list of settings?
-
@sineverba is there not a --help argument to get a list of settings?
@Anticimex sure... Bit I did read also the guide and .... I did noto understand very well whats I need to activate (if need) on gateway and on Arduinos to block, for example, the persone that live on third floor to play with my heater ..... :-) thank you in advance
PS security only software, no other hardware implied / want use
Thank you!
-
@Anticimex sure... Bit I did read also the guide and .... I did noto understand very well whats I need to activate (if need) on gateway and on Arduinos to block, for example, the persone that live on third floor to play with my heater ..... :-) thank you in advance
PS security only software, no other hardware implied / want use
Thank you!
@sineverba I am not sure I understand what you want. You want to enable signing? There is extensive documentation on how to enable that. As for what to pass to the configure command on a rPi I am unsure of the exact naming but I am pretty sure the names are very similar to the #define:s the signing documentation describes.
-
@sineverba I am not sure I understand what you want. You want to enable signing? There is extensive documentation on how to enable that. As for what to pass to the configure command on a rPi I am unsure of the exact naming but I am pretty sure the names are very similar to the #define:s the signing documentation describes.
@Anticimex Yes, the doc is ... maybe ... too extensive :)
By the way, I would signing. So I need to do on both? Gateway/Raspberry and Arduino?
Thank you
-
@Anticimex Yes, the doc is ... maybe ... too extensive :)
By the way, I would signing. So I need to do on both? Gateway/Raspberry and Arduino?
Thank you
@sineverba I am not sure I understand how it can be too excessive? It sounds like it is inadequate since you still have questions. :)
Of course you have to enable signing on both node and gateway. You also need to personalize the services with a hmac key. This is described. Please read the docs carefully. And if they are unclear, please provide a link to the documentation you have read, so I can verify you read the correct one. -
@sineverba I am not sure I understand how it can be too excessive? It sounds like it is inadequate since you still have questions. :)
Of course you have to enable signing on both node and gateway. You also need to personalize the services with a hmac key. This is described. Please read the docs carefully. And if they are unclear, please provide a link to the documentation you have read, so I can verify you read the correct one.@Anticimex
I'm talking about this: https://www.mysensors.org/about/signingSeems to me that probably need to be more clear your hint: you have to enable signing on both node and gateway.
I hope that soon I will can test on my network :)
Thank you for the moment :)
-
@Anticimex
I'm talking about this: https://www.mysensors.org/about/signingSeems to me that probably need to be more clear your hint: you have to enable signing on both node and gateway.
I hope that soon I will can test on my network :)
Thank you for the moment :)
@sineverba yes, well that is for the official release so so far so good. I assume you also run the official version of the library and not the beta version, right?
For details on rPi configuration, perhaps @marceloaqno can provide some assistance but you will find all information needed on that page for configuring signing on your nodes. -
@sineverba yes, well that is for the official release so so far so good. I assume you also run the official version of the library and not the beta version, right?
For details on rPi configuration, perhaps @marceloaqno can provide some assistance but you will find all information needed on that page for configuring signing on your nodes.@Anticimex On Raspberry PI V1 I can work only with branch development. With master the radio / serial doesn't work
-
@Anticimex On Raspberry PI V1 I can work only with branch development. With master the radio / serial doesn't work
@sineverba then please use this documentation instead.
-
@sineverba then please use this documentation instead.
@Anticimex thank you but... it is not the same?
-
@Anticimex thank you but... it is not the same?
@sineverba no, it isn't. There are newer features on beta branch. A third simplified option for signing exist (and if you have a hard time figuring out signing I highly recommend you use it).
-
Raspberry PI V1 Model B (2 USB ports, no wifi, 26 GPIO).
RASPBIAN JESSIE LITE v 2017-04-10-raspbian-jessie-lite.
Some day ago I did compile the gateway only with development branch, using this:
./configure --my-transport=nrf24 --my-rf24-irq-pin=15 --my-gateway=serial --my-serial-is-pty --my-serial-pty=/dev/ttyUSB020And all works fantastic.
Today I did try a new fresh installation for a friend, same PI, and same commands and routine from zero:
- Logged with PI
- Changed Password
- Activate SSH
- Activate SPI
- Expand Filesystem
- Changed timezone
launched
./configure --my-transport=nrf24 --my-rf24-irq-pin=15 --my-gateway=serial --my-serial-is-pty --my-serial-pty=/dev/ttyUSB020No error on output, rebooted many times, gateways locked. See the screen:

With current setup (that works perfect), if I reconfigure to use Led TX/RX/Err, I get same lock.
I have SD and a copy of it, but I would setup another one from zero.... and I cannot.
Thank you
-
Raspberry PI V1 Model B (2 USB ports, no wifi, 26 GPIO).
RASPBIAN JESSIE LITE v 2017-04-10-raspbian-jessie-lite.
Some day ago I did compile the gateway only with development branch, using this:
./configure --my-transport=nrf24 --my-rf24-irq-pin=15 --my-gateway=serial --my-serial-is-pty --my-serial-pty=/dev/ttyUSB020And all works fantastic.
Today I did try a new fresh installation for a friend, same PI, and same commands and routine from zero:
- Logged with PI
- Changed Password
- Activate SSH
- Activate SPI
- Expand Filesystem
- Changed timezone
launched
./configure --my-transport=nrf24 --my-rf24-irq-pin=15 --my-gateway=serial --my-serial-is-pty --my-serial-pty=/dev/ttyUSB020No error on output, rebooted many times, gateways locked. See the screen:

With current setup (that works perfect), if I reconfigure to use Led TX/RX/Err, I get same lock.
I have SD and a copy of it, but I would setup another one from zero.... and I cannot.
Thank you
I don't want give up!
I did download last RASPBIAN version (2017-06-21).
Gitted from development branch...
My question is.... is it a problem of my PI? Too old? Need to buy the V3?
I don't understand why some time ./configure works (and entire system with domoticz works without problem!!!) and other time no!
@sineverba said in 💬 Building a Raspberry Pi Gateway:
Raspberry PI V1 Model B (2 USB ports, no wifi, 26 GPIO).
RASPBIAN JESSIE LITE v 2017-04-10-raspbian-jessie-lite.
Some day ago I did compile the gateway only with development branch, using this:
./configure --my-transport=nrf24 --my-rf24-irq-pin=15 --my-gateway=serial --my-serial-is-pty --my-serial-pty=/dev/ttyUSB020And all works fantastic.
Today I did try a new fresh installation for a friend, same PI, and same commands and routine from zero:
- Logged with PI
- Changed Password
- Activate SSH
- Activate SPI
- Expand Filesystem
- Changed timezone
launched
./configure --my-transport=nrf24 --my-rf24-irq-pin=15 --my-gateway=serial --my-serial-is-pty --my-serial-pty=/dev/ttyUSB020No error on output, rebooted many times, gateways locked. See the screen:

With current setup (that works perfect), if I reconfigure to use Led TX/RX/Err, I get same lock.
I have SD and a copy of it, but I would setup another one from zero.... and I cannot.
Thank you
-
I don't want give up!
I did download last RASPBIAN version (2017-06-21).
Gitted from development branch...
My question is.... is it a problem of my PI? Too old? Need to buy the V3?
I don't understand why some time ./configure works (and entire system with domoticz works without problem!!!) and other time no!
@sineverba said in 💬 Building a Raspberry Pi Gateway:
Raspberry PI V1 Model B (2 USB ports, no wifi, 26 GPIO).
RASPBIAN JESSIE LITE v 2017-04-10-raspbian-jessie-lite.
Some day ago I did compile the gateway only with development branch, using this:
./configure --my-transport=nrf24 --my-rf24-irq-pin=15 --my-gateway=serial --my-serial-is-pty --my-serial-pty=/dev/ttyUSB020And all works fantastic.
Today I did try a new fresh installation for a friend, same PI, and same commands and routine from zero:
- Logged with PI
- Changed Password
- Activate SSH
- Activate SPI
- Expand Filesystem
- Changed timezone
launched
./configure --my-transport=nrf24 --my-rf24-irq-pin=15 --my-gateway=serial --my-serial-is-pty --my-serial-pty=/dev/ttyUSB020No error on output, rebooted many times, gateways locked. See the screen:

With current setup (that works perfect), if I reconfigure to use Led TX/RX/Err, I get same lock.
I have SD and a copy of it, but I would setup another one from zero.... and I cannot.
Thank you
Hi to all!
I did another test, on a new SD with Raspbian Lite 2017-06-21.It doesn't work. Hangs on protocol version.
But... I did note this, after ./configure
Master branch
[SECTION] Detecting target machine. [OK] machine detected: SoC=unknown, Type=unknown, CPU=armv6l. [SECTION] Checking GPIO Sysfs. [OK] /sys/class/gpio/export found [SECTION] Detecting SPI driver. [OK] SPI driver detected:SPIDEV. [SECTION] Detecting init system. [OK] init system detected: systemd. [SECTION] Saving configuration. [SECTION] Cleaning previous builds. [OK] Finished.Development branch
[SECTION] Detecting target machine. [OK] machine detected: SoC=BCM2835, Type=rpi1, CPU=armv6l. [SECTION] Detecting SPI driver. [OK] SPI driver detected:BCM. [SECTION] Detecting init system. [OK] init system detected: systemd. [SECTION] Saving configuration. [SECTION] Cleaning previous builds. [OK] Finished.I'm going crazy :(
@sineverba said in 💬 Building a Raspberry Pi Gateway:
I don't want give up!
I did download last RASPBIAN version (2017-06-21).
Gitted from development branch...
My question is.... is it a problem of my PI? Too old? Need to buy the V3?
I don't understand why some time ./configure works (and entire system with domoticz works without problem!!!) and other time no!
@sineverba said in 💬 Building a Raspberry Pi Gateway:
Raspberry PI V1 Model B (2 USB ports, no wifi, 26 GPIO).
RASPBIAN JESSIE LITE v 2017-04-10-raspbian-jessie-lite.
Some day ago I did compile the gateway only with development branch, using this:
./configure --my-transport=nrf24 --my-rf24-irq-pin=15 --my-gateway=serial --my-serial-is-pty --my-serial-pty=/dev/ttyUSB020And all works fantastic.
Today I did try a new fresh installation for a friend, same PI, and same commands and routine from zero:
- Logged with PI
- Changed Password
- Activate SSH
- Activate SPI
- Expand Filesystem
- Changed timezone
launched
./configure --my-transport=nrf24 --my-rf24-irq-pin=15 --my-gateway=serial --my-serial-is-pty --my-serial-pty=/dev/ttyUSB020No error on output, rebooted many times, gateways locked. See the screen:

With current setup (that works perfect), if I reconfigure to use Led TX/RX/Err, I get same lock.
I have SD and a copy of it, but I would setup another one from zero.... and I cannot.
Thank you
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login