Okay! Get some geek on!
Aug. 20th, 2014 08:58 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
I had a free evening and I'm feeling a bit annoyed by a flood of work-related annoyances[1] , so I figured I'd dive into geekery and dick around with my arduino near-field RFID reader.
Previously, I'd managed to load the sample nfc mifare read program from adafruit but wasn't quite clear what was going on with it. Now, I've checked that all of my tags are mifare classic with 4 byte identifiers (like my mbta charlie card, for example) rather than the 7 byte identifiers on some mifare cards/tags. Even better, I've got the sketch checking whether the uid matches my mbta charlie card and - using an ethernet shield tacked onto the arduino as well - I have it logging the UID to a webserver which grabs it with a php script[2] that logs the uid to a file along with a timestamp. Fuck yeah.
Probable eventual goal, btw is hooking it up to an electric strike on one of the doors to my apartment and having a home-brew RFID entry control system. That way, for instance, I can have a wider and more granularly controlled set of folks who have access to the apartment to, say, feed my cats when we're out of town.
[1] The bit has flipped from "FIREFIGHTING IS FUN AND PROBLEM SOLVING IS FUN" to "I AM GOING TO BURN CISCO TO THE GROUND AND SALT THE LAND THEY WERE ON". It happens. Welcome to the operational side of networking.
[2] Yeah, php is a crappy language but it's easy.
Previously, I'd managed to load the sample nfc mifare read program from adafruit but wasn't quite clear what was going on with it. Now, I've checked that all of my tags are mifare classic with 4 byte identifiers (like my mbta charlie card, for example) rather than the 7 byte identifiers on some mifare cards/tags. Even better, I've got the sketch checking whether the uid matches my mbta charlie card and - using an ethernet shield tacked onto the arduino as well - I have it logging the UID to a webserver which grabs it with a php script
Probable eventual goal, btw is hooking it up to an electric strike on one of the doors to my apartment and having a home-brew RFID entry control system. That way, for instance, I can have a wider and more granularly controlled set of folks who have access to the apartment to, say, feed my cats when we're out of town.
[1] The bit has flipped from "FIREFIGHTING IS FUN AND PROBLEM SOLVING IS FUN" to "I AM GOING TO BURN CISCO TO THE GROUND AND SALT THE LAND THEY WERE ON". It happens. Welcome to the operational side of networking.
[2] Yeah, php is a crappy language but it's easy.
no subject
Date: 2014-08-21 02:51 am (UTC)Does this mean ... you're a non-heterogenous networking environment?
This can't be good!
Also, spiffy with the RFID scanning, that's an excellent idea!
no subject
Date: 2014-08-21 03:02 am (UTC)I've still got a bunch of Juniper SRX firewalls (and maybe a few old Netscreens around) but we've just moved our remote access VPN appliance over to be a cisco. Our routing and switching infrastructure is cisco, tho.
I could theoretically buy an rfid door lock, but it's being more fun to build one, slowly. Also, I like the idea of knowing that there are no weird manufacturer's back doors or anything.
no subject
Date: 2014-08-21 03:25 am (UTC)(You are not properly paranoid. ;) )
no subject
Date: 2014-08-21 11:10 pm (UTC)no subject
Date: 2014-08-22 04:27 am (UTC)Glad you did something wonderfully productive. WHen I have time, I want to play with arduino.
no subject
Date: 2014-08-22 02:11 pm (UTC)Which is to say, I provided inspiration by locking myself out of the house.