Skip navigation

Tag Archives: GNU/Linux

It’s over. The fight against the dynamic DNS is over for me now. It took me so long to figure this simple thing out. But I don’t worry, even the big bro Goog couldn’t come up with a satisfying straight answer for my problem. So I myself searched under the mattress & found the pea which took my good night sleep (I’m neither a princess nor prince ;) ).

Sometimes back I had to come up with a pretty shitty solution for a shitty problem. No I didn’t won’t to show how bad my thinking or coding is. But wanted to show how shitty is the service of my ISP. But however the right way to fix all those are here with me. And I’m gonna share it with you.

If you use wvdial to dial up (Ok, now only seven people at most will continue reading this) for your internet connection, and you hate the DNS servers come your way automagically, here’s what to do.

Open /etc/ppp/peers/wvdial with your favorite text editor & comment the line usepeerdns. I mean make it look like #usepeerdns. Now wvdial won’t ask pppd to fetch those crappy DNS addresses again.

So go and edit your /etc/resolv.conf file and add you favorite DNS servers there. Mine looks like following.


Wonder why I use there? That’s because I’m a happy user of dnsmasq (I recommend you to use it). I used this simple HOWTO to install it on Ubuntu. There should be other guides & HOWTOs which might match you (In case that one doesn’t fit). Just ask big bro Goog.

And other nameservers are of the nice free DNS service OpenDNS.

Here I came up with part two of “Use Portable Firefox profile with GNU/Linux“(Now I feel ashamed for calling it a hack. Sorry fellas for calling it a hack :D ). This time it’s a shell script which would let you jump between default Firefox porfile & your own Portable Firefox profile which is going to live on your flash drive.

To use it you have to download fp.tar.gz & extract. There are two files in fp directory, one is which is the script & the other is profiles.ini which the script uses in the switching process. Those files are made to be together :). (You need Portable Firefox)

You have to edit path= Line in profiles.ini file. Add the path to your Portable firefox profile & run the script. It works for me & I hope it would work for you too.


Known issues:

  • The Extension versions you use may conflict with the Firefox version on the host machine.
  • You won’t take the plugins (ex: Flash, Java) with you(I’m still tryiing to figure out a way to make it happen).
  • You’ll have to obey the proxy settings of the host machine.
  • You may have to change file permissions [ $ chmod 755 /path_to_script ]
  • In worse case you may have to copy fp folder to host machine.
  • In worst case you may not have enough rights to run shell scripts :( .

known bugs:
When I run this in fedora core 6 I don’t get the functionality for identifying whether Firefox is running when setting/unsetting Portable profile. I couldn’t figure out that little bug yet.

The day before I write this script I was a total idiot of shell scripting. I just read the manuals(Some bash howtos) & wrote it. So you won’t see any cool/advanced tricks in this script.


It will be more helpful if you read the part 1 of this(Link at top of this post).

I didn’t check this with Firefox 3. (There’s one who use this on Ubuntu hardy with Firefox 3.0)

You don’t need to have Portable Firefox for this. Just having your Firefox profile is enough (If you like it that way :) ).

Big red disclaimer:
Dumb me & all my dumb friends did this & it works just fine. If you are dumber enough to get problems with this just don’t try this or any kind of hacks. Any kind of a damage you do to your system trying this script happens only because you are an extreme fool. SO don’t blame me. Go infront of a mirror instead. :twisted:

For me Ubuntu is Linux *even* for idiots, not Linux for human beings. I do not hate Ubuntu. It’s an all time great GNU/Linux distribution. It’s only fault is not mentioning GNU. No I can’t see it on CD covers or anywhere. Maybe it’s there on a very small font size.

Yes I know Mark Shuttleworth is in GNU’s side & I’m pretty sure that he has never imagined that the mistake of not mentioning GNU would go this far. Ubuntu is ubiquitous & that’s very good. that’s very good if everyone who gets hands on it also get to know that it’s there because of the “freedom”. The freedom which Linux(the kernel) gives us. The freedom the GNU gave life to.

In my humble opinion Linux (Let’s call it just Linux for now) has come so far only because of so called freedom. Even Unix is great. The only problem with it is “it’s. just. not. free. Like GNU/Linux” So make it clear now that Linux they are quarreling that should ever remain just Linux, is there for them because the freedom & that freedom came with GNU. Is that clear enough?

In case of Ubuntu, the problem with Ubuntu as I see is it’s promising to be idiot friendly. Thanx to that effort, the Window$ fanbois who are inspired by dumped away hacking tuts & dumb hacking films & want to use Linux(They don’t know it’s Gnu/Linux) are having the chance of using it the idiot way they like. That’s the main problem with ubuntu..oh I’m extremely sorry..It’s not the fault of’s the fault of those idiots who desperately wanted to use *Linux*…somehow. So called idiots don’t know how that heavenly ease has come to them. They don’t know that it is there thanks to not only GUI but also hundreds of GNU tools lying under the beauty.

Ubuntu comes Free of charge thanks to the freedom I mentioned before & hell yeah thanks to mark shuttleworths brilliant dedication. Those windows & Mac users(not necessarily fanbois) who knows money is precious, come to Ubuntu because it’s great & free with hell a lot of advantages than their former OSs. But they don’t know why & how Ubuntu came free.

What I wanted to mention here is that Ubuntu had to mention GNU somewhere which every Ubuntu user would see. Then every one gets to know how Ubuntu came to their desktop. Maybe the users won’t ever think why GNU is there. But now there’s nothing wrong with Ubuntu at least.

Again I say Ubuntu is great. No wonder Donald E. Knuth is also using Ubuntu (No wonder those idiots don’t know who is Knuth). But why the hell I raise finger only at Ubuntu? No I’m not. All the Linux distros who use GNU to make it really an OS & do not mention GNU, should have a finger raised at them :evil: . Ubuntu is special because it’s ubiquitous. Just that.

If someone desperately want to use just Linux & s(he) hates GNU, there’s always another way. Try kicking off all GNU stuff. And. Have. FUN. ROTFL

Let me conclude. GNU is great, Linux is Great, Ubuntu is great. And so Ubuntu GNU/Linux is Great :).

(And recently I heard of Ubuntu fans who don’t hate windows. Yes they had mentioned it so bold. We GNU/Linux lovers too don’t hate Windows. We just know/believe it’s not the best OS out there. Just not the reason of those idiot fanbois)

New update available HERE

This was a big headache for me. Portable Firefox is a great piece of work but I couldn’t experience it’s ease with my OS love GNU/Linux (there is Gnu/Linux installed in our campus). So the bad old hacker in me wanted some way to make it happen. Even after few Googlings, didn’t find a How-to to do this. So I thought of hacking it for myself. This is what I got ultimately. Once thinngs are ready it takes maximum 4 easy steps(2 steps are optional). So let’s fire it up.

Hope You got Portable Firefox on your USB stick.

What you have to do is adding few lines in to profiles.ini file. To make it bit easy for you I have created fxp.txt file for you.
Download & edit fxp.txt :


Critical update: You better use

Path=/media/disk/FirefoxPotable/Data/profile to get the same profile on Window$ and GNU/Linux.

You can use any string made of letters & numbers for this. Make sure the name you use is unique for your profile.ini file.
This is nothing you have to deal with.
This is the exact path to portable Firefox profile folder [what you see on the address bar when you browse in to profile folder].

And remember to change [Profile1] to the appropriate profile number according to the profile.ini file if necessary. The very first line of fxp.txt is empty. Please remain it unchanged to keep profiles.ini tidy & headacheless.

Now open a terminal & put
cat >> /path/to/profiles.ini /path/to/fxp.txt

ex: cat >> /home/chanux/.mozilla/firefox/profiles.ini /media/flashdrive/fxp.txt

this will append the content of fxp.txt in to profiles.ini. Ofcourse you can do this with GUI lameware with more pain in back. if you like loads of clicks & copy & pastes go that way.

You’ll find profile.ini at

well it’s the home folder :
ex: /home/chanux/.mozilla/firefox/profile.ini

once you update the profile.ini file you are ready to feel the home on the road.

Type firefox -ProfileManager in to the terminal or “run command” box. If you prefer terminal, you have to keep it open as long as you want to use firefox. Once you get profile manager box, choose your portable profile & rejoice.

The four steps in brief:

Check profiles.ini
Edit profiles.ini if needed.
Append fxp.txt to profiles.ini
Start firefox through profile manager.

Update: Make sure Firefox is closed when you try firefox -ProfileManager. I did dumbness & Twittered too. Seejay reminded me to close Fx :D

Until I live the day 18th Friday 2007, I had two big doubts about FOSS culture. I read a lot, I play hell a lot around this massive net but I never had the chance to clear out those doubts.Maybe I was too lazy to go in search of the answer or it’s just the way it supposed to be. However there were lots of murmurs among geeks & I stumbled upon a few.

However there are no doubts anymore. RMS, the best possible character cleared “ALL” out at SLIIT auditorium. What is that ALL? For me,there were only too. “What is Open source initiative? & what is Free software foundation?” & the second one is “Why should I call it GNU/Linux”.

Out of those two there is one I worry a lot about. It’s the first one. Few moons or few dozens of moons back I came across two web sites. & I just hovered on both sites & for devils sake I said “Oh this OSI thing might be the official site of FOSS community” & damn I created a banner out of it’s logo & put it on my sidebar. See the banner below & please don’t call me “You fool”. And the next best…sorry…worst thing is that I thought FSF is something I shouldn’t care much about.

Once I saw Buds Twitter saying “Registered on FSF for some free software love” I thought “Damn what the hell is this guy is doing?” & never asked him about it. This situation made me ask RMS about it & clear the doubt. So I wrote to him at the Question & Answers round of the event.

Me: Do you have any connection with Open Source Initiative?
RMS: No. I stand for Free software.
Me: Is it OK to use nano ;) (It was a joke & RMS understood me :) )
RMS: It’s a GNU software.It’s OK to use nano but I think Emacs is better than nano [everyone laughed & that’s what I wanted to.]

Hope it’s clear that OSI have no business with FOSS culture. I regret my mistake. “I’m extremely sorry dear FOSS people”.

The second thing which I do not have to worry is “Why should I call it GNU/Linux”?. I also believed that calling it just Linux is damn OK & command line warrior still believes so. However once I read an article somewhere saying “GNU is a big part of GNU/Linux so please free to mention GNU.GNU deserves it”. I’m happy that I understood it & felt free to mention GNU especially on blog posts which are globally available for reading.

RMS said that it’s crucial calling it GNU/Linux because people are forgetting freedom & running behind ease & eye candy. Just calling it GNU/Linux is the easiest possible way to lead people to think of freedom of software.

This problem has two aspects of it. If you are a geek who know the concept behind software freedom & you are alone in a room with a geek girl who also know well about software freedom or vice versa, it’s OK calling it just Linux (You guys somehow manage to make it a geeky conversation ;) ). But think some one is listening to you stealthily & he don’t know about software freedom. Now this is a problem. I hope you can understand me.

If you are blogging or talking to a crowd or just chit chat with a bunch of non geek friends You MUST call it GNU/Linux. (I don’t want to call it Gnu-Slash-Linux & waste time.I call it Gnu Linux).

So no doubts anymore.