dufault.info

Ramblings of a phone weenie, Linux sysadmin, and other things geeky

15  07 2008

Gnome Do

I use Ubuntu at work, and today one of my coworkers linked me to Gnome Do:
https://wiki.ubuntu.com/GnomeDo

I remember seeing it a few weeks ago, but was busy with something and brushed it off.  Now, I’ve installed it and played with it some — it’s awesome.  Kind of like launchy for Windows, but on steriods.

Give it a try!


15  07 2008

A Wordpress Gripe

I updated to Wordpress 2.6 today, and again, I’m amazed at the tediousness of it. I’m suprised that they haven’t mastered a good way of doing this. For example, the guys at SMF have a system in place that either remembers or you type in your FTP password, and it updates your SMF installation. Granted, Wordpress now has this functionality for updating plugins, but not the base system yet.

What gives?


15  07 2008

SD write support on the Android port to the Vogue

Today, Martin Johnson released something I’m been waiting a long time for in his progress of porting Android to the Vogue — SD controller support!

I haven’t tested this yet, I’ll be playing with it tonight when I get off work.

Here’s the notes from Martin:

The SD driver now works, this means you don’t have to run everything from an initrd and your settings will be saved across reboots. It also means that the [HTC] titan should boot (though I haven’t tried it and the keyboard won’t work), titan owners let me know. To use the new version, download the android.zip file below. In it are 6 files, put system.img(128M) and data.img(128M) onto the sd card in your phone (the “\Storage Card” folder), put zImage, default.txt, haret-0.5.1.exe and initrd.gz anywhere you like and then run haret. The data.img file holds your settings and applications, it’s just an ext3 filesystem so on a linux box you can mount it to add applications and import contacts etc..

Here’s the link to his homepage:
http://it029000.massey.ac.nz/vogue/

Man, I can hardly wait to play with this tonight.

**UPDATE**: Doesn’t seem to work with my 4GB SDHC card, init dies and loads a shell. I saw a mention of sdhc it in the driver messages though.  Works fine with my 1GB card.
**UPDATE**: Martin updated his kernel driver to be 4 times faster, and included sdhc support.


11  07 2008

Missing Google Maps Mobile v2.2.0 on a Windows Mobile phone

This is just a gripe that Google hasn’t released Google Maps Mobile v2.2.0 for a Windows Mobile-based phones or pocket PCs yet.  The version has been out for the Blackberry’s for weeks… Where’s my update!?


10  07 2008

Compiling a Shell Script To Obscure the Source

Well, there’s been a few times that I’ve written a shell script that was really neat.  Something that other people would have paid for a copy of. (I was too lazy to rewrite it in another language.) Up until now, I wasn’t aware you could compile a shell script, in the attempts from keeping people from pirating your work. Apparently I’ve head my head stuck in the sand.

Here’s the link to the manual page for it: shc

Here’s the link to the tool: shc.tgz

I’ve tried this with bash and sh scripts, it seems to work great.

Also, before you think that it’s 100% secure (nothing really is) there’s already been a audit of the process, and an auditor was able to decompile the original script from the encrypted binary. Source


26  06 2008

Installing a grsec-patched kernel on a CentOS 5 or RHEL 5 server

Here’s my little guide for upgrading a CentOS server to a grsec-patched kernel. At the time of this writing, this was the latest stable grsec patch available.

Fetch the sources:
wget http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.24.5.tar.bz2
wget http://grsec.linux-kernel.at/grsecurity-2.1.11-2.6.24.5-200804211829.patch.gz

Extract:
tar xjf linux-2.6.24.5.tar.gz
gzip -d grsecurity-2.1.11-2.6.24.5-200804211829.patch.gz

Patch the kernel:
patch -p0 < grsecurity-2.1.11-2.6.24.5-200804211829.patch
cd linux-2.6.24.5 && make clean && make mrproper

Copy the previous kernel config to use:
cp /boot/config-`uname -r` .config

Edit your kernel:
make menuconfig

Read more…


24  06 2008

Slick android applications

As I was surfing around, I found out Google was hosting competitions for innovative Android applications.

Here’s an interesting site that has them broken down, Android Scan (1), Biowallet (3), and Cooking Capsures (8) are of particular interest to me.

Here’s the link: ADC Round 1 Winners


20  06 2008

An update to Android on the Vogue

Today, Martin released another update on his progress porting Android to the HTC Vogue.

He’s rewritten his touchscreen and on screen keyboard drivers, and I agree that it’s much more usable now, although I miss the haptic feedback.  SMS notifications are implemented but a bit buggy.  I didn’t test the browser updates from the last update, so I played around with that for a bit — seems very well-featured.  There was also a mention of charging via usb, which from a quick test shows the phone connecting to my host computer using RNDIS.  I’ll peek more into this, maybe USB can work well enough to connect the Android debugger to the phone.


15  06 2008

A better way to find your BIOS version in Linux

Run this awesome command as root:
dd if=/dev/mem bs=32768 skip=31 count=1 | strings -n 10 | grep -i bios

Also, you can use dmidecode, but this can vary on motherboards what the search string is. On my machine right now:
phil@phil:~$ sudo dmidecode -s bios-version
ASUS M2NPV-VM ACPI BIOS Revision 1103


14  06 2008

Blog revamp

I finally took a good peek at my blog, and wiped my existing install / db, and I’ll add my posts back in manually. The entire thing felt ugly, so with the help of my friend Chris Olstrom I did a reinstall of Wordpress, and he helped me setup FeedBurner plugins and some other interesting blogging services that’ll help me track my progress, and my following. I also followed through this SEO guide for making Wordpress more SEO-friendly. I need to make some more extensions as I grow, but I’m happy with the current setup I have.


« Previous PageNext Page »