McMuffins

By , 2010-10-28 08:49

Note to self: One sausage McMuffin is enough.

If Facebook Existed Years Ago

By , 2010-10-24 23:27

Stolen from: If Facebook Existed Years Ago.

Configuring PBXinaflash, my way

By , 2010-10-24 22:16

Setting up a PBXinaflash with a cheap Wildcard X100p card. A bit rough; for future reference.

Part 1: Initial setup and dahdi config

  1. Installed pbxinaflash (Bronze, Asterisk 1.6)
  2. set passwords using passwd-master script
  3. Enable ICMP ping in iptables.
  4. Run dahdi_genconf -v
  5. Run dahdi_cfg -v
  6. Add #include /etc/asterisk/dahdi-channels.conf
    to /etc/asterisk/chan_dahdi.conf
  7. At this point, asterisk should answer calls from the PSTN and play a “not in service” message.
  8. Next step is probably to edit /etc/asterisk/dahdi-channels.conf and set context to from-zaptel to be able to assign a DID using the FreePBX web GUI.

Part 2: Adding SIP trunk

  1. PEER Details:
    username=14165551212
    type=peer
    secret=s3cr3t
    host=voip.voipprovider.net
    dtmfmode=auto
  2. USER Details (not sure what’s necessary here, probably some of this shouldn’t be here)
    username=14165551212
    type=peer
    secret=s3cr3t
    qualify=no
    promiscredir=yes
    nat=yes
    language=en
    insecure=very
    host=voip.voipprovider.net
    fromuser=14165551212
    fromdomain=voip.voipprovider.net
    dtmfmode=auto
    disallow=h263&h263p
    context=from-trunk
    canreinvite=no
  3. In System Admin> Asterisk SIP settings page, change useragent and activate NAT/external IP options

Part 3: Fax Config

  1. Installed Fax Configuration module from “Module Admin”. Configure destination email.
  2. Installed Free Fax for asterisk using license obtained from Digium
  3. Add a “Misc destination” for System Fax to extension 666
  4. Enable Fax detection on inbound route. Set destination to Misc destination created in step 2
  5. Further reading: fax_for_asterisk_admin_manual, http://bestof.nerdvittles.com/applications/fax/ and http://nerdvittles.com/?p=237. Didn’t end up using the extension created by the script, but perhaps the rpms installed are necessary.
  6. Finally, Web fax for Asterisk : http://www.csrdu.org/nauman/2010/10/18/web-fax-for-asterisk/

Tomato/MLPPP for ASUS WL-520gU

By , 2010-10-17 17:26

The ASUS WL-520gU router requires an “ND” build of Tomato. For some reason, the latest version of Tomato/MLPPP from fixppp.org doesn’t include an tomato-ND.trx.

So here is an older verion, that does have the tomato-ND.trx.tomato-mlppp-1.21-mp3alpha4.7z

Debian Squeeze installer for NSLU2

By , 2010-10-16 22:48

Just quickly threw together a flashable debian-installer image for NSLU2, following the guide from http://cyrius.com/debian/nslu2/repack.html.

Have NOT tested this yet, but technically it should work.

Tested, and works great! installing now. Hopefully it will be done by tomorrow morning.

During the install process, be sure to check off the “SSH Server” option! Otherwise you’ll have no way of accessing the slug.

new-nslu2.bin

Browser benchmarks

By , 2010-10-15 14:14

OK, so you still use Windows. That’s cool. It’s a fine OS, and there are some things it does that Linux and Mac just don’t.

But still using IE, now that’s crazy. It’s not standards-compliant (sure, Firefox isn’t either, but it’s close), it’s not customizable (except in the form of those ridiculous search toolbars), it’s not cross-platform (yeah yeah, you don’t need it to be because you only use Windows), it’s usually more vulnerable to attack and it’s just downright buggy.

If that’s not enough, here’s my final point: it’s SLOW. And to support this point, graphs! Everyone loves graphs, right?

Above graphs stolen from Ars Technica: Windows browsers benchmarked: October 2010 edition.

Sesame Street

By , 2010-10-13 23:10

Sesame Street is one of the best kids’ shows ever. It has always been clever, cute, funny and educational. Not overly childish, but simple enough to be understood by young children. Love it.

Since I was little, my favourite characters have been Ernie and Bert. Especially Bert, for being serious and going along with all of Ernie’s antics.

In second place, but not by far, is Cookie Monster. He’s a bit eccentric,

but later on is calm and logical. Well, for the most part.

Finally, there’s Grover. who smells like a monster.

And Grover’s not the only one who’s been keeping up with the times!

l

USB Video

By , 2010-10-12 20:34

Just got a Samsung U70 USB monitor.

The U70 is very simple to set up. Just install the drivers, and then plug and play.

Drivers are available for Windows, Mac and Linux. Performance is OK, can even display 3D graphics and HD video on it, although that causes very high CPU usage.

Build quality is good; packaging and instructions are in Korean. Comes with a double-USB cable, but in my experience only one is needed to power the monitor.

Screen quality is not the best, brightness is not quite uniform. However, the picture is very sharp and brightness and viewing angle are quite good.

I have tested with Mac, Linux and Windows, and it works great with all 3. Handy if you just need a little space to throw your music player, IM contact list, or have a video or other monitoring service running in sight all the time.

It’s a tiny little 7″ monitor, of “Slugterm” fame. There are a lot of things that can be done with this little gadget, perhaps a dual-monitor Nexus One setup? Check out Sven Killig’s website for inspiration.

For now I’m content with using it to watch videos while working.

TGIF

By , 2010-10-08 23:59

For the first time in my recent memory, I really have to say thank god it’s Friday. This whole week has been a blur. Working on I don’t even know what at work. Yesterday the A/C was down both in our aquarium/office and on the GO bus home. Still not fixed today. High of 37ÂșC in the office. And apparently Oracle 10g client doesn’t work on Windows 2008.

Been thinking, I really need to get out more. But, without a car, it’s difficult. Kind of alone and yet friends are not far.

Random snippets of thoughts. Can’t write right now. Perhaps my life simply isn’t interesting enough to blog about at the moment.

Yonge and Drewry #15

By , 2010-10-07 17:19

image

Custom theme by me. Based on Panorama by Themocracy