Blog Archive

I got a call about a week ago from a staffer of Representative Lois Capps. She told me that Congresswoman Capps was very interested in our shop and would like to visit and take a tour to see what it is we do first hand. We tossed around some dates and settled on Saturday August 30th at 1:30pm. So I would like to invite all our members and supports to come to the ‘space and show off what we do!

In preparation for the visit a few of our core members have been doing some upgrading and cleaning. So if you’ve been interested in the space but haven’t visited yet or haven’t been by in a while then this weekend is definitely the time to do it. All our welcome to join us!

We encourage everyone one to check out the Tekma3D kickstarter for their TM1 Printer. This printer was designed, developed, and prototyped at the SBHackerspace. Help them reach their $25,000 goal by backing them at: https://www.kickstarter.com/projects/449224349/tekma3d-tm1-3d-printer

After the Maker faire I was feeling inspired. On the long drive back home I was trying to think of an idea for a project that could span a large range of skill levels and abilities, and could be open for everyone to work on. I also wanted a project that would be useful for SBHX as well as most if not all other hackerspaces out there. The only thing that really seemed to fit in my mind is a smart badge.

The badge will be arduino based so there is a low entry barrier to tinker around with the code. We have tentatively selected some hardware but there is a fairly good chance the specs I lay out here will change. Tentatively our badge will include the following:

  • ATMEGA644P running the arduino bootloader
  • AT86RF230 for zigbee mesh networking, things like seeing who is at the space when you walk in the door, transferring images or text messages, etc.
  • 2.04″ e-ink display with 172 x 72 resolution for low power display
  • NFC for tagging in and out of machines, opening the door, and such
  • a couple of buttons and LEDs for user input and feed back

More info will be posted below as we get our prototype under way. If you are interested in helping out with the project please let us know, we really want this to be a community project that everyone can help with.

The SBhackerspace will have a booth at the 2014 bay area maker faire held in san mateo again this year. We are very excited to attend and definitely had a good time at last years maker faire. We learned a lot from last year and plan on upping our game quite a bit. We will be debuting 2 new hackerspace developed projects this year that will hopefully be available for purchase in the near future. In addition to these two secret projects we are looking for anyone in the community who would like to show off a project at our booth.

There is a thread in the sbhackerspace google group: gg.sbhackerspace.com about general logistics and organization.

Last years projects include:
The hackerspace’s first project, the ROV
the Nick-ulous rift, an ipad mini based VR headset, made by Nick Winters
the raspberry-apple pi, an apple pi built into an apple IIe which harnessed the apple’s original keyboard for input, by chad page
and the ever infamous and tempermental moodstar

Projects for this years booth so far include:
secret project #1, a novel 3d printer prototype, by Tech Mothership / Mike Kapuscik and Nick Winters
secret project #2, a novel plotter prototype, by Nick Winters, and Randy Szarzynski
a nest camera project developed for the santa barbara autobahn society to monitor bird nesting
line followers from the mechatronic monday meetings
3D printed bronze-casting, by Nevin Littlehale
and more to come

To submit a project for us to bring please email sbhackerspace@gmail.com with a description and photos and we will get back to you ASAP.

SBHX co-founders Steve Phillips and Mike Bales recently did an interview with KCBX in San Luis Obispo on their Central Coast Voices program. The topic of discussion was the Maker/Hacker movement. The program consisted of host Fred Munroe, SBHX’s Steve Phillips and Mike “swiss” Bales, as well as SLO Makerspaces CEO Clint Slaughter.

The hour long program covers the history of hackerspaces, their origin, and their mission. The program is available for listening
here.

I thought I’d share a personal project / build log I’m working on and I’d thought I’d post the outline of it here and update it as I go. So here’s the basic idea, I want to build a home automation server and media center. For the base system I have chosen:

  • JetWay JNF9J-Q87 motherboard with 16GB of RAM
  • 5 Western Digital Red 4TB SATA hard drives in a software RAID 5 for the NAS
  • Intel Haswell Core i5 processor
  • Crucial M500 120GB MSATA SSD for the boot partitions
  • and a Fractal Design Node 304 case
  • Aeon DSA02203-ZWUS Z-wave controller
  • Cisco SG300-10 managed gigabit switch
  • ALIX.2D13 DIY Kit pfsense router
  • Digital Ocean VPS droplet
  • Intel Nuc for LinuxMCE thin client

Using this hardware I plan on building quite the home network. My home server will run Xen Server 6.2 at its base, with several virtual machines running as guests. The VMs include a Debian 7 machine running Samba4 for a domain controller and file server, freepbx for my home phone system, Debian 7 for a freeradius, Linux MCE for a media center controller and home automation center, and a Debian 7 machine running nagios and cacti for system monitoring. The VPS will be running a seedbox, cacti and nagios for remote monitoring. The Alix board will be running pfsense as a firewall / router as well as an OpenVPN server for a secure connection to my VPS as well as secure remote access from outside my network. I will also be purchasing a number of Z-wave devices, light switches, outlets, and the like  so I can remotely operate appliances, lights, etc.

That’s the basic outline for the project, more info will be coming as the various parts are purchased and configured.

Update 1 3/27/14: Fun with Cacti

SO I was messing with cacti today and decided to add bandwidth monitoring on my DO VPS. I created the graph added data sources etc. and kept getting no graph. After some poking around I found that rrdtool was throwing an error saying:
ERROR: mmaping file '/var/lib/cacti/rra/localhost_traffic_in_12.rrd': Invalid argument
I checked the file in question and found it blank, not super. I manually ran the rrdtool with the following info per the data sources debugging in nagios:
/usr/bin/rrdtool create \
/var/lib/cacti/rra/1/8.rrd \
--step 300 \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \

and there was my error. There seems to be a known bug in cacti that it adds the last “\” when it should not. If you manually run the same commands from terminal but leave off that last slash then everything is happy and you get a graph. After some patience it looks like just waiting 5 minutes for this to poll again it does create the file even though it initially creates this error, strange. I had a bit of a tough time with the cacti / pfsense graphs but this link: http://www.spoonapedia.com/2010/03/how-to-setting-up-virtual-cacti-snmp.html
got me through it.
Update 4/16/14:
Case and mother board have arrived, and been assembled. Pictures coming soon.
I am pleasently surprised by the quality of the case. The photos I have seen of the Fractal Design Node 304 made me think the hard drive holders were plastic but they are in fact metal. A nice touch that bodes well for the longevity of this box. One minor issue is the case came one screw short for holding the motherboard down but I was able to scavenge a spare from one of the many dead computers laying around the hackerspace. The RAM and CPU will be ordered shortly, after that its the 120gb MSATA SSD boot disk and I can get cracking on the installation.

On the VPS front I installed the OTRS ticket system and the iphonehandler plugin to allow app access from android / ios devices. I have used RT4 for ticket tracking in the past and found it adiquate, but OTRS has some nice features and I thought I would give it a shot. Installation is a straight forward apt-get install and went off without too many issues. The iphonehandler plugin can be installed through OTRS’s built in packaging system and was a breeze. To access the ticketing system from my Nexus5 I am using an app called DS Helpdesk. DS Helpdesk is available for free on the andoid market and also has a $15 paid for version. The app requires a file at /usr/share/otrs/var/ called RELEASE.iphonehandle be created as it does not create on automatically. Without it the android app will complain and not allow access. After creating the folder I can now open the app on my phone and view / edit / and create tickets.

I have also set up my OpenVPN tunnel from my home pfsense box to the VPS and have nagios monitoring the pfsense box as well as cacti graphing bandwidth, CPU load, and RAM usage. To help me keep an eye on things I acquired an old atom netbook with a dead backlight and set it up as a dashboard to rotate between my nagios hosts list and my cacti graphs to I can quickly spot issues. More coming on that in the next update.

Update 4/28/14:
Anyone interested in LinuxMCE 1004 I am now the second seed of a torrent .iso file if you dont want to wait for an http download. Torrent can be found here: http://www.sumotorrent.com/en/details/8678570/LinuxMCE-1004-final.iso.html

 

Update 8/13/2014

Despite the lack of updates this is still very much so an active project. A lot has happened in the last week with this project that may be helpful.

VM:

So after some fiddling I found that the Debian Samba4 VM’s DNS would break after rebooting. After some fiddling i found that network manager was breaking things with its auto configure nonsense, so I removed it. to do so i ran the following:

<code>/etc/init.d/network-manager stop</code>

and

<code>update-rc.dnetwork-manager remove</code>

(credit to http://xmodulo.com/2014/02/disable-network-manager-linux.html for the pointers)

after which you will have to configure /etc/network/interfaces and manually setup your network interfaces. After removing network manager I had no further DNS issues.

 

After getting that straightened out it was on to adding my 3TB HDD’s to the debian Samba4 VM. The version of xenserver I’m running (6.2) didnt want to let me create a VDI with larger than 2TBs of storage, not to mention my plan of RAIDing the disks would be silly to do with VDI’s. I found this guide (http://techblog.conglomer.net/sata-direct-local-disk-access-on-xenserver/) on how to attach a HDD directly to a VM withou VDIs which will allow me to setup a RAID and use the full 3TB disk capacity.

HTPC:

I decided to ditch LINUXMCE as I had some issues installing it on my NUC and go with XMBCbuntu instead. THis gave me my media center but I still needed a frontend for the zwave system. I found homegenie (http://www.homegenie.it/) a free and open source .net based frontend for zwave with linux and mac versions as well as android and iOS apps for controlling it. After installing mono which was slightly painful I had a working frontend for my zwave system. I also ordered my first zwave device and will be posting more soon on getting that up and running.

Remote Server:

I added some things to my remote digital ocean VPS as well. Modifications include installing deluge and couch potato for tracking all my torrents. In addition I will be installing a bit of software called caketop developed by a friend / co-worker Alex Standke. Its a neat little project which basically gives you a netflix like frontend for all your media files, check it out at: https://github.com/XanderStrike/caketop-theater

 

Yet Another Update

8/28/14

So I’ve managed to build my RAID 5 and get it running and mounted to all the various machines that need access. In the process of testing I learned an important lesson: OpenVPN traffic shaping is good. I would push large files from my Digital Ocean server to my RAID array over a VPN and found that the VPS would become unresponsive while transferring. I though maybe I was macing out the RAM so I upgraded to the next tier up VPS, 1GB RAM and a faster processor, another test resulted in the same. After checking my Cacti logs and router logs I found that the VPS with its mighty 1GBPs pipe to the internet was saturating my poor 50MBPS connection at home via the VPN. I limited the VPN tunnel to 3MBPS and tested again and found that it resolved my issues.

The Santa Barbara Hackerspace is now hosting regular meetings on the first Monday of every month based around all things electronic and mechanical. Uptronic’s Tyson Messori has been leading the meetings and is a wealth of knowledge on robotics. The meetings begin at 6:00 pm and generally last around two hours. All skill levels and ages are welcome to attend and join in the fun.

The Mechatronic Monday group is currently working on a little competition to get everyone involved. Our first project is to build a line following robot to navigate an electric tape course with increasing difficulty as we progress. The competition will start off simply, just navigate a line and return to the start box. Each month the requirements will increase in complexity, with the final goal to build a “bomb disposal” bot. THe bot will have to follow a line, retrieve a “bomb” and deposit it to a safe area before returning to the start point.

The goal of Mechatronic Mondays will be to get build the groups skills in electronics, programming, and robotics design. Once the line follower competition is complete there will be more challenges that follow a similar curve. Meeting attendees will be broken up into groups with an experienced mentor at the helm to guide them. The competitions will start with a simple concept and build upon that to create new and innovative robots. For more information please join our google group or email sbhackerspace@gmail.com

I’ve been doing a fair amount of work lately setting up Samba4 domains and can tell you from experience that it can be a pain. I started out using 64 bit Debian 7 installer and compiling Samba4 from source. This method is frustrating to say the least, there is a lot to go wrong if you don’t have your methods down solid. After setting up a few domains this way, I began looking around for a better way. That better way is the Sernet Samba4 appliance, available at http://www.enterprisesamba.com/samba4app/

The Sernet appliance is built on Debian and works fairly well. The issues I ran into with the Sernet appliance .iso however made it impractical. I found that the .iso installer has issues with some non-free drivers (NIC drivers on my dell server), and with XENserver 6 (display issues and trouble with XORG). After fighting with the issues for a while and not making much headway I looked for another way. In my searching I found angryelectrons automate script available at http://angryelectron.com/samba4-notes/

I ran angryelectron’s script on a vanilla 32 bit Debian 7 install and it works without much fuss, both in xenserver and on bare metal. The only issues I’ve found is a real lack of documentation or forums regarding Sernet’s appliance as far as installing and configuring Samba4. Below are some useful things I found while setting things up that may be useful to others who want to try building their own Samba4 domain.

Running angryelectrons automate script will ask you a few basic questions about your domain. After running the script I checked DNS resolution for my domain server by running the following commands (swapping mydomain for what you named your domain in the setup):
#host -t SRV _ldap._tcp.mydomain.local.
result: _ldap._tcp.mydomain.local has SRV record 0 100 389 samba.mydomain.local.
#host -t A samba.mydomain.local.
result: samba.mydomain.local has address 192.168.1.10
Where I ran int trouble was with the Kerberos config. The automate script doesn’t seem to complete the Kerberos setup and when I ran:
#kinit administrator
I received an error that a KDC could not be found for the domain. Checking the Kerberos config:
#vi /etc/kerb5.conf
I found it was not fully configured with only the following in the file:

[libdefaults]
default_realm = MYDOMAIN.LOCAL
dns_lookup_kdc = true
dns_lookup_realm = false

To get the Kerberos setup completed I added the following lines to the bottom:

[realms]
MYDOMAIN.LOCAL = {
kdc = server.mydomain.local
default_domain = mydomain.local
}

[domain_realm]
.mydomain.local = MYDOMAIN.LOCAL
mydomain.local = MYDOMAIN.LOCAL

After adding those lines to my krb5.conf I got the expected output from:
#kinit administrator
result: Warning: Your password will expire in 41 days on Tue Mar 5 15:23:03 2013
From here its just a matter of editing your smb.conf to add shares and printing if you so desire. This is where I ran into another little hiccup that I couldn't find any documentation on, namely which smb.conf the Sernet appliance uses. I ran:
#locate smb.conf
and got 4 or 5 files in response. After some trial and error I found the Sernet appliance uses the smb.conf located at:
#/opt/samba/etc/smb.conf
and to restart the Sernet appliance Samba:
#/etc/init.d/sernet-samba4 restart

After these minor things I was able to get my Samba4 domain up and running in under 20 minutes, not bad for a free Active Directory domain. Once everything is up you can you the standard microsoft RSAT to add users, logon scripts, share permissions and all the usual fun stuff.

Update 11/26/13: A big thanks to everyone who helped us unload the trucks. We managed to unload both trucks quickly and with little excitement.The santa barbara hackerspace will be receiving two shipping containers worth of donated equipment on monday 11/25/13 UPDATE: arrival date changed to 11/26/13, between noon and 8pm. We will need all the help we can get to unload the equipment and set it up. So if you have some free time and want free food and drinks come by the space monday and join in the fun. The equipment was donated by an energy research lab in Canada and there is a lot of it. The trucks have been dispatched and are on their way now!

Link to sign up: http://sbhackerspace.com/wpgforms/3d-printer-build-weekend/

Spaces for the class are filing up quick so sign up, don’t worry if you can’t make the first class, there will be more. The first class is tentatively set for mid December, this will be solidified as soon as the class fills up and money is collected. We have had a lot of very positive response to this class so we are planning another one for January. The class will be ~$800 +tax and there will also be a lunch offered. The prototype has been completed and tested, we just need 2 weeks to source all the parts after collecting the class fees. The classes will span a full weekend 6 – 8 hours a day, and at the end of the weekend you’ll have a fully assembled and working 3D printer with an 8 inch cube build area. See our earlier post for images and video of our printer http://sbhackerspace.com/2013/08/a-hackerspace-3d-printing-class/ . The printer is a RepRap Prusa i3 derivative with some custom mods we added to make things easier.

The kit includes:

  • A RAMPS controller (arduino mega and motor driver shield)
  • J-Head hot end capable of printing ABS and PLA
  • Heated build platform
  • 24 volt power supply
  • 1 kg of PLA (in your choice of color)
  • 3D printed Parts
  • Laser cut wooden frame
  • Bearings, linear rails, threaded rod, etc
  • Hardware (nuts and bolts)
  • Belts

and everything else you need to build a fully functioning 3d printer. The classes will be taught by our most experience 3D printer gurus, Nick Winters, Mike Kapuscik, and Mike “Swiss” Bales. Even an electronics and computer novice will be able to construct and operate the 3D printer by the end of the class, as well as troubleshoot and repair their machine.

All proceeds from the class will go towards improving the Santa Barbara Hackerspace (an IRS recognized 501(c)3 organization) equipment and facilities. All our source code and CAD files will be freely available online so you can also make or improve your own printer. So please sign up, get yourself your very own 3D printer and support your local hackerspace all at the same time!


What is the Hackerspace?

We are a group of makers and developers in the Santa Barbara community who love building things. The Hackerspace has a Makerbot printer, piles of Arduinos, and much, much more. Learn More →
Become a Member

Membership Levels
Location

5782 Thornwood Dr
Goleta CA 93117

Contact Us

Current Status

Current status of the Hackerspace: "awesome".
Twitter Feed

Find out what's happening, right now, with the people and organizations you care about.


Bad Authentication data.
Copyright 2012 Builder - Company. Design by OrangeIdea