New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dinky RFID reader not working #520

Closed
jackie1050 opened this Issue Jun 25, 2017 · 15 comments

Comments

Projects
None yet
5 participants
@jackie1050

jackie1050 commented Jun 25, 2017

Swiping RFID tag didn't release lock, although the red light came on (I did strip the blue wire before looking at the diagram and realising it didn't need to be connected).

@johnmckerrell

This comment has been minimized.

Show comment
Hide comment
@johnmckerrell

johnmckerrell Jun 26, 2017

Member

I've just done some minimal debugging. The door wasn't online but a reboot has fixed that, RFID scanning is not showing up in the SSH session but manually opening the door does, so it's definitely a problem with the RFID reader.

Using the actual key which is in the locked cupboard continues to work.

Member

johnmckerrell commented Jun 26, 2017

I've just done some minimal debugging. The door wasn't online but a reboot has fixed that, RFID scanning is not showing up in the SSH session but manually opening the door does, so it's definitely a problem with the RFID reader.

Using the actual key which is in the locked cupboard continues to work.

@DefProc

This comment has been minimized.

Show comment
Hide comment
@DefProc

DefProc Jun 26, 2017

DefProc commented Jun 26, 2017

@amcewen

This comment has been minimized.

Show comment
Hide comment
@amcewen

amcewen Jun 26, 2017

Member

If it turns out to be the reader I've got one we can put in service, as long as it gets replaced :-)

Member

amcewen commented Jun 26, 2017

If it turns out to be the reader I've got one we can put in service, as long as it gets replaced :-)

@johnmckerrell

This comment has been minimized.

Show comment
Hide comment
@johnmckerrell

johnmckerrell Jun 26, 2017

Member
Member

johnmckerrell commented Jun 26, 2017

@amcewen

This comment has been minimized.

Show comment
Hide comment
@amcewen

amcewen Jun 26, 2017

Member

@johnmckerrell and I had a look at it again this evening. Seems that the green wire isn't connected properly - holding a new wire on both ends of where the green wire connects fixes things. We haven't had chance to try any proper fixes yet.

Member

amcewen commented Jun 26, 2017

@johnmckerrell and I had a look at it again this evening. Seems that the green wire isn't connected properly - holding a new wire on both ends of where the green wire connects fixes things. We haven't had chance to try any proper fixes yet.

@johnmckerrell johnmckerrell removed the Broken label Jun 27, 2017

@johnmckerrell

This comment has been minimized.

Show comment
Hide comment
@johnmckerrell

johnmckerrell Jun 27, 2017

Member

I stripped and re-soldered the green wire and it's working again. I've made a replacement RFID cover as the old one was a bit small, it's yellow and gluing in the kitchen. Will fit it on Thursday if no-one else has.

Member

johnmckerrell commented Jun 27, 2017

I stripped and re-soldered the green wire and it's working again. I've made a replacement RFID cover as the old one was a bit small, it's yellow and gluing in the kitchen. Will fit it on Thursday if no-one else has.

@johnmckerrell

This comment has been minimized.

Show comment
Hide comment
@johnmckerrell

johnmckerrell Jul 3, 2017

Member

When I got in on Thursday (29th June 2017) the door had stopped working again. I physically rebooted it at which point it started working again, I then also re-fitted the RFID cover.

Today (3rd July 2017) it's stopped working again, I can't SSH in so will have to physically reboot again, I'll try to check logs to see what's happened too but I doubt I'll get much, possibly the Pi is on the way out.

Member

johnmckerrell commented Jul 3, 2017

When I got in on Thursday (29th June 2017) the door had stopped working again. I physically rebooted it at which point it started working again, I then also re-fitted the RFID cover.

Today (3rd July 2017) it's stopped working again, I can't SSH in so will have to physically reboot again, I'll try to check logs to see what's happened too but I doubt I'll get much, possibly the Pi is on the way out.

@johnmckerrell

This comment has been minimized.

Show comment
Hide comment
@johnmckerrell

johnmckerrell Jul 5, 2017

Member

Quick update, it seems to be going offline repeatedly, I've rebooted a few times this week but not had chance to look at why. It did seem to be off the network but that shouldn't stop it functioning.

Member

johnmckerrell commented Jul 5, 2017

Quick update, it seems to be going offline repeatedly, I've rebooted a few times this week but not had chance to look at why. It did seem to be off the network but that shouldn't stop it functioning.

@johnmckerrell johnmckerrell added the Broken label Jul 5, 2017

@amcewen

This comment has been minimized.

Show comment
Hide comment
@amcewen

amcewen Jul 6, 2017

Member

Plugging a keyboard and screen into it, it isn't getting on the network. Digging into it there wasn't any configuration for eth0, it was set to manual but without an IP address. Changing it (in /etc/network/interfaces) to:

auto eth0
iface eth0 inet dhcp

seems to let it get on the network okay. It did manage to forget that info once, but has been up for 20 minutes or so now. So, something to keep an eye on before declaring this fixed...

Member

amcewen commented Jul 6, 2017

Plugging a keyboard and screen into it, it isn't getting on the network. Digging into it there wasn't any configuration for eth0, it was set to manual but without an IP address. Changing it (in /etc/network/interfaces) to:

auto eth0
iface eth0 inet dhcp

seems to let it get on the network okay. It did manage to forget that info once, but has been up for 20 minutes or so now. So, something to keep an eye on before declaring this fixed...

@amcewen

This comment has been minimized.

Show comment
Hide comment
@amcewen

amcewen Jul 7, 2017

Member

It survived a few hours, but was inoperable again today.

Looking at the screen that we'd left connected and tailing /var/log/syslog there'd been a kernel panic. Rebooting the Pi it didn't get on the network, and didn't seem to have stored the log file with the kernel panic details anywhere :-/

So, running sudo dhclient seemed to get it back on the network okay, and I've left a screen running with tail -f /var/log/syslog | tee /home/pi/paniclog, in the hope that next time the kernel panics at least we'll have a log of it saved.

It's running at present, hopefully that'll be long enough for the cleaner to be able to get in.

Member

amcewen commented Jul 7, 2017

It survived a few hours, but was inoperable again today.

Looking at the screen that we'd left connected and tailing /var/log/syslog there'd been a kernel panic. Rebooting the Pi it didn't get on the network, and didn't seem to have stored the log file with the kernel panic details anywhere :-/

So, running sudo dhclient seemed to get it back on the network okay, and I've left a screen running with tail -f /var/log/syslog | tee /home/pi/paniclog, in the hope that next time the kernel panics at least we'll have a log of it saved.

It's running at present, hopefully that'll be long enough for the cleaner to be able to get in.

@ajlennon

This comment has been minimized.

Show comment
Hide comment
@ajlennon
Contributor

ajlennon commented Jul 7, 2017

@amcewen

This comment has been minimized.

Show comment
Hide comment
@amcewen

amcewen Sep 30, 2017

Member

I'd rebooted the Pi recently, and found that it came up okay but would kernel panic if you tried to do something complicated, like, y'know, typing the username in at the login prompt... :-D

So, I wondered if it was some corruption on the SD card. To try that, I've written a new image to a new SD card (it's also built upon the latest Raspbian (Stretch). That seems to come up cleanly, I've not tried logging in at the console, but the networking seems to work nicely.

Going to tentatively close it, and hope it's not reopened with a "this isn't working still" in a couple of days... :-)

Member

amcewen commented Sep 30, 2017

I'd rebooted the Pi recently, and found that it came up okay but would kernel panic if you tried to do something complicated, like, y'know, typing the username in at the login prompt... :-D

So, I wondered if it was some corruption on the SD card. To try that, I've written a new image to a new SD card (it's also built upon the latest Raspbian (Stretch). That seems to come up cleanly, I've not tried logging in at the console, but the networking seems to work nicely.

Going to tentatively close it, and hope it's not reopened with a "this isn't working still" in a couple of days... :-)

@amcewen amcewen closed this Sep 30, 2017

@ajlennon

This comment has been minimized.

Show comment
Hide comment
@ajlennon

ajlennon Sep 30, 2017

Contributor

So I should be able to get into Dinky now? Fantastic! If it's still buggering up I will take a look (promise this time)

Contributor

ajlennon commented Sep 30, 2017

So I should be able to get into Dinky now? Fantastic! If it's still buggering up I will take a look (promise this time)

@amcewen

This comment has been minimized.

Show comment
Hide comment
@amcewen

amcewen Sep 30, 2017

Member

Yes, I updated the config file a week or so back, so all the recent tag IDs have been on it since then. Assuming the networking holds up with the new build, once your implant is on the system it should get copied over just fine :-D

Member

amcewen commented Sep 30, 2017

Yes, I updated the config file a week or so back, so all the recent tag IDs have been on it since then. Assuming the networking holds up with the new build, once your implant is on the system it should get copied over just fine :-D

@ajlennon

This comment has been minimized.

Show comment
Hide comment
@ajlennon

ajlennon Sep 30, 2017

Contributor

I think we tested it before didn't we so with a bit of luck it should "just work"(tm) !

A week or so ago. Shows how often I've been in recently! cough cough

Contributor

ajlennon commented Sep 30, 2017

I think we tested it before didn't we so with a bit of luck it should "just work"(tm) !

A week or so ago. Shows how often I've been in recently! cough cough

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment