Jonathan Arbib


mFi controller on debian

by on Mar.03, 2015, under Tech Junk, Tutorials

vi /etc/apt/sources.list

## Ubuntu
deb ubuntu ubiquiti
# if you’re using quantal (12.04) or after, you don’t need this line
deb dist 10gen

## Debian Wheezy (7.0)
deb debian ubiquiti

## Debian Squeeze (6.0)
deb debian ubiquiti
deb dist 10gen

## Debian Lenny (5.0):
deb lenny ubiquiti
deb dist 10gen

apt-key adv --keyserver --recv C0A52C50

apt-get update

apt-get install mfi

/etc/init.d/mfi start


Leave a Comment :, , more...

unifi controller on debian

by on Mar.03, 2015, under Tech Junk, Tutorials

vi /etc/apt/sources.list

# Ubiquiti UniFi updates
deb debian ubiquiti

apt-key adv --keyserver --recv C0A52C50

apt-key adv --keyserver --recv 7F0CEB10

apt-get update

apt-get install unifi

vi /etc/init.d/unifi

Change JAVA_HOME to (keep your version number)


/etc/init.d/unifi start


Leave a Comment :, , more...

Clear DNS Cache OS X

by on Feb.04, 2014, under Tech Junk, Tutorials

Terminal-iconOpen up your Terminal App and paste the following command

dscacheutil -flushcache
Leave a Comment :, , more...

Alix 3d3 scripts

by on May.18, 2010, under Gadgets, Tutorials

Simple stats script:

while [ 1 ]
 df -h | grep Filesystem
 df -h | grep rootfs
 df -h | grep usb
 echo ""
 Temp1=$(cat /sys/bus/i2c/drivers/lm90/0-004c/temp1_input)
 Temp2=$(cat /sys/bus/i2c/drivers/lm90/0-004c/temp2_input)
 echo "MB T  = "$Temp1
 echo "CPU T = "$Temp2
 sleep 1

Insert it in a file. I called it

chmod a+x

and run with ./

It updates every second and returns:

  • uptime with load
  • Disk space and usb disk space
  • MB temp
  • CPU temp

You can add all you want in there or remove what you don’t need 🙂

2 Comments :, , , more...

PC Engines – Alix 3d3

by on May.18, 2010, under Gadgets, Tutorials

Just purchased a PC Engines Alix 3d3. online from MS Distribution (UK) for ~£110.00. I have a plan for it… read on…

Specs follow:

CPU 500 MHz AMD Geode LX800
Storage CompactFlash socket
Power DC jack or passive POE, min. 7V to max. 20V
Expansion 2 miniPCI slots, LPC bus
Monitoring 3 LEDs
Connectivity 1 Ethernet , 1 dual USB
1 VGA, 2audio
Size 100 x 160 mm

First Mod: Heatsink with fan!

I noticed that my processor was going up to the 50’s plus degrees when working, so I decided to keep it cool by adding a Heatsing with a FAN. I found one on, specifically designed for Graphics chips, so I thought it would be ok for my Alix. It came with a self-adhesive strip on the bottom which made installation simple. Then after seeing that an 18V supply for the Alix was too high, and hmm… I ran out of adequate resistors to step down the voltage… I hooked on the 5V supply right behind the Serial port! And that ensures i get minimal fan spin, and hence virtually no noise from the fan. The airflow is enough to cool down the heatsink, as there is a noticeable difference when the fan is operational and not.

Update: While compiling the kernel the cpu temperature stays below 42 degrees (Celsius)


I am now trying to develop a home-made GPS tracker with a GPRS modem to “report back” the location… More on this coming soon!

Leave a Comment :, , , , , , , , more...

Fix GNU screen backspace

by on May.14, 2010, under Tutorials

create a new .screenrc in your home directory and put these lines inside:

bindkey -d ^? stuff ^H
bindkey -d ^@ stuff ^H
5 Comments :, , , , , , , more...

Evermore GM-R700 Linux drivers

by on May.14, 2010, under Tutorials

These have no YET been tested, but should work on linux for the GM-R700 USB GPS receiver


Leave a Comment :, , , more...

Volume by UUID and adding the disk to a xen Virtual Machine

by on May.08, 2010, under Tutorials

Get the drive UUID by using the command vold_id

vol_id /dev/sda1

The string after “ID_FS_UUID=” is the UUID of the drive. Now open your /etc/fstab file and add the following line to the end. Replace the UUID string with your string, your mount point, and customize the other parameters if needed.

UUID=THE-UUID-HERE   /mnt/USBDrive   ext3   user,auto,rw   0   0

To then pass a disk to a xen virtual machine, look at the following lines of the domain config file:

disk        = [
#...root partition and other partitions here...

basically instead of passing the disk as a /dev/sda1 device, pass it by UUID using the path:

/dev/disk/by-uuid/<the uuid>


Leave a Comment :, , , , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!