9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Skip Tavakkolian <skip.tavakkolian@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] A setup
Date: Sat,  1 Nov 2014 17:58:12 -0700	[thread overview]
Message-ID: <CAJSxfm+smPzX1vk9C1-QKmP--zG19XajvVDkXrJ27NLRVz0x1Q@mail.gmail.com> (raw)
In-Reply-To: <CANZw+5eozqRmNOFtOoAymmjJ6CXgyH5Lo+rXnSPhKBi4fr0zuQ@mail.gmail.com>

[-- 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 --]

  reply	other threads:[~2014-11-02  0:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-01 21:41 Shane Morris
2014-11-02  0:58 ` Skip Tavakkolian [this message]
2014-11-02  1:04   ` Shane Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJSxfm+smPzX1vk9C1-QKmP--zG19XajvVDkXrJ27NLRVz0x1Q@mail.gmail.com \
    --to=skip.tavakkolian@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).