Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
SNARC issues.
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
buzz  
View profile  
 More options Nov 15 2012, 6:06 am
From: buzz <davidb...@gmail.com>
Date: Thu, 15 Nov 2012 21:05:46 +1000
Local: Thurs, Nov 15 2012 6:05 am
Subject: SNARC issues.

All,
This is me admitting defeat.

I've tried to get either or both the SNARCs ( the one in the Port Hack
front door, and the one from the office ) to talk on the network, and I
can't.

I''ve no idea what I'm doing wrong, and I've spent hours trying.    I'm
sure it used to work, and at this point I've given up.

Until someone can show me a SNARC that's (a) connected to ethernet and (b)
pingable and (c) the code they used to make it happen , I'm washing my
hands of all of this.

Any volunteers who want to try and help should let me know forst, so I can
share the current code with you..

Buzz.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tjhowse  
View profile  
 More options Nov 15 2012, 6:25 am
From: tjhowse <tjho...@gmail.com>
Date: Thu, 15 Nov 2012 21:25:02 +1000
Local: Thurs, Nov 15 2012 6:25 am
Subject: Re: SNARC issues.

I'm doing something similar here: https://github.com/tjhowse/secnode/

Something in here<https://github.com/tjhowse/secnode/blob/master/arduino/micro/micro.pde>might
jog your memory?

On 15 November 2012 21:05, buzz <davidb...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Luke Hovington  
View profile  
 More options Nov 15 2012, 6:29 am
From: Luke Hovington <lu...@hovo.id.au>
Date: Thu, 15 Nov 2012 21:29:13 +1000
Local: Thurs, Nov 15 2012 6:29 am
Subject: Re: SNARC issues.

Did you get the EEPROM working?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tjhowse  
View profile  
 More options Nov 15 2012, 7:28 am
From: tjhowse <tjho...@gmail.com>
Date: Thu, 15 Nov 2012 22:27:43 +1000
Local: Thurs, Nov 15 2012 7:27 am
Subject: Re: SNARC issues.

I don't know if that question was directed at Buzz or me, but I've just
added EEPROM storage to my code for the ethernet settings and crypto key.

On 15 November 2012 21:29, Luke Hovington <lu...@hovo.id.au> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Buzz  
View profile  
 More options Nov 15 2012, 7:38 am
From: Buzz <davidb...@gmail.com>
Date: Thu, 15 Nov 2012 22:38:38 +1000
Local: Thurs, Nov 15 2012 7:38 am
Subject: Re: SNARC issues.
Yes. Eeprom bug is fixed. Ethernet is not.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
buzz  
View profile  
 More options Nov 15 2012, 7:52 am
From: buzz <davidb...@gmail.com>
Date: Thu, 15 Nov 2012 22:52:16 +1000
Local: Thurs, Nov 15 2012 7:52 am
Subject: Re: SNARC issues.

TJ, it's interesting to see the similarities in the code.  :-)       ... as
compared to
https://github.com/davidbuzz/snarc/blob/master/Firmware/snarc/snarc.ino .
... the only thing you've done is you've added encryption, which I never
quite got around to.

Can I ask what you are planning to use your code for ?   ... there's
nothing in the code that even hints as to its purpose. ( other than a
comment or two suggesting maybe a card based access control system ) .

My specific issue in this specific case is simple.... the code is "right" (
at least as far as I can tell)  , but the hardware doesn't respond as it
should.     :-(

Buzz.

On 15 November 2012 21:25, tjhowse <tjho...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
buzz  
View profile  
 More options Nov 15 2012, 8:17 am
From: buzz <davidb...@gmail.com>
Date: Thu, 15 Nov 2012 23:17:33 +1000
Local: Thurs, Nov 15 2012 8:17 am
Subject: Re: SNARC issues.

oh, and on a related note, I discovered there's a SHA1 and SHA256  and
HMACSHA* library for arduino here:  http://code.google.com/p/cryptosuite/
( in the Sha.zip ) , which you could use so that you never have to pass a
tag/code over the network ( with or without AES) , you just do a SHA of it
in the 'duino, and pass the resulting hash over the network. ( probably
still good to use AES for this bit, I spose) .    The "server" can then
compare the SHA it recieves with the SHA it has on record, and if they
match, then all is good with the world. :-)    This would mean that you
could set the entire system up so that it doesn't ever store any tag info,
at all ( on client or server ) , just SHA's of them, which is much more
secure.

Maybe I'll implement that in the SNARC if anyone else gets Ethernet working
for me.  :-)

Buzz.

On 15 November 2012 22:52, buzz <davidb...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tjhowse  
View profile  
 More options Nov 15 2012, 8:22 am
From: tjhowse <tjho...@gmail.com>
Date: Thu, 15 Nov 2012 23:22:06 +1000
Local: Thurs, Nov 15 2012 8:22 am
Subject: Re: SNARC issues.

Yep, it's an access controller for a door. PoE, wiegand card reader input
and an accelerometer for tamper detection.

The crypto keys are set at install time and never again transmitted in the
clear. I decrypt the message from the field and run it through a checksum.
If it comes out OK, the decryption key was correct.

I'm about to go to bed so I've only skimmed your code, but could it be
objecting to a mac address of 00:00:00:00:00:00? Either the wiznet or your
network switch?

On 15 November 2012 23:17, buzz <davidb...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Triffid Hunter  
View profile  
 More options Nov 15 2012, 8:46 am
From: Triffid Hunter <triffid.hun...@gmail.com>
Date: Fri, 16 Nov 2012 00:45:48 +1100
Local: Thurs, Nov 15 2012 8:45 am
Subject: Re: SNARC issues.

On Fri, Nov 16, 2012 at 12:17 AM, buzz <davidb...@gmail.com> wrote:
> oh, and on a related note, I discovered there's a SHA1 and SHA256  and
> HMACSHA* library for arduino here:  http://code.google.com/p/cryptosuite/
> ( in the Sha.zip ) , which you could use so that you never have to pass a
> tag/code over the network ( with or without AES) , you just do a SHA of it
> in the 'duino, and pass the resulting hash over the network. ( probably
> still good to use AES for this bit, I spose) .    The "server" can then
> compare the SHA it recieves with the SHA it has on record, and if they
> match, then all is good with the world. :-)    This would mean that you
> could set the entire system up so that it doesn't ever store any tag info,
> at all ( on client or server ) , just SHA's of them, which is much more
> secure.

don't forget the nonce to discourage replay attacks!

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »