Difference between revisions of "Equipment/Hamming"

From London Hackspace Wiki
Jump to navigation Jump to search
m (Added TODO items)
(update needed to equipmentinfobox)
 
(11 intermediate revisions by 3 users not shown)
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 -->
| status = Good working order <!-- Set to one of; Good working order, Faulty, Out of order, Under construction, Out of consumables, Scrapped, or Unknown -->
+
| status = Under construction <!-- Set to one of; Good working order, Faulty, Out of order, Under construction, Out of consumables, Scrapped, or Unknown -->
 
| consumables = Unknown <!-- Any items used up in normal operation, such as; ink, paper, saw-blades, cutting disks, oil, etc.. -->
 
| consumables = Unknown <!-- Any items used up in normal operation, such as; ink, paper, saw-blades, cutting disks, oil, etc.. -->
 
| accessories = Unknown <!-- Any items associated with the equipment but not consumable, such as; drill bits, safety gloves, goggles, etc.. -->
 
| accessories = Unknown <!-- Any items associated with the equipment but not consumable, such as; drill bits, safety gloves, goggles, etc.. -->
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 = Ground floor, middle room <!-- 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 = Sysadmin team!-- If someone is nominated as managing the upkeep of this item, please list them here. No links please; it currently breaks the template. -->
 
| template_ver = 1.1 <!-- Please do not change. Used for tracking out-of-date templates -->
 
| template_ver = 1.1 <!-- Please do not change. Used for tracking out-of-date templates -->
 
}}
 
}}
  
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.  Hamming was named after [https://en.wikipedia.org/wiki/Richard_Hamming Richard Hamming] who invented the Hamming Code, the Hamming window, Hamming numbers, sphere-packing (or Hamming bound), and the Hamming distance.
  
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 used to run a the daemons for the  [[Project:Notification_Board|Notification Board]].
  
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.  
+
At 447 Hackney Road, Hamming previously ran the [[Orange_led_strips| Orange LED Strip Moving Sign]] and [[Project:Infotec_displays|National Rail clock]] connected via a powered USB hub. The Raspberry Pi 2 hardware was kindly donated by [[User:Yvanj]]
  
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.  
+
It now runs voice announcers and doorbell at Ujima House.
  
Useful note for crashes / restarts etc - run
+
[[Category:Update Needed]]
  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:'''
 
 
 
* Add in the Mini-PDU switchoff scripts for power-conservation (and make the script non-working directory dependent)
 
  # switch the lobbypdu port 1 off
 
  50 23 * * * cd ~jasper/lobbypdu ; ./off.sh
 
  # and back on again
 
  30 8  * * * cd ~jasper/lobbypdu ; ./on.sh
 
* 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
 

Latest revision as of 19:53, 21 October 2021

Hamming
Hackspace Unknown.png
Model Raspberry Pi 2
Sub-category Systems
Status Under construction
Consumables Unknown
Accessories Unknown
Training requirement Unknown
Training link Unknown
ACnode No
Owner LHS
Origin Yvanj
Location Ground floor, middle room
Maintainers

Sysadmin team!-- If someone is nominated as managing the upkeep of this item, please list them here. No links please; it currently breaks the template. -->





Property "Maintainers" (as page type) with input value "Sysadmin team!-- If someone is nominated as managing the upkeep of this item, please list them here. No links please; it currently breaks the template. -->" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.

Hamming is a Raspberry Pi 2. Hamming was named after Richard Hamming who invented the Hamming Code, the Hamming window, Hamming numbers, sphere-packing (or Hamming bound), and the Hamming distance.

It used to run a the daemons for the Notification Board.

At 447 Hackney Road, Hamming previously ran the Orange LED Strip Moving Sign and National Rail clock connected via a powered USB hub. The Raspberry Pi 2 hardware was kindly donated by User:Yvanj

It now runs voice announcers and doorbell at Ujima House.