-
Notifications
You must be signed in to change notification settings - Fork 4
How to add a Keycard
Enrico Razzetti edited this page Aug 23, 2017
·
1 revision
11¤h1. How to add keys to the Humla doorbot
- Log in to humladoor:
ssh pi@humladoor
- look at logfile for door; tail \-f /var/log/door.log
- swipe the card you wish to add
- copy the full card number from the console output into /home/pi/users/$username
The first numbers should match the numbers printed on the card. The last number doesn’t match the one
on the card. The leading zeroes should not be included!
You can use ssh to open the door, for instance from your cell phone or laptop.
This happens automatically if you put your ssh key into the lock.
It’s also a practical way of letting someone in remotely.
- Log in to humladoor:
ssh pi@humladoor
- Get root:
sudo \-i
- Switch directories:
cd ~humla
- Paste your ssh key at the end of the authorized keys file
vim .ssh/authorized_keys
Now you can open the lock with
ssh humla@humladoor
- Public Chat Room (IRC)
- Membership
- Payment
- Presentations and Workshops
- Financial and Hardware Donations
- Code of Conduct
- Ham Radio
There are more uncategorized wiki pages in the Pages list.