finally got wink up, i already had the entire slitaz-toolchain, but wink complained of not being able to find libstdc++.so.5 , which after checking the slitaz forums i found a link to the following rpm ftp://ftp.univie.ac.at/systems/linux/fedora/core/4/i386/os/Fedora/RPMS/compat-libstdc++-33-3.2.3-47.fc4.i386.rpm and then installed it with a rpm -i and thats it, wink installer worked fine and now i can record my desktop.
Posted in general | No Comments »
ive got four packages now in the hg repository of slitaz, cpulimit, chmlib, chmlib-dev and xchm, the last 3 came because of my need to read my routing notes of which i have most in the chm format, i like reading much better from chm than from pdf. other than that, i know how to interconnect routers and switches in dynamips just figuring out a way to get it in my bash script, in a easy manner. also the next live cd could have 2 -3 different version, one default with dynagen dynamips , one without firefox and maybe one more with GNS3, the reason im thinking about GNS3 again is that i read that we can compile scripts, just that i dont know how, if i manage to figure it out then GNS3 will come in and there wont be much of a size increase. i dont want to raise the size of the cd to more than 30 mb.
Also need to find a desktop recording software for slitaz, i have tried recordmydesktop, vnc2swf, vrecord and wink and couldnt compile a single one in the first shot, need to try again.
I just noticed that there isnt a single if else statement in the bash script for dynamips, chock that up to inexperience, coz there is absolutely no error handling as of yet. idlepc works fine but i cant get any stars next to the values like i get in dynagen, i dont know how that works, but even if i take any value, the effect is immediate. also need to integrate cpulimit within the same.
back to work now.
Posted in general | No Comments »
Hi folks.
So we begin first go to your terminal and become root, you can do this by typing “su” in your terminal and then you will be asked for the root password.
Enter the root password, oh god now you are the “root” kidding.
Now just copy below line in to your terminal, if you like you can type it too.
wget http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
The above line will grab the rpm for you then type “rpm –import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt” this will get “GPG” key for you
Now “rpm -i rpmforge-release-0.3.6-1.el5.rf.” and press tab then you will be able to see the full rpm name now hit enter
If everything went well you will be able to see something like this “package rpmforge-release-0.3.6-1.el5.rf is already installed” if yes now you are ready to install the packages
PackagesĀ needed forĀ NTFS-3g are
1)dkms
2)dkms-fuse
3)fuse-ntfs-3g
To install them just type in this line “yum install dkms dkms-fuse fuse-ntfs-3g” and this will take a few minutes depending on your Internet speed. and you are done.
now to load any of your NTFS drive you can open the terminal become root and then “ntfsmount /dev/sda and the number of the disk and /media/ then any folder inside that you have created.
boom its done .
Posted in Get It Done Fast | No Comments »
I just read about the CPUlimit program in the news section of the GNS3 website, i really had no idea about such a thing, immediately downloaded it , compiled it and it rocks. this is just amazing, first of all this is immediately going into my script for dynamips and the next version of the live cd, which should be ready by the 10th of the next month ( hint: there could be a version rangin between 10-20 mb) , als0 i just finished making it as a package for slitaz. Have sent it to the mailing list. Once they accept it, ill also put it up for download on this site. [[ it got accepted ]] download the slitaz package for cpulimit here . Download it and do a tazpkg install, thats it.
Now i tested it by setting the limit to 40% with the following command
cpulimit -e /usr/bin/dynamips -l 40
and then started 4 routers with my script without any conf and no idlepc value, the bootup ran a little slow but im able to do basic show run’s . Im not sure how useful this will be, but further tests will include running full labs on 70 percent and checking out what happens.
Now the cool thing is if you have 2 cpus in your machine , it means you set the command like this
cpulimit -e /usr/bin/dynamips -l 150
what the above command means is your setting the process limit for dynamips at 150 % since 200% now defines your cpu. so if you have 4 cpus your range goes to 400%.
[[ note: you need the development version for the above feature ]]
For all you guys checking out dynamips / dynagen /GNS3 for your cisco preparations you definitely need this, download it at http://cpulimit.sourceforge.net
Posted in general | 5 Comments »
So i managed to figure out how to get the idlepc in hypervisor mode, currently my script stands such that it will take input regarding the port which dynamips has to be started , which model router you want , ram size, npe info and then then start it . i can start a couple of routers, but i havent figured out how i am going to interconnect them, i do know the steps to do it, just thinking over how to do it in menu form , already the script is more than a 100 lines, ooooh thats my first 100 line script, hehe.
well it does feel good to try something and see it work and as in the networking field once you figure out the solution, it seems awfully easy and then you feel like not doing the job in hand but sitting around and tinkering over the other possibilities of your solution. maybe I just might make it to the end of the month schedule .
currently though it doesnt read from any conf file , but that feature has to, and will be added, most probably will keep the dynagen format ( if possible ) , coz i can remember reading about some bash ini parser scripts , will check that later though.
will update with new developments tommorrow. also i was wondering if anybody would be interested in the iso without firefox, maybe a small browser like midori, the size would go down even further. anyways end of the month looks like there’s going to be a lot of activity from my end. this is really good fun.
Posted in general | 1 Comment »
small update, i have been trying to learn a bit of bash, in my usual way of , search google for what i want to know method, and in that way am currently halfway to making a menu based commandline dynamips idontknowwhattocallit config generator and management tool. what i wanted to mention was this site i found http://www.xpresslearn.com which helped me a lot in understanding how to use the hypervisor, especially this article http://www.xpresslearn.com/tools/dynamips/introduction-to-the-dynamips-hypervisor , the owner of the site scott is also a pretty knowledgable and friendly guy, i asked him a few doubts and he has responded saying that he will be setting up a new article with the answers to my queries.
anyways i hope to have a bare working version of the script by the end of this month. if it happens successfuly in bash then gtkdialog should be a cakewalk.
Posted in general | No Comments »
This is going to be a very lazy weekend for me, all im gonna do is sleep and maybe read upon bash, sed and awk programming. by the way gtkdialog is just amazing, its been quite a few weeks now that i havent touched vista, which is good, slitaz is the first linux os with which i have lasted so long without reaching back to windows, two specific reasons for that, sylpheed is working cool as a email client and i have’nt had to read a single powerpoint presentation for a long time.
The best part is i have never felt so excited with a distro before, for which the only reason is, i think, that now im beginning to understand a bit about linux, about simple bash scripts, you know just basic stuff which was never seen or understood by me. Oh ya, there is also a thought in my head which just wont go, first, i had decided that this time i would not add GNS3 onto slitaz, but i just might change my mind, I mean the thing is i havent even started doing any CCIE studies yet but have been using GNS3 a lot for showing demos to say my pre-sales team or show how some particular config would work to a client before actually attempting it. The general look towards dynamips is a tool for studying for your cisco certifications, for which i have never used it, but it was tremendously helpful to me for the previous mentioned reasons, and this is a everyday thing. Now the reason I dont want to put up GNS3 on the slitaz live cd is coz it would kill the purpose of slitaz, i mean just to add GNS3 would take around 35 to 50 mb more, easily, of course this assumption is within my knowledge and im not really an expert. but what i was thinking was why cant there be another gui for dynamips, i have heard of dynagui but have not really tested it, if anybody has, i would like to know how it compares to GNS3, lot of thoughts going in my head, like, can dynagen be replicated using bash or say with something like qscheme or lua, i dont think so right now, but i dont see the harm in trying, and say also if dynagen remains, i could still try making a gui to create the .NET file for dynagen using say, GTKdialog, if anybody is reading and thinks this could work, why dont you give it shot, i,e if you are more confident about this, i have set this up as my next private project but most probably, as usual, it might never be completed, but definitely this is gonna take a long time.
Lets see. if it works, it’ll be fun.
Posted in general | No Comments »
Start the terminal window and issue the commend “su” and you will be asked for the “root” password kindly provide the same to move forward
now go to “cd /etc/yum.repos.d/” it is your (yum repository directory )
now execute this command “wget http://centos.karan.org/kbsingh-CentOS-Extras.repo” adding this to your repository will let you get some third party software
now you must edit “kbsingh-CentOS-Extras.repo ” here i have used nano however you can use your favorite editor ok , now do this “nano kbsingh-CentOS-Extras.repo”
And change enabled=0 to enabled=1 in the kbs-CentOS-Testing.
Now its done you are ready to use yum to install “Berly” via YUM now you can do the following in your terminal “yum install beryl” kindly let the package installed if these steps went well then you will be able to see the Berly icon under
Application –>System Tools –> Berly Manager , just tab on the Berly Manager icon and it starts, some older systems may require an reboot,
Hope you find this article useful
Posted in Get It Done Fast | No Comments »
Hello i find this is the best way of installing the VirtualBox for your CentOS
Just follow the steps below and i hope you will be done with it soon.
Just go to the below url and download the RPM
https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=innotek-1.6-G-F@CDS-CDS_SMI
Then select your platform as Redhat 5, and tab on “I Agree” and Click on Continue
And here you go now your download starts and once its done.
Go to the directory where your download have been saved and just right click on the package and select the option “Open With Software Installer”
Now your system may ask for the “root password” kindly supply the same then tab on “Apply” and then tab on “Install Anyway” your are done with this
now your Sun xVM VirtualBox has been installed and can be found in “Application–> System Tool–>Sun xVM VirtualBox… go ahead and enjoy
Posted in Get It Done Fast | 2 Comments »