Friday, May 19, 2006

Pics from Thailand Trip

A beautiful sight to behold indeed

People on the beach during the day

People on the beach during the night

Sunday, May 07, 2006

I see colors

On OpenBSD using 'vi' or 'ls' doesn't yield color by default. Also as I'm too used to having bash I usually install that as well

To start off you first have to install the fileutils, vim and bash package to get the 'gls', 'vim' and 'bash' command respectively. Copy the /usr/local/share/vim/vim64/vimrc_example.vim to ~/.vimrc which will automatically enable syntax highlighting for you. If it still isn't, check to make sure that 'syntax on' is in the ~/.vimrc file.

To make bash your default shell, type 'chpass' and edit the line that says 'shell' to point to /usr/local/bin/bash (I always set the absolute path). Quit and save (ESC,:wq) to store your new information.

Once that is done edit your ~/.profile and add these lines
export TERM=xterm-color
alias ls='gls --color'
alias vi='vim'

Quit and save the file. Now logout and login again and voiila, you will now be able to see colors when you type ls and edit files using vi;) Ciaoz

Thursday, May 04, 2006

Mod to Devil Worshipper's treats

Ok seems like I left out a small step in my procedure for getting various keycodes to work. Not that it doesn't work using that method just that you'll see various messages when you try to scp things over/from. Oopsy. Sorry bout that.

Here is the correct fix for it

instead of putting the keycodes into .bashrc, create a .inputrc and put all the keycodes into that. In the .bashrc put the following 'export INPUTRC=".inputrc"
'. This will fix those darned messages.


It's alive

I finally managed to burn an OpenBSD cd successfully without any hitches. kekeke. Used this article as a reference to get it working. Basically its easy if you have a linux machine because tools such as mkhybrid are already available by default.

1. create a folder to store all the OpenBSD files i.e $HOME/openbsd. cd into that newly created folder.

2. download the OpenBSD files from any of the OpenBSD ftp mirrors. I used because it turned out much faster. i used the command 'wget -rc*'. this will recursively download all the files from the remote folder into your current folder.

3. depending on your internet connection the download might take up to 1 hour or more. The layout of the folder will be '' (substituting the host with whichever host you may have chosen. Now comes the interesting part, the creation of the ISO.

from the $HOME/openbsd folder, type 'mkhybrid -b -c boot.catalog -l -J -L -r -o obsd39.iso ./'

Take note the last ./ as this will be the BASE working path that will be used to navigate to

It will now begin creating the iso and after its done from the folder you're in you will find a obsd39.iso. Feel free to use any CD burning software to burn the image onto your CD. I used k3b to do burn my image. You could always use 'cdrecord' if you want everything executed from the console. After you've burned it do try to boot the cd to make sure all is working well. If all works then you can delete the files downloaded including the iso or you can share it with your friends.

Thats all folks :D

Wednesday, May 03, 2006

I am watching you

For some time I've been using a tool called ntop to monitor the traffic that goes through my machine. Just thought I'd share the tool with everyone else who is looking to see what goes on behind closed interfaces. The name of the tool is called ntop and listed below are the instructions to install it (on Breezy of course). Since its a web based tool all you need is a web browser to check the statistics.

apt-get intsall ntop.
first time run ntop -u ntop [-u indicates which user to run as]
it will ask for admin password (min 5 char)

to access the page type this in your browser "http://localhost:3000"

the only snag to this is that it only monitors up to the last 12 hours but its more than enough for normal users who just want to know what kind of traffic passes through their machine ;)


We've all at one point or another wanted to run multiple OSes in a single machine simultaneously. One of the best ways to do it was to use VMware. However there is that small issue of licensing fee. There is however a FREE VMWare player for various platforms that can run images of various OSes but it didn't work for me. Earlier on one my friends mentioned bout QEMU which allows you to do exactly what VMWare allows.

My previous incarnation of Breezy had QEMU + KQEMU set up all well but after the resurrection I seem to have forgotten to install it. Till now that is. The basic guide I used for Breezy was based on this link.