Archive for the general Category

new blog

Posted in general on July 25, 2008 by deadwait

Im going to try out adsense for some time now before i actually, maybe , setup my own website. This blog will remain as it is but from now on all new content also iso’s will be available from now on at

http://deadwait.blog.co.in

If anyone feels this is a bad idea please tell me so, already the above blog has so many ads which are not mine, that i dont like the look of it, but then i, have to try this.
NOTE: i myself think now this is a bad idea, if needed ill setup my own website than go on to another blog,
and now im going back to my work on dynamips on live cds,
im working getting the live cd down to 50mb or lesser so wont be updating much till im successful on that.

All right i’ve got my own website up now which is http://www.in2dwok.com

everything will be shifted there from now on , all updates new iso everything.

Advertisements

Just thoughts

Posted in general on July 25, 2008 by deadwait

I used to be a regular reader of http://www.stevepavlina.com back when i was in muscat and to tell you the truth his website is awesome and can many times be the slap in the face you need to get up and take charge, reading his posts got me the strength to leave the security of my job in Oman and come back to my hometown mumbai and start all over again and its been going great, absolutely great.

But now i really want to branch out on my own, try out new stuff and most of all not work for other people atleast for some part of my life. After getting to where i am today i miss the energy of 2 and a half years back, when i everyday i was literally doing something new, now the job has become routine and i dont know what to do, the only fun i have is when i am working on anything linux, but i cant understand how to learn and use it effectively to upgrade my resume , i just keep work on things which i feel are cool.

Aww forget it, better shut my trap and just march on slowly, but i feel things are headed for a change good or bad , i dont know.

kerrighed cluster

Posted in general with tags , , , on July 21, 2008 by deadwait

So , its feels like a real long time since im writing anything, i was totally busy for almost the whole last month just trying to install Kerrighed ( http://www.kerrighed.org ) , which is a SSI –> single system image cluster. Now all i wanted was dynamips to run on two or more machine’s, Ok so i know that i can start the hypervisor separately on other machines and use the combined processing power anyways, but my idea was to allow it to be accessible remotely, so i thought i would build a cluster on which dynamips would run and use all the cpu power of the entire cluster.

Now  i have never worked on any clustering software before now new much about it, turns out there are so many different types of clustering software available, the best in terms of popularity, ease, support, documentation  “seemed” to be openmosix, but as of March 2008 the project is dead, closed by its founder, Moshe Bar. Now reading about openmosix gave me little knowledge about SSI cluster’s, meaning suppose i put up 4 machine’s each with 4 processors and 4 gb ram and i set them up in a SSI cluster, what i get is something looking like one machine with 16 processors and 16gb ram, its true, i was able to do half the size of that cluster ( because that’s how many machines i had in my hand to test ), now there might be many out there who have seen this before, but for me, after a really long time  I saw magic! . When i actually finally managed to get the cluster up and top command showed 8 cpus and 4gb ram, ( cluster of two pc’s quadcore with 2gb ram each) , i just kept staring at it in awe, I swear it was so sexy i left it like that for one and a half day before i actually started testing dynamips on it.

The clustering software i finally ended up using was kerrighed, which  supports one of the newer kernels that is 2.6.20 the next in line would be openssi, which i think supports 2.6.9 or 2.6.12 im not sure right now. installing it took me 3 weeks that too after i gave up installing it on the quadcore machines and tried it on some p3 machines with realtek rtl8139 drivers. the next post will be an entire document on how to install kerrighed on the debian lenny system. The guys on the mailing list of Kerrighed as well as the developers of kerrighed are very helpful and were not irritated at all by my newbie questions, in fact i came out of it knowing a little more about linux, eg: i had never recompiled a kernel before. 

Well did dynamips work? NO! , that hurt, but then it’s ok doing the entire exercise was fun, oh and the reason dynamips did’nt work was kerrighed does’nt support migration of multithreaded processes yet, i did check the migration with a program called cpuburn and it worked fine.  

Well hopefully  i might get some test machine’s again and i could work out something , i also wanted to test cacti on it and see if that’s a feasible option. hmm lets’s see.

dynaflux

Posted in general with tags , , on July 2, 2008 by deadwait

ok this is a very light version of slax with only fluxbox as a manager and dynagen and dynamips added, download it here Dynaflux

if you want to use it on your usb , extract the same iso to your USB drive, go to the boot directory and double-click on bootinst.bat , that will make your usb bootable. to extract the iso you can use 7zip.

the size is only 124 mb as of yet and i havent yet added a tftp server and pdfreader.

Just a few pointers,  when your right click on the desktop you get the menu

click on runthisfirst first .

to give a ip address to your ethernet card open terminal and type in ” ifconfig eth0 xx.xx.xx.xx netmask xx.xx.xx.xx gw xx.xx.xx.xx up” without the quotes

the filemanager is like your windows explorer

you will find your windows harddisks in /mnt

Dynagen Dynamips on Live CD or usb

Posted in Cisco, general, Linux with tags , , , , , , on June 18, 2008 by deadwait

moved to www.in2dwok.com

ShoeFU

Posted in general with tags , , , , on June 16, 2008 by deadwait

So my sis actually paint’s on canvas shoe’s and today i setup a wordpress site for here, so if anyone is interested go ahead to http://shoefu.wordpress.com

By the way, isn’t wordpress just great.? 

Asterisk Flash Operator Panel Config

Posted in general with tags , , , , , on June 2, 2008 by deadwait

 

I have just set Flash operator panel for our asterisk box, i tested the same on virtualbox and shifted it on to a spare linux box which acts as a proxy, im using abyss webserver for serving purposes. Foll configs might be useful .

OPSERVER CONFIG

[general]

use_amportal_conf=0;

manager_host=44.44.44.44

manager_port=5038

; user and secret for connecting to * manager

manager_user=deadwait

manager_secret=waitdead

event_mask=call, on, off, 

auth_md5=1

flash_dir=/home/deadwait/abyssws/htdocs/panel

security_code=passw0rd

 

 

OPBUTTON 

 

#[SIP/2220]

#Position=17            ; Position ‘n’ will be the next available

#Label=”khairulla”  ; %0a is the new line character

#Extension=2220

#Context=fromiax

#Icon=1

#Server=0              ; If you omit the Server, it will default to 1

 

[SIP/2213]

Position=3            ; Position ‘n’ will be the next available

Label=”Team 4″  ; %0a is the new line character

Extension=2213

Context=fromiax

Icon=1

Server=0              

 

[SIP/2203]

Position=5            ; Position ‘n’ will be the next available

Label=”Team 3″  ; %0a is the new line character

Extension=2203

Context=fromiax

Icon=1

Server=0  

 

#and so and so forth just notice the position numbers ”   

 

[IMAGE]

src=logo.jpg

x=30

y=30

 

OPSTYLE 

 

[general]

dimm_noregister_by=20

dimm_lagged_by=60

 

enable_animation=1

shake_pixels=2

show_borders=0

enable_label_background=0

enable_crypto=0

use_embed_fonts=1

 

; colors for led states

ledcolor_ready=0x00A000

ledcolor_busy=0xA01020

ledcolor_agent=0xD0d020

ledcolor_paused=0x000000

 

; Settings for the button (rectangle)

btn_width=90

btn_height=50

btn_padding=4

btn_line_width=2

btn_line_color=0x000000

btn_fadecolor_1=ccccff

btn_fadecolor_2=ffffff

btn_round_border=8

btn_highlight_color=ff0000

 

; Settings affecting the button label

label_font_size=8

label_font_family=Verdana  ; only valid when use_embed_fonts is disabled

label_font_color=000000

label_shadow_color=dddddd

label_margin_top=30

label_margin_left=40

label_shadow=1

label_extent_x=15  ; If the label does not fit horizontally, increase this number

label_extent_y=0

 

 

; Settings affecting the button clid

clid_font_color=00dd00

clid_font_size=9

clid_centered=1

clid_font_family=Verdana

clid_margin_top=15

clid_margin_left=25

 

; Settings for the timer

timer_font_color=4000ff

timer_font_size=9

timer_font_family=Courier

timer_margin_top=48

timer_margin_left=4

 

; Settings for the oval led

led_scale=30

led_margin_top=35

led_margin_left=10

 

; Settings for the arrow

arrow_scale=40

arrow_margin_top=8

arrow_margin_left=8

 

; Settings for icons

icon1_margin_top=10

icon1_margin_left=-7

icon1_scale=14

 

; Settings for Status Bar at the top

show_security_code=1

show_clid_info=0

show_btn_help=3

show_btn_debug=0

show_btn_reload=2

show_status=4