Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4437

Interfacing (DSI, CSI, I2C, etc.) • Multiple ppp participants (more than 2) over uart?

$
0
0
Howdy.

As a quick background:

- Was trying to get a rpi pico to connect to a WPA 2 Enterprise Network - voila https://github.com/jouellnyc/wpa-ent-mschapv2-bridge - it can use a device that can - since it can't - as 'proxy' for it -- yes there are others way to do this (like a proper HTTP proxy), but that was cool.

- After that I wondered if I can do the same with a physical connection - voila - viewtopic.php?t=206074 - ppp and some dupont wires - also very cool.

So, I've done both of those things with 2 pi zeros and it all works great.


The next step was just curiosity / learning:

-I wondered if I can have more than 2 pi zeros connected via ppp using their uarts.

This link got me thinking viewtopic.php?t=167001 maybe I can daisy chain them.

Firstly, for pi zero's 1 (ppp .1 address) and 2 (ppp .2 address) , I attached them to a breadboard. So instead of sharing on cable (2 total - not including GND) from RX to TX, now each have a cable (4 total - not including GND) and they share a line on the breadboard. Still works great.

Then I added the third as an additional - not daisy chained - but all shared a GND - just added it inline (so 2 TX's and 1 RX on one breadboard line and 2 RX's and 1 TX on one breadboard line - just for giggles - and to see what would happen) and tried to give it a (ppp .3 address) - this did not work and in fact pi zero's 1 and 2 were no longer talking. In my mind I thought OK, though it seems a little odd simply adding pi zero's 3 wires did that...

So then I daisy chained like the post:

Device 1 TX to device 2 RX
Device 2 TX to device 3 RX
Device 3 TX to device 1 RX

This did not work, and in fact pi zero's 1 and 2 were no longer talking again. In my mind I figured, OK, but maybe I would at least see some communication.

I am guessing it will not work like this because ppp is a point to point only? Do you think this would/could work?

As I say, this is just a curiosity for me to learn more, but thoughts are appreciated. I did not want to pursue this too far if it's just a non starter. It seems like it so far ...

I'm thinking if I got another uart like something on this link viewtopic.php?t=72442 and set it up with the 'server' with 2 uarts to each 'client' it would work because it's a proper 1 to 1 connection...But again just curious...

Statistics: Posted by raspmod — Mon Apr 15, 2024 2:09 am — Replies 0 — Views 29



Viewing all articles
Browse latest Browse all 4437

Trending Articles