- install the apk.
- run the App.
- wave card at back of phone, observe serial number appear in 'serial' field.
- enter LHS membership Username and Password in the supplied fields.
- hit 'Go!'
- relax and let technology do the rest for you...
We've got more and more boxes on the network at London Hackspace. I wanted a way to find them all automatticly and give me a menu to ssh into them.
It turns our that it's pretty easy to do with avahi, on the servers - apt-get install avahi-daemon, and then drop this into /etc/avahi/services:
<?xml version="1.0" standalone='no'?><!--*-nxml-*--> <!DOCTYPE service-group SYSTEM "avahi-service.dtd"> <service-group> <name replace-wildcards="yes">%h</name> <service> <type>_ssh._tcp</type> <port>22</port> </service> <service> <type>_sftp-ssh._tcp</type> <port>22</port> </service> </service-group>
Then on your laptop install install avahi-ui-utils and run bssh for a list of things to connect to.
There is one annoyance, if you get an entry for ipv4 and ipv6, and if you have both ethernet and wifi you get an entry for each, so each host is repeated 4 times!
Since I got a Galaxy Nexus I've been interested in playing about with it's NFC support, which is a layer on top of the usual RFID stuff.
I've written an Android App that uses your phone to grab the serial from an RFID card and then add it to your Hackspace account. So if you've got a phone that supports NFC you can add your own card your self.
and code here:
to use it:
I was hoping to be able to generate a random serial number and get the phone to pretend to be a card and use that to activate Doorbot, but I haven't worked out how to yet. (The android SDK really focuses on NFC stuff, not the lower level RFID things, so it might be a bit like trying to spoof a mac address from http).