Thank you!

I want to thank all the visitors for an amazing amount of 1277 visits last month!
Yesterday I saw links to pictures and posts of my gps stuff in an Russian Forum and was completly stunned.
Originally the blog started in August 2008 to be an private online notebook for writing down all the little scraps and pieces of code and notes I have had flying around - and never found when I needed it.
I'm happy to see that some people seem to make frequent use of this website and actually find use in the stuff I write.

Thank you very much.

If theres anything you want to see different, have questions or suggestions, don't hesitate to write an comment!

[OpenWRT] Build your own image on Ubuntu 10.03

I'm a huge geek when it comes down to OpenWRT.
I love the style of small little router boards with not much power consumption and still big impact and power.
I have been registred on OpenWRT Forums since 2006, and thats also the time I'm already working on it and doing (weird) stuff with it.
And actually I just plainly love that small debian derived linux.

And thats why most of you would be wondering why I never downloaded the build enviroment and build an image myself.
Actually, I have to face the same question. Because, In fact, its very easy to build an image from source to your own like.

I was thinking about writing an long big blog entry about this topic, but actually, its awesomly well documented within the OpenWRT Wiki, so I just give you the link and encourage you on building your own images: http://wiki.openwrt.org/doc/howto/build

But for all who want it short for Ubuntu 10.03, here are my notes:

install req:
apt-get install build-essential asciidoc autoconf binutils bison bzip2 \
flex gawk gettext libncurses5-dev libz-dev patch unzip zlib1g-dev subversion

download stable:
mkdir OpenWrt/
cd OpenWrt/
svn co svn://svn.openwrt.org/openwrt/branches/backfire

download and install feeds:
Before downloading feeds (additional predefined package build recipies for OpenWrt) you
can check which sources you want to include. Just edit feeds.conf.default in your base directory.
Then start the download with
./scripts/feeds update -a
install with
./scripts/feeds install -a

Building Process

1. Updating sources via Subversion
## Here, backfire is the directory name of the current release branch you're tracking
cd OpenWrt/backfire/
svn up

2. Updating package feeds
./scripts/feeds update -a
./scripts/feeds install -a

3. Creating a default configuration (if necessary)
make defconfig

4. Configuring the image(s) to build
make menuconfig

5. Building the image
make

copy images:
cd bin/
ls */

cleaning up
make clean

cleaing everything, erasing build images:
make distclean

If you need own files compiled into the image, put them to: OpenWrt/backfire/files

How to disable failsafe:

Edit "package/base-files/files/lib/preinit/30_failsafe_wait"
- FAILSAFE=
- pi_failsafe_net_message=true
- preinit_net_echo "Please press button now to enter failsafe"
- pi_failsafe_net_message=false
- fs_wait_for_key f 'to enter failsafe mode' $fs_failsafe_wait_timeout && FAILSAFE=true && export FAILSAFE
+ FAILSAFE=false
+ #pi_failsafe_net_message=true
+ #preinit_net_echo "Please press button now to enter failsafe"
+ #pi_failsafe_net_message=false
+ #fs_wait_for_key f 'to enter failsafe mode' $fs_failsafe_wait_timeout && FAILSAFE=true && export FAILSAFE

[ESXi4.1] Review

It has been sometime, but I still want to tell my experiences with ESXi 4.1.
In the beginning, I was very annoyed from the fact that you really need an 64 bit System and at least 2 Gigs of RAM.
But the rest just turned out fine, I have to admit.

Theres an upgrade path available, so you can upgrade your ESXi 3.5 Machine via an Upgrade to 4.1 without losing your Machines or the need to reinstall.
Actually - it worked, which did surprise myself in a good manner.

In Terms of Speed and Stabilty I did not recognize anything bad.
Especially the new features were downright awesome:
I just love the USB Virtualisation.
I really hit the top by plugin in an USB Videocard to my ESXi 4.1, and adding this Virtual Device to an Vmware Appliance: Awesome speed, had realtime video within my VM.
( I used it to virtualize a bunch of Servers, Firewalls, Routers, Asterisk and a Webcamserver... was really nice running ).

The only thing I really couldn't test and missed was the PCI Virtualization.
That feature *should* work - but you need some kind of state-of-the-Art Intel CPU / Board with Virtual I/O... and I had an old Tyan AMD Dual Core Board, only... ^^'.

So maybe sometime later.

But after all, I'm really happy with that System, I could migrate an running Windows XP Machine to the ESXi4U1 and the Converter was really doing alright...

Dropbox

So, another tool I'd like to present, Dropbox.
Dropbox is an online file synchronisation service which does take place on Amazon Servers.
The files are encrypted and stored securely, also with quite high performance.
Nice part? 2 GB of space are free.
You get 250 MB for doing the Tour,
and another 250 MB if you followed the invitation of another person.
( Oh, and yes the other person does get 250 MB as well.. )
Just in terms, heres my invitation link, would be nice if you would consider using it: http://db.tt/tIYzeey

So, how does it work?
In a nutshell: You create your account, download and install the client, enter the data and you're done.
You got an "Dropbox" Folder now on your Win / Mac / Linux Machine which is synchronized.
As soon as you move files to this folder, Dropbox starts to upload the data.
If you change data, these changes are also commited directly.
So far, so good.

The magic starts happening as soon as you install the client onto another pc:
From the moment you start copying files into the folder on one pc, these are also synchronized to the Dropbox Folder on the other one.

And to make the thing perfect:
There are also clients for Android and iPhone as well as an "GUI-less" Version:
Thats right, you're able to install Dropbox as "Backupmedium" to an Headless, Commandline only Linux Server.
( http://wiki.dropbox.com/TipsAndTricks/TextBasedLinuxInstall )

So - I really can recommend it after using it for some months already, so I would suggest you to test it.

Sorry for keeping you waiting

Sorry there, has been some time since the last post.
Nope, this blog ain't dead.
Problem was that I'm within a big project, taking place since June / July 2010 which didn't let me that much spare time.
Another thing I'm working on is my apprenticeship which will end in June this year.
And a lot of private stuff was going on.
So, I'm quite sorry and hope you're not disappointed.
Some new stuff will follow shortly.

Nico

Ubuntu 10.04 - Install Madwifi and Aircrack-ng

PreWork:
1. apt-get update
2. apt-get install build-essential
3. apt-get install libssl-dev

Install Madwifi for AR5007EG / AR5001
1. Download latest from http://snapshots.madwifi-project.org/madwifi-hal-0.10.5.6/
2. tar -xvzf madwifi-hal-0.10.5.6-r4126-20100324.tar.gz
3. cd madwifi-hal-0.10.5.6-r4126-20100324
4. make
5. make install
6. System, Hardware Driver, mark "Activate Alternate Drivers"
7. Reboot

Install latest Aircrack-ng
1. Download latest from http://www.aircrack-ng.org/
i.e. wget http://download.aircrack-ng.org/aircrack-ng-1.1.tar.gz
2. tar -xvzf aircrack-ng-1.1.tar.gz
3. cd aircrack-ng-1.1
4. make
5. make install

Lets go! ^^

[79XX] Cisco IP Phone Factory Reset & Reboot

To Factory Reset a Cisco IP Phone do the following:
1. Press and hold #, disconnect and reconnect Power
2. The Phone will check through the Line LEDs, on an 7911 or similar it will just light up the both Menu Keys and the Reciever \ Handset LED - after that, let go of #
3. Enter following: 1 2 3 4 5 6 7 8 9 * 0 #
4. The Phone should start up and grab the latest config from your Callmanager

To just Reboot a Cisco IP Phone do following:
1. Go into any Menu
2. Enter #
3. Phone does reload
( 7940, 7960: Hold *,6,Settings )

To open up the Configuration on a Phone:
1. Go into Menu Setting
2. Enter **##

To Factory Reset and erase the firmware on a Cisco IP Phone do the following:
1. Press and hold #, disconnect and reconnect Power
2. The Phone will check through the Line LEDs, on an 7911 or similar it will just light up the both Menu Keys and the Reciever \ Handset LED - after that, let go of #
3. Enter following: 3 4 9 1 6 7 2 8 5 0 * #
4. The Phone should start up and grab the latest Firmware from your Callmanager

[CCNA] Cisco Networking Academy Material Error

If you open CCNA Material in the Internet Explorer, it does always Popup the Error that it doesn't want to execute these Scripts as they might be dangerous. You can click that away and work with the Course Materials - but it just tends to go on to ones' nerves. So to disable that: Internet Explorer, Extras, Internet Options, Advanced. Look for Security and enable "Execution of Interactive Content within Files on local Computer" and "Execution of Interactive Content within CDs on local Computer".