Jonathan Arbib

Tech Junk

PTY allocation request failed on channel 0

by ac3bf1 on Aug.13, 2010, under Tech Junk

When installing a new virtual machine (Lenny) you may get this error:

PTY allocation request failed on channel 0

stdin: is not a tty

To fix this do the following:

Add the following line to /etc/fstab (in the domU):

none /dev/pts devpts defaults 0 0

Then run:

mkdir /dev/pts
mount /dev/pts

Enjoy!

Leave a Comment more...

How to flush DNS cache os x

by ac3bf1 on Aug.06, 2010, under Tech Junk

Leopard:
sudo dscacheutil -flushcache

Tiger:
sudo lookupd -flushcache

Leave a Comment more...

WordPress Easy Contact form

by ac3bf1 on Jul.29, 2010, under Tech Junk

This is a nice contact form that I have added to my blog here:

Install the Fast and Secure Contact Form Plugin, and configure it from the Plugins > “SI Contact Form Options” menu.

(continue reading…)

Leave a Comment :, more...

WPA2 broken?

by ac3bf1 on Jul.29, 2010, under Exploits, Tech Junk

Source: http://www.airtightnetworks.com/WPA2-Hole196

WPA2 Hole196 Vulnerability

WPA2, perceived as the most solid Wi-Fi security protocol, is widely used by enterprises for securing their Wi-Fi networks. But security researchers at AirTight have uncovered a vulnerability called “Hole196″ in the WPA2 security protocol that exposes WPA2-secured Wi-Fi networks to malicious insiders. Exploiting the vulnerability, an insider can bypass WPA2 private key encryption and authentication to sniff and decrypt data from other authorized users as well as scan their Wi-Fi devices for vulnerabilities, install malware and possibly compromise those Wi-Fi devices. AirTight researcher, Md. Sohail Ahmad, will be demonstrating this vulnerability at the Black Hat Arsenal and at DEFCON18 in a presentation entitled “WPA Too?!” in Las Vegas on July 29th and July 31th respectively.

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


“There is a problem with the office database”

by ac3bf1 on Jun.01, 2010, under Tech Junk


Close all Office products running
Create a temporary folder on your desktop
Move “Microsoft User Data” folder under Documents to the temp folder
Move all com.microsoft.* under ~/Library/Preferences to the temp folder
Move Microsoft folder under ~/Library/Preferences to temp folder

Open any Office application such as Word or Excel. This should take you through the registration process once more and clear the error.

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

Alix 3d3 scripts

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

Simple stats script:

#!/bin/bash
clear
while [ 1 ]
do
 uptime
 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
 clear
done

Insert it in a file. I called it stats.sh

chmod a+x stats.sh

and run with ./stats.sh

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 :-)

Leave a Comment :, , , more...

PC Engines – Alix 3d3

by ac3bf1 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
DRAM 256MB DDR DRAM
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 Amazon.co.uk, 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)

Application:

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 ac3bf1 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
Leave a Comment :, , , , , , , more...

Evermore GM-R700 Linux drivers

by ac3bf1 on May.14, 2010, under Tutorials

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

evermore-gps-gmr700.tar.gz

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!