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..
> 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 received this message because you are subscribed to the Google Groups
> "hackerspace_brisbane" group.
> To post to this group, send email to hackerspace_brisbane@googlegroups.com
> .
> To unsubscribe from this group, send email to
> hackerspace_brisbane+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/hackerspace_brisbane?hl=en.
> On 15 November 2012 21:05, buzz <davidb...@gmail.com <javascript:_e({},
> 'cvml', 'davidb...@gmail.com');>> wrote:
>> 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 received this message because you are subscribed to the Google Groups
>> "hackerspace_brisbane" group.
>> To post to this group, send email to
>> hackerspace_brisbane@googlegroups.com <javascript:_e({}, 'cvml',
>> 'hackerspace_brisbane@googlegroups.com');>.
>> To unsubscribe from this group, send email to
>> hackerspace_brisbane+unsubscribe@googlegroups.com <javascript:_e({},
>> 'cvml', 'hackerspace_brisbane%2Bunsubscribe@googlegroups.com');>.
>> For more options, visit this group at
>> http://groups.google.com/group/hackerspace_brisbane?hl=en.
> --
> You received this message because you are subscribed to the Google Groups
> "hackerspace_brisbane" group.
> To post to this group, send email to hackerspace_brisbane@googlegroups.com<javascript:_e({}, 'cvml', 'hackerspace_brisbane@googlegroups.com');>
> .
> To unsubscribe from this group, send email to
> hackerspace_brisbane+unsubscribe@googlegroups.com <javascript:_e({},
> 'cvml', 'hackerspace_brisbane%2Bunsubscribe@googlegroups.com');>.
> For more options, visit this group at
> http://groups.google.com/group/hackerspace_brisbane?hl=en.
>> On 15 November 2012 21:05, buzz <davidb...@gmail.com> wrote:
>>> 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 received this message because you are subscribed to the Google
>>> Groups "hackerspace_brisbane" group.
>>> To post to this group, send email to
>>> hackerspace_brisbane@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> hackerspace_brisbane+unsubscribe@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/hackerspace_brisbane?hl=en.
>> --
>> You received this message because you are subscribed to the Google Groups
>> "hackerspace_brisbane" group.
>> To post to this group, send email to
>> hackerspace_brisbane@googlegroups.com.
>> To unsubscribe from this group, send email to
>> hackerspace_brisbane+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/hackerspace_brisbane?hl=en.
> --
> You received this message because you are subscribed to the Google Groups
> "hackerspace_brisbane" group.
> To post to this group, send email to hackerspace_brisbane@googlegroups.com
> .
> To unsubscribe from this group, send email to
> hackerspace_brisbane+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/hackerspace_brisbane?hl=en.
>> On 15 November 2012 21:05, buzz <davidb...@gmail.com <javascript:_e({}, >> 'cvml', 'davidb...@gmail.com');>> wrote:
>>> 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 received this message because you are subscribed to the Google Groups >>> "hackerspace_brisbane" group. >>> To post to this group, send email to >>> hackerspace_brisbane@googlegroups.com <javascript:_e({}, 'cvml', >>> 'hackerspace_brisbane@googlegroups.com');>. >>> To unsubscribe from this group, send email to >>> hackerspace_brisbane+unsubscribe@googlegroups.com <javascript:_e({}, >>> 'cvml', 'hackerspace_brisbane%2Bunsubscribe@googlegroups.com');>. >>> For more options, visit this group at >>> http://groups.google.com/group/hackerspace_brisbane?hl=en.
>> -- >> You received this message because you are subscribed to the Google Groups >> "hackerspace_brisbane" group. >> To post to this group, send email to hackerspace_brisbane@googlegroups.com<javascript:_e({}, 'cvml', 'hackerspace_brisbane@googlegroups.com');> >> . >> To unsubscribe from this group, send email to >> hackerspace_brisbane+unsubscribe@googlegroups.com <javascript:_e({}, >> 'cvml', 'hackerspace_brisbane%2Bunsubscribe@googlegroups.com');>. >> For more options, visit this group at >> http://groups.google.com/group/hackerspace_brisbane?hl=en.
>-- >You received this message because you are subscribed to the Google Groups "hackerspace_brisbane" group. >To post to this group, send email to hackerspace_brisbane@googlegroups.com. >To unsubscribe from this group, send email to hackerspace_brisbane+unsubscribe@googlegroups.com. >For more options, visit this group at http://groups.google.com/group/hackerspace_brisbane?hl=en.
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:
> On 15 November 2012 21:05, buzz <davidb...@gmail.com> wrote:
>> 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 received this message because you are subscribed to the Google Groups
>> "hackerspace_brisbane" group.
>> To post to this group, send email to
>> hackerspace_brisbane@googlegroups.com.
>> To unsubscribe from this group, send email to
>> hackerspace_brisbane+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/hackerspace_brisbane?hl=en.
> --
> You received this message because you are subscribed to the Google Groups
> "hackerspace_brisbane" group.
> To post to this group, send email to hackerspace_brisbane@googlegroups.com
> .
> To unsubscribe from this group, send email to
> hackerspace_brisbane+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/hackerspace_brisbane?hl=en.
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:
> 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:
>> On 15 November 2012 21:05, buzz <davidb...@gmail.com> wrote:
>>> 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 received this message because you are subscribed to the Google
>>> Groups "hackerspace_brisbane" group.
>>> To post to this group, send email to
>>> hackerspace_brisbane@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> hackerspace_brisbane+unsubscribe@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/hackerspace_brisbane?hl=en.
>> --
>> You received this message because you are subscribed to the Google Groups
>> "hackerspace_brisbane" group.
>> To post to this group, send email to
>> hackerspace_brisbane@googlegroups.com.
>> To unsubscribe from this group, send email to
>> hackerspace_brisbane+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/hackerspace_brisbane?hl=en.
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:
> 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:
>> 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:
>>> On 15 November 2012 21:05, buzz <davidb...@gmail.com> wrote:
>>>> 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 received this message because you are subscribed to the Google
>>>> Groups "hackerspace_brisbane" group.
>>>> To post to this group, send email to
>>>> hackerspace_brisbane@googlegroups.com.
>>>> To unsubscribe from this group, send email to
>>>> hackerspace_brisbane+unsubscribe@googlegroups.com.
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/hackerspace_brisbane?hl=en.
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "hackerspace_brisbane" group.
>>> To post to this group, send email to
>>> hackerspace_brisbane@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> hackerspace_brisbane+unsubscribe@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/hackerspace_brisbane?hl=en.
> --
> You received this message because you are subscribed to the Google Groups
> "hackerspace_brisbane" group.
> To post to this group, send email to hackerspace_brisbane@googlegroups.com
> .
> To unsubscribe from this group, send email to
> hackerspace_brisbane+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/hackerspace_brisbane?hl=en.
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!