Archive for December, 2005

GNU/Linux Users vs Rest of the world :)

0

I was satisfied to some extent with my Internet connection but was never too happy about it. I had always thought that it could have been better. So when I got a chance to test out another provider, I latched up on the oppurtunity with both the hands. But there was a glitch in it – they had a bizarre assumption about their users that all of them would be using the Windows OS. You need a client to first login into your account to be able to access the Internet; and the client was available only for windows. In short: no Windows, no Internet.

I had already paid the the amount in advance and so was in a complete mess now. I spend more than 90% of my time in GNU/Linux and can’t do without Internet there. The sales person assured me that he will find out what he can do about my situation and get back to me, but ever since, I had been having a tough time in finding that sales person instead.

I could have fought with them to give my advance payment back to me but my gut feeling was that there should be a way out of my problem. I found out that the client for windows is 24Online Client used with the Cyberoam servers. I knew the open source versions of these clients are available both for windows and gnu/linux, so i downloaded the gnu/linux version of it and tried to login using it. Unfortunately, there was no success here for me.

I thought I can always open the source code and see what exactly is not working but already being neck-deep in the other works, I postponed it to some other day and got back to my earlier Internet connection. Few days after that, my brother came to me describing about another open source client for the same cyberoam network and how it claims to handle all the versions of its protocols. It took some time for me before i could understand it all – there is a program called ‘linc’ which is a gnu/linux client for cyberoam. I downloaded it, built it using make, edited its configuration file and finally gave it a go. it just connected me to the internet right away, no fuss at all!

What more, I can ask it to send any MAC address of my choice in the request which enables me to connect to the Internet from any machine at my home, circumventing the restriction that I should connect only through the computer which was configured by the sales person. What a ridiculous resriction that was! But not for the gnu/linux users )

The hero of the story resides here: http://linc.sourceforge.net/ and its written in beautiful C++ code, making the entire source code very readable.

System rescue act using GNU/Linux Live CD

1

It happened like this: I once rebooted my machine and got back a grub call-whatever-you-like error at the boot prompt with the consequence that there was no gnu/linux or windows for me for the time being. I had so many operating systems installed on my computer, but I could not boot into atleast one of them as the boot loader itself had deserted me. What to do? Re-install all the operating systems again? Re-install one gnu/linux os and recover the others using it? Or recover the entire hard disk from the backup drives? The last option looks like the most sensible one, provided that I had taken such a backup in the first place. I did not.

I keep the Live CD of Knoppix OS just for such occassions. It allows me to conveniently boot into the gnu/linux environment right from the CD without having anything to do with the hard disk(s) present on my computer. Once there, I could connect to the Internet and ask for help. But I had my recipe to recover from such situations written safely in a corner of my mind and I decided to make use of it on this occassion. I opened the terminal emulator and got on with the job:

sh# fdisk -l

This listed all my disks and their partitions, inducing a sigh of relief in me, and I started mumbling to myself “Everything is fine mate, everything is fine!”
Then it was time to see if I had lost any data.

sh# mkdir /mnt/tmp && mount -t ext3 /dev/hda9 /mnt/tmp

I panicked for a moment as the mount failed with an error. I knew I need to run ‘fsck’ now, so headed straight to that step:

sh# fsck /dev/hda9

and accepted all the suggestions from it(pressed ‘yes’ to all the questions). My filesystem was ‘apparently’ fixed but i wanted to confirm it. I tried to mount it again:

#mount /dev/hda9 /mnt/tmp

Celebration time! The partition was successfully mounted and I could browse all the data present in the partition. I happily repeated the procedure with other gnu/linux os’es and then turned my attention to the boot loader.

I quickly chroot‘ed to the root partition of the Ubuntu OS(whose boot loader was installed on my MBR) and entered the following commands at the command shell:

sh# chroot /mnt/tmp
sh# grub-install /dev/hda
sh# exit
sh# reboot

That’s it! My system was back to its normal state, with the familiar grub bootloader greeting me with all the operating systems that were installed on my computer.

In related but different situations, there are variations of the above procedure which I had to follow to get my system working again. After one hard disk failure, for example, ‘fsck’ refused to work with my filesystem; I had to first run ‘badblocks’ to scan for any possible bad blocks on the disk, and then run e2fsck with an alternate block number as the main super-block was corrupted.

sh# badblocks -svn /dev/hda9
sh# dumpe2fs /dev/hda8 (use a partition here whose super-block is not corrupted)
sh# e2fsck -b <alternate-super-block-from-above-command> /dev/hda9

If there is currently no partition that has a valid super-block, then the trick is to make a new file with an equal number of blocks as the corrupted partition, and then finding an alternate super block by applying the above procedure to this newly created file.

Anyway, there is atleast one way to get out of the trouble if you have a GNU/Linux Live CD handy with you. If you don’t have one already, go and grab it right now.

A list of popular gnu/linux live cd’s is here.

Which is my favourite OS?

4

Suddenly people have started to publish their favourite operating systems in their blogs and I thought I too should have some fun by doing the same. Currently I have these operating systems installed on my computer:

Ubuntu (Debian based) Zenwalk (Slackware based) Fedora Microsoft Windows XP

My favourite, as must be evident from the above list, is Debian. Because I use Debian OS as the main server for my network, I thought I should install a different flavour of it on my pc. I may try Mepis os the next time, but currently I have Ubuntu.

The best thing I like about Debian based distros is its package manager called ‘apt’. also there is a huge repository of packages ready to be downloaded and installed for debian. Two dvd full of software can be kept handy by those who need to install them on multiple systems or have a slow internet connection. Two step installation process of debian, where you can install only the base system in the first tier and then continue with the additional packages once the first part is successfully installed, gives a lot of flexibility to the user. Debian is also very secure and stable, more than any other gnu/linux distribution. This is also the reason why latest versions of many softwares are not included in debian, but the tradeoff has been utilised by ubuntu and you get the latest, cutting-edge versions of all the software by sacrificing a bit on security and stability in it. Because ubuntu is generally meant to be used on desktop only(all kinds of server applications can be installed on it, but I can’t convince myself to use it as a public server machine), the security issue is not critical. But ubuntu comes with a single dvd worth of software and any additional packages have to be installed from the Internet. For KDE users, there is Kubuntu.

Slackware is another interesting distribution that is best known for its simpilicity and efficiency. The operating system, as well as its packages, get installed in real quick time. Its package manager is also extremely simple to use but the repository of packages for slackware is not as big as that of debian. Because I use it for development purposes it suits me perfectly well and I have found it as the fastest of all the popular gnu/linux distros. Zenwalk is a flavour of Slackware and installs only one software per every category – i.e. one browser, one word processor, one email client only – saving a lot of disk space. Its default desktop XFCE is also sleek and stylish. Though the first thing that I had installed on Zenwalk was the KDE package, which took less than one minute, I still spend most of my time in XFCE.

I had installed Fedora to check out the Core 4 version of it, but i am already thinking about installing PCLinuxOS or some thing else over it.

I use Windows XP primarily for development on .NET platform and for heavy printing jobs. I also keep most of my partitions meant for storing data under windows file system and manage them from windows xp because its easy to access windows partitions from gnu/linux than the other way round. My testbed machine contains 6-8 operating systems on it and the list keeps changing every 3-4 days. My brother is very fond of Gentoo OS.
Final word? Debian as a server, Ubuntu for most of the desktop jobs(multimedia, internet etc), Zenwalk for development work and Windows XP for .NET and data storage.

buy genuine Zovirax online purchase prednisone prescription online prednisone no prior script prednisone no rx needed order prednisone usa cod buy prednisone without rx from us pharmacy buy prednisone online without rx purchase prednisone without prescription order prednisone saturday delivery buy prednisone amex online without prescription ordering prednisone over the counter buy prednisone amex online without rx ordering Paxil over the counter order Paxil without rx needed order Paxil pharmacy Paxil overnight delivery fed ex ordering Paxil without a script order Paxil order amex order Paxil amex online without prescription buy Paxil pay pal without prescription order rx free Paxil cheapest Paxil available online purchase Paxil without purchase Paxil without prescription how to order Paxil online without a prescription purchase Paxil cod next day delivery buy discount Paxil online buy Paxil no visa online without rx prednisone cheap overnight fedex Zovirax canadian pharmacy Zovirax cheap overnight fedex purchase Strattera usa cod where to buy accutane buy frontpage software cheap mortgage application software buy autocad software best price for final draft 7 software iphone software download plagiarism software to buy for parents Crestor side effects buy masterwriter software discount bmi sesac microsoft software downloads wm5 software download treo software download cheap discount software xxasdf discount trellian software best antivirus software download cheap microsoft word software buy software for mac software discounts for educators microsoft office buy windows xp oem software buy flash cs3 software photoshop cs 5 full fashion conference italy buy Orlistat with amex ordering Lasix over the counter purchase online prescription Lasix without windows 7 product key purchase online cheapest xenical available online prescription xenical online online Maxalt achat Maxalt Zithromax uk sales where to buy Valtrex by cod where to purchase generic valtrex online without a prescription quality generic valtrex cheap valtrex usa (no prescriptions needed for Buspar|buy Buspar with no prescription|online pharmacies Buspar|Buspar cheap|buy Buspar without rx|purchase rx Buspar without|Buspar purchase online|purchase Buspar online without rx|purchase Buspar free consultation|buy Buspar Online|buy Buspar american express|buy Buspar Online|buy cheap Buspar with dr. prescription|Buspar side effects|fedex Buspar without priscription|overnight Buspar without a rx|order cheap overnight Buspar|Buspar toronto|uk order Buspar|Buspar no doctors prescription|Buspar mexico|Buspar order|no prescription Buspar with fedex|order generic Buspar|buy Buspar without rx from us pharmacy|prezzo Buspar|Buspar 10mg|Buspar from canada|purchasing Buspar without a script|buy Buspar australia|purchase Buspar visa without prescription|online purchase Buspar|buy Buspar no perscription cod|buy Buspar drugs|buy Buspar with visa|buy Buspar without rx needed|buy Buspar without prescription|buy Buspar no prescription low cost|purchase purchase Buspar no prescription cheap buy cheap Nolvadex cod buy Nolvadex infertility in internet visa at Wisconsin Ontario omicrosoft office 2003 megaupload online purchase Lasix Buy genuine accutane online buy Cytotec online no rx Cytotec online buy nolvadex amex online where to buy synthroid in germany where to buy synthroid pills cheap discount Nolvadex overnight Accutane 20mg mexico order Lasix usa Lasix overnight delivery fed ex buy zithromax overnight purchase online prescription zithromax without buy Nolvadex cheap cheapest Nolvadex available online buy Nolvadex without rx from us pharmacy buy Nolvadex without a prescription overnight delivery buy 20mg Nolvadex free shipping buy Nolvadex no prescription order zithromax overnight delivery buy zithromax 100 mg visa Valtrex without doctor prescription buying zithromax over the counter order zithromax with no prescription order zithromax 250mg mastercard order zithromax 250 mg visa order zithromax 500mg amex buy mail order Orlistat buy Valtrex online now Orlistat tablets purchase cheap Maxalt onlinebuy generic Maxalt pills free fedex delivery Buspar buy cheap Finpecia under without rx purchase online finpecia without rx finpecia fedex no prescription buy line finpecia generic Crestor uk Buspar u.p.s shipping cod order cheap overnight Buspar free fedex delivery prednisone prednisone no script fedex buy valtrex cheap without prescription purchase Zithromax without purchase Zithromax no scams Arimidex delivered overnight order cheap overnight Arimidex want to buy Flomax in malaysia buy cheap Flomax without prescription purchase Cytotec over the counter fedex buy cheap Cytotec online free consult buy Cytotec online overnight adobe financial results microsoft office professional 2007 upgrade download microsoft office professional 2007 cheap Buspar by money order how to buy Valtrex without a prescription cheap valtrex uk purchase Proscar usa cod adobe lm service adobe after effects simple creativity latest adobe flash download buy Crestor amex measurement software Photoshop For Sale buy discount Tamsulosin line Autocad 2010 Review download adobe premiere complete removal of office 2003 adobe indesign cs2 photoshop lightroom 3 cheap where can i buy herbal Crestor where to buy Crestor buy Crestor online cod Buy Fincar online 5 mg mastercard cheapest price for microsoft office vio software discount coupon purchase Orlistat amex online without prescription buy maxalt online without a prescription adobe photoshop 6 cd key Cheap Software Buy Downloads For Photoshop flash catalyst sql ms office 2010 enterprise windows 7 upgrade oem Windows Server 2003 Standard Edition Downloads For Windows 7 Ultimate Buy cheap Valtrex without a perscription application free download office microcoft2007 buy Crestor drugs Valtrex no prescription purchase Valtrex amex online without prescription Xenical Orlistat Flomax buy on line boilsoft viseo create new instrument logic studio 9 cheap purchase finpecia buy Strattera no prescription low cost Flomax best buy buy cheap oem software formica countertop cyberlink power dvd 9 download buy Prednisone no prescriptions cheap indesign cs android acdsee buy Flomax australia generic Valtrex online lightroom license .txt download de driver para corel windvd buy microsoft office online cheap generic Valtrex online buy Flomax online no prescription buy pharmacy Flomax waterview ifinance price price of valtrex buy valtrex doctor prescription buy generic Crestor order generic Tamsulosin imtoo dvd ripper serial look like buy Buspar without a rx cheap digital video want to buy Buspar in malaysia buy Crestor now buy Valtrex without a rx purchase rx Valacyclovir without Bupropion buy Bupropion buy no perscription Amitriptyline buy discount Zithromax cheapest Zithromax available online how to order Buspar online without a rx purchase prednisone cod next day delivery where can i purchase prednisone online prednisone online cash on delivery microsoft office 2010 3 user license cheap mac desktops no prescription Orlistat cod delivery Work Order Tracking System Acrobat 6.0 Professional Oem Version Windows 7 buy Valtrex where order Orlistat no rx cheap proffes Microsoft Windows Xp Purchase buy Valtrex legally buy cheap Proscar without prescription Windows Xp Server buy cheap online pharmacy Buspar generic Zithromax usa accutane 40 mg delivered overnight buy accutane 40 mg with no prescription media 8 oline cheap cs software Discount Microsoft WindowsLightroom 2 Windows 7Ms Office StandardPhotoshop Cs5 UpgradeComputer Monitors For SaleWindows Xp InstallSuite Microsoft OfficeAutocad Version 2007Adobe Acrobat 9.0 Standard DownloadIe8 Download For Windows 7Adobe Paint ShopMicrosoft Service Pack 2Free Download Adobe AcrobatStudent And Teacher EditionManage ImageAdobe Acrobat 7 Pro DownloadVista Home Premium To Windows 7 UltimateWindows 7 Home Premium Upgrade OemAdobe Creative Suite 5 Master Collection Student And Teacher EditionBuy Adobe Photoshop Lightroom 3Ms Office 2010 Home And StudentCompare Photo SoftwareMicrosoft Office Word Viewer 2010Windows 7 Upgrade Student Discount ProfessionalWindows 7 Updates DownloadCreative Suite WebAdobe Reader VistaMicrosoft Windows 7 Home Premium Upgrade 64 BitPhotoshop 2Ie8 Download For Windows 7Photoshop 2009Suite Microsoft OfficeMicrosoft Office 2007 VersionUpgrade Windows Vista To 7Autocad Lt 2010Autocad 2010 Best PriceDownload Acrobat Reader 8 buy Flomax online us pharmacy cheapest Buspar available online where can i purchase Buspar without a prescription sony oem software Valtrex from india Maxalt pharmacy Prednisone prescription order buy Crestor overnight Buspar shipped by cash on delivery purchase Proscar online with overnight delivery prezzo Valtrex buy Valtrex shipped cod Proscar no prescription overnight Proscar overnight no consult where to purchase cheap Cytotec no rx Cytotec to buy canadian prescriptions prednisone where to buy Prednisone online Prednisone buy Prednisone Proscar online no rx overnight where can i buy Valtrex online without a prescription buy valtrex legally order Valtrex without a rx overnight shipping c.o.d prednisone purchase Prednisone money purchase is it legal to buy Cytotec online in australia where to buy generic Crestor online without a rx buy Cytotec cheapest Cytotec without rx medications buy Zithromax on line buy rx Maxalt without Buy Finpecia 1 mg online microsoft onenote and educator discount window mirror film charset windows 1252 reinstal windows finpecia overdose excel new window windows for loop microsoft office 2008 for mac home student cheap collection software virtual dj software web design software mac cheap or discount photoshop software load windows xp buy Orlistat legally Rosuvastatin generic order buspar pharmacy dreamweaver cs4 windows mobile opera adobe photoshop price epson creativity suite
Go to Top


You are viewing a mobilized version of this site...
View original page here

Mobilized by Mowser Mowser