Anonymous

Equipment/Hamming: Difference between revisions

From London Hackspace Wiki
m
no edit summary
mNo edit summary
mNo edit summary
Line 2: Line 2:
| name = Hamming <!-- Name of the item. -->
| name = Hamming <!-- Name of the item. -->
| image = Hackspace_Unknown.png <!-- Image of the item. Leave with placeholder image if none exists. -->
| image = Hackspace_Unknown.png <!-- Image of the item. Leave with placeholder image if none exists. -->
| model = VIA EPIA <!-- Model -->
| model = Raspberry Pi 2 <!-- Model -->
| category = Equipment <!-- Main category. Please leave alone to keep item in this category -->
| category = Equipment <!-- Main category. Please leave alone to keep item in this category -->
| subcat = Systems <!-- Sub-category if one exists. Please check main listing to see other categories contained within the main one -->
| subcat = Systems <!-- Sub-category if one exists. Please check main listing to see other categories contained within the main one -->
Line 12: Line 12:
| acnode = No <!-- Is the equipment ACnode locked? -->
| acnode = No <!-- Is the equipment ACnode locked? -->
| owner = LHS <!-- Provide a link to owners members page if other than LHS -->
| owner = LHS <!-- Provide a link to owners members page if other than LHS -->
| origin = Aden <!-- If via pledge, please link to the completed pledge page on the wiki -->
| origin = YvanJ <!-- If via pledge, please link to the completed pledge page on the wiki -->
| location = Above the front-door 'space' <!-- Floor, room/zone and location within that area -->
| location = Above the front-door 'space' <!-- Floor, room/zone and location within that area -->
| maintainers = <!-- If someone is nominated as managing the upkeep of this item, please list them here. No links please; it currently breaks the template. -->
| maintainers = <!-- If someone is nominated as managing the upkeep of this item, please list them here. No links please; it currently breaks the template. -->
Line 18: Line 18:
}}
}}


Hamming is an x86-processor based VIA EPIA based system donated by [[User:Aden]]. It is old and was once doorbot. It ideally could be replaced with a modern Raspberry Pi 2 or Beaglebone Black.  
Hamming is a Raspberry Pi 2. It is running the daemons for the  [[Project:Notification_Board|Notification Board]],[[Orange_led_strips| Orange LED Strip Moving Sign]] and [[Project:Infotec_displays|National Rail clock]] - these are all connected to powered USB hub. The hardware was kindly donated by [[User:YvanJ]]
 
It is running the daemons for the  [[Project:Notification_Board|Notification Board]],[[Orange_led_strips| Orange LED Strip Moving Sign]] and [[Project:Infotec_displays|National Rail clock]] - these are all connected to a powered USB hub.
 
It's also connected to some speakers so it can do the doorbot-sounds (historically GLaDOS voices) as well but this has been broken and out of use for a long time.
 
Hamming has 2 x hard drives in RAID1 - it has had the 'ticking drive sound of death' so this is likely a very good thing.
 
Useful note for crashes / restarts etc - run
  export AUDIODEV=hw:0,0
before rebooting listeners.sh or PulseAudio won't work.
 
 
==Hamming-Replacement==
 
[[User:Yvanj|Yvan]] was kind enough to purchase a Raspberry Pi 2 as a replacement for Hamming. It is running Ubuntu MATE (a nice prepackaged spin) and we installed almost all of the same packages from Hamming onto Hamming-Replacement.
 
We're hoping to use a PoE power adapter for remote power management of Hamming-Replacement but retain the powered USB hub for the various serial devices. This will be a much more flexible, power efficient system with less moving parts.
 
===TODO:===
 
* Transition off Mini-PDU switch-on/off scripts for power-conservation (and make the script non-working directory dependent) (<span style="color: red;">will be moved to adminstuff by Jasper, not vital to the running of the space really tho!</span>)
* Copy host ssh keys from hamming to hamming-replacement to prevent auto-login errors
* Verify scripts are working with new RPi2 (Orange LED, etc)
* Verify remote logins work for existing users (copy ssh keys/homedirs)
* If everything is going well, change IP address/hostname of hamming-replacement to hamming ''(after hamming is set to DHCP as hamming-legacy?)''
* Reboot both a couple of times, test out whether the moving signs work as previously intended, and then update all involved (wiki documentation, etc.)
* Wait a period of time after replacement, DBAN the hard drives, and then offer the hardware up for member projects