9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] A setup
@ 2014-11-01 21:41 Shane Morris
  2014-11-02  0:58 ` Skip Tavakkolian
  0 siblings, 1 reply; 3+ messages in thread
From: Shane Morris @ 2014-11-01 21:41 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 1141 bytes --]

Hi 9fans,

I wish to have a 9P based sensor and actuator reporting system for an
aquaponics setup I am designing.

I was going to use a RaspberryPi running Plan 9, an "A la mode" for the
interface to the Arduino shield, and a Cooking Hacks Open Aquarium/ Open
Garden shield (so I would need two RaspberryPi's). On the control side of
things, I would have my MacBook access the namespace via Mac9P.

Some questions:

* Would it be better to use a RaspberryPi Plan 9 CPU image rather than a
terminal image? The only interface I will need from the RaspberryPi to the
Arduino is TTL serial
* Eventually I would create another RaspberryPi, running Linux using
9mount, to display various statistics and data about the system. I'd be
writing the interpreter for the information from the Open Aquarium/ Open
Garden shields in Python. With what I have described, all I would need to
do is "open" the TTL serial stream file from each of the RPis and read out
the data, am I correct?
* Does anyone have any constructive thoughts on this system setup? Please
note, I am doing this to get a handle on 9P.

Many thanks!

Shane.

[-- Attachment #2: Type: text/html, Size: 1343 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] A setup
  2014-11-01 21:41 [9fans] A setup Shane Morris
@ 2014-11-02  0:58 ` Skip Tavakkolian
  2014-11-02  1:04   ` Shane Morris
  0 siblings, 1 reply; 3+ messages in thread
From: Skip Tavakkolian @ 2014-11-02  0:58 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 2105 bytes --]

i can think of two options:

- you could go for an all Plan 9 distributed solution. this will be the
easiest to roll out and maintain in my opinion (security, administration,
maintenance, etc). i have used this setup with over a dozen 9pi cpu's (tftp
booting from a 386-based auth+fs) collecting bluetooth data (via usb) and
logging it on the fs.  it worked well; the collector is a simple rc script
that reads files served by the bluetooth fs and writes the data to the
(imported) filesystem; it all uses 9P, of course.

- you could build a 9P network on top of heterogeneous OS environments ,
but things get unnecessarily messy. you have to deal with authentication,
 log forwarding or u9fs, non-standard ways of talking to USB, or serial and
needing to build your own 9P file server for each, etc.

-Skip



On Sat, Nov 1, 2014 at 2:41 PM, Shane Morris <edgecomberts@gmail.com> wrote:

> Hi 9fans,
>
> I wish to have a 9P based sensor and actuator reporting system for an
> aquaponics setup I am designing.
>
> I was going to use a RaspberryPi running Plan 9, an "A la mode" for the
> interface to the Arduino shield, and a Cooking Hacks Open Aquarium/ Open
> Garden shield (so I would need two RaspberryPi's). On the control side of
> things, I would have my MacBook access the namespace via Mac9P.
>
> Some questions:
>
> * Would it be better to use a RaspberryPi Plan 9 CPU image rather than a
> terminal image? The only interface I will need from the RaspberryPi to the
> Arduino is TTL serial
> * Eventually I would create another RaspberryPi, running Linux using
> 9mount, to display various statistics and data about the system. I'd be
> writing the interpreter for the information from the Open Aquarium/ Open
> Garden shields in Python. With what I have described, all I would need to
> do is "open" the TTL serial stream file from each of the RPis and read out
> the data, am I correct?
> * Does anyone have any constructive thoughts on this system setup? Please
> note, I am doing this to get a handle on 9P.
>
> Many thanks!
>
> Shane.
>
>

[-- Attachment #2: Type: text/html, Size: 2703 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] A setup
  2014-11-02  0:58 ` Skip Tavakkolian
@ 2014-11-02  1:04   ` Shane Morris
  0 siblings, 0 replies; 3+ messages in thread
From: Shane Morris @ 2014-11-02  1:04 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 2787 bytes --]

I like your setup Skip...!

I was thinking of having a "mostly" Plan 9 distributed solution, with an
Inferno registry node in the mix (per Pete Elmores debu.gs tutorials and
9gridchan tutorials). I may end up doing the GUI on Inferno too, as it has
quite a few more primitives that'll make it look "friendly." I'll have to
read Philips book on Limbo programming for that.

I was thinking of having the Mac9P/ 9mount on Linux there in case I needed
it, but yes, you're right about authentication and the like.

On Sun, Nov 2, 2014 at 11:58 AM, Skip Tavakkolian <
skip.tavakkolian@gmail.com> wrote:

> i can think of two options:
>
> - you could go for an all Plan 9 distributed solution. this will be the
> easiest to roll out and maintain in my opinion (security, administration,
> maintenance, etc). i have used this setup with over a dozen 9pi cpu's (tftp
> booting from a 386-based auth+fs) collecting bluetooth data (via usb) and
> logging it on the fs.  it worked well; the collector is a simple rc script
> that reads files served by the bluetooth fs and writes the data to the
> (imported) filesystem; it all uses 9P, of course.
>
> - you could build a 9P network on top of heterogeneous OS environments ,
> but things get unnecessarily messy. you have to deal with authentication,
>  log forwarding or u9fs, non-standard ways of talking to USB, or serial and
> needing to build your own 9P file server for each, etc.
>
> -Skip
>
>
>
> On Sat, Nov 1, 2014 at 2:41 PM, Shane Morris <edgecomberts@gmail.com>
> wrote:
>
>> Hi 9fans,
>>
>> I wish to have a 9P based sensor and actuator reporting system for an
>> aquaponics setup I am designing.
>>
>> I was going to use a RaspberryPi running Plan 9, an "A la mode" for the
>> interface to the Arduino shield, and a Cooking Hacks Open Aquarium/ Open
>> Garden shield (so I would need two RaspberryPi's). On the control side of
>> things, I would have my MacBook access the namespace via Mac9P.
>>
>> Some questions:
>>
>> * Would it be better to use a RaspberryPi Plan 9 CPU image rather than a
>> terminal image? The only interface I will need from the RaspberryPi to the
>> Arduino is TTL serial
>> * Eventually I would create another RaspberryPi, running Linux using
>> 9mount, to display various statistics and data about the system. I'd be
>> writing the interpreter for the information from the Open Aquarium/ Open
>> Garden shields in Python. With what I have described, all I would need to
>> do is "open" the TTL serial stream file from each of the RPis and read out
>> the data, am I correct?
>> * Does anyone have any constructive thoughts on this system setup? Please
>> note, I am doing this to get a handle on 9P.
>>
>> Many thanks!
>>
>> Shane.
>>
>>
>

[-- Attachment #2: Type: text/html, Size: 3800 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-11-02  1:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-01 21:41 [9fans] A setup Shane Morris
2014-11-02  0:58 ` Skip Tavakkolian
2014-11-02  1:04   ` Shane Morris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).