Tagged - Linux

Living on Limited Resources with CrunchBang Linux

Wednesday, January 28th, 2009

Well, I was getting tired of things loading very slow on my 256MB Gateway M210S with Windows XP. (If you don’t know, I’m using this laptop because my Bios went corrupt on my main PC.) What did I do about it? I installed a light weight distribution called CrunchBang. It’s based off of Ubuntu. Installing it wasn’t the hard part.

All my issues getting CrunchBang up and running correctly.. Maybe this will  help someone?

I ran into some issues with my Ethernet controller and my sound card! Those two things did not work at all out of the box. I searched around for my prism wireless card and was able to get online. I found what the model number the problematic hardware was via lspci. I found it was the BCM4401. Then I tried to enable the module via modprobe b44. It gave me errors. I searched around for the answer to this on the Ubuntu forums, and found it was related to my Kernel version, or possibly an installed package. Anyway, I removed that certain package, because I didn’t need it for my Wifi which doesn’t need any special drivers.

Eventually what I did was edit the sources.list file in /etc/apt and removed all the commented out lines did sudo apt-get update and sudo apt-get upgrade. Restarted, wow ethernet works.

Next issue: SOUND! ICH4 – Intel 82801DB-ICH4 did not work at all! Went through the guides to get audio working, checked alsamixer to see if anything was muted or something weird. Apparently it’s related to external amplifier and all the switches. You can enable external amplifier in Alsa, and then go into your sound controller and uncheck all the switches. It works.

So, now everything works. Yay. Now I have a laptop that is 15X faster booting up and running applications. Worth the trouble? I think so. Maybe others wouldn’t. It took some time to get all the bugs fixed. I have gotten too used to Linux working out of the box, but with older laptop components, it doesn’t seem like that’s the way it goes. I know some wifi cards aren’t even supported, so you should definitely pick up a prism based wifi card if you’re using Linux on a laptop.

CrunchBang Review

CrunchBang is a modified Ubuntu distribution with a light weight open box GUI. Perfect for lower resource computers. I could barely play a youtube video in Windows XP, on CrunchBang, it’s no problem. Why use CrunchBang instead of some of the other light weight distros? Some of those light weight distros are a real pain to configure, probably A LOT worse than what I had to deal with.

CruchBang is a nice mix of usability while still being light weight. All you have to do is right click on the desktop to get a list of all the applications installed, and there’s many that come already installed. Almost anything you would want is already there. Because it’s Debian/Ubuntu based, you can also just use apt-get or aptitude to install various things without issues. It can’t get much easier :)

Also, CrunchBang is open-box meaning you can customize the GUI the way you want it. Personally, I like the default config, it looks fine.

So, have a low resource computer you want to get a little more out of? Try out CrunchBang Linux. If your computer is really low resource however, you may need to look into something like Slackware Linux with a very light weight GUI.

Irssi Review

Tuesday, January 20th, 2009

irssitopIrssi is a very interesting IRC client. It runs completely through the command prompt. It runs on Windows, Linux, and Mac OSX. On windows, you can install it through the executable. It will run through DOS/Putty command lines. On Linux, you can either compile it or install from a binary, through apt-get or something similar. It runs through Bash, obviously.

I have found, that for chatting Irssi can be very powerful. You can connect to any number of networks, and rotate through them with ctrl-x, in the same window. Then you can join any channel on that network. It uses an interesting window system, where you change windows with /window #. There are many other features like auto connect etc.

I find myself rotating through the windows a lot to see what’s going on in each, but that’s expected. It’s really not a problem. I like to have my SSH/FTP or whatever else right next to each other in the command prompt. Tabbing programs is great.

There are many plug ins available for Irssi, that are perl scripts. They are very easy to install and run. One thing many people do not like to start is there is no user list off to the side. This can be remedied by installing a user list plug in, something like this http://www.bellot.net/cyril/contribs:irssi-nicklisthoriz . I have yet to use it, since I haven’t really found a need for a nicklist. When you join a channel, it gives you a list of users, that you can generally use the PgUP button to see.

In conclusion, Irssi is a very useful command line based IRC application. I believe the developers did a great job. I’ve enjoyed using it quite a bit, since it keeps my programs more organized, and it’s easy to use. Check it out! :)

Linux vs Windows

Saturday, January 17th, 2009

linux-desktop-i-want-to-believeI know there are a lot of posts on this out there on the internet, but I thought I’d add my 2¢ on the subject. Generally speaking, Linux has a steep learning curve if you’re coming from Windows. The easiest distro of Linux to start with would have to be Ubuntu. A lot of things have a graphical user interface (GUI) with that particular distribution, and it will make the transition easier. You’ll still have to do a number of things on the command prompt, however. In all actuality the command prompt is much easier than the GUI when you get used to it. Instead of clicking clicking clicking and trying to find the right options, you can just type them in. Sometimes you are sitting around going from the command prompt to the GUI which is silly. Just try and use things in the command prompt, it’s better overall.

Heading over to Windows territory, this puppy is completely driven by GUI. There’s absolutely no need to use a command prompt, and the DOS command prompt is almost useless because you can’t really do much with it. Sure, a few things here and there, but I do not think it is nearly as powerful as Bash. This is actually a drawback to me. I’d prefer to have something like Bash in windows. It would make the incessant clicking go away.

Basically, what you can do in Windows you can do in Linux. There are tons of open source applications for it. Unlike Windows, where they want you to pay for every little thing. The only real drawback for Linux is it does not having gaming functionality. I would use Linux 24/7 if I could game on it. For some reason Microsoft doesn’t want to port DirectX over to Linux, and game developers rarely support Linux.

Installing a program on Ubuntu/Debian is as easy as typing “apt-get install *program*” and that’s about it. Sometimes you’ll have to go into the /etc/ directory and configure a .conf file. You might have to compile some programs. So what? What’s the big deal. Getting a general desktop up and running is as easy as installing the Linux disc. They all usually come with most applications you would generally use, it’s not “bare-bone” like Windows. So if you use generally applications you might not even have to install programs.

With Windows, you just click the installation .exe and you’re off to GUI heaven.

If you’re wondering about security, Linux is 100X more secure than Windows. It does depend on your distribution, but most are highly secure. This has been proven over and over. Almost everything targets Windows, there are some Linux virii/trojans, but it’s much less likely you’re going to get infected with things if you’re running Linux.

So, it’s your decision. If you want to learn, Linux is a very powerful operating system with a huge community behind it. Windows is run by Microsoft. If you want something that is very easy, go with windows. If you want something that you can tweak and manipulate almost every little thing, you want general programs, security, and fairly easy to use, go with Linux.

I myself use both Windows and Linux, and I know many others do as well. So if you can’t make up your mind, go dual boot. There are many things on Linux you just can’t do with Windows.

I have been BUSY

Saturday, January 10th, 2009

Sorry Entrecard and everyone else.. I’ve just been so busy I haven’t even had time to drop. So many things went wrong on my VPS.. So many things I needed to learn, and yet I’m still learning. I must be really rusty with Linux or I’m too used to having a GUI. I think it’s both. Kind of rusty, and really not used to not having a GUI for Linux. Also, the crashing really had nothing to do with the memory on the VPS. Apache just needs to be configured correctly.

I had another problem with my mail on the VPS and I’m sorting that right now – so don’t e-mail admin at technologyinsanity dot com just yet, it’s not working. Instead, e-mail me at admin at s0uthp4rk dot com as it’s still on my old host.

I would be lying if I said I wasn’t having fun playing with my VPS though. It’s great fun. Yea, I’m weird like that.

Normal dropping will continue once I’m sure things are going well on this server. I will probably drop today though after I get some sleep. :)

Thank you for understanding :)

I think webalizer is screwed up it said I got almost 500 visits today – that can’t be right, can it?

e-mail is up.. I guess I’m done? Maybe apache could use a little more tweaking I dunno :) I don’t know who was advertising on me yesterday but I’m willing to give 256EC to that person, because it was NOT a good day :) I also went through and tweaked MySQL, and well I have plenty of memory now :) Only using about 37MB/128MB memory for everything! You could probably grab hosting from me now, don’t see why not. So long as you don’t get more than a few thousand hits a day should be fine I would guess.

I would recommend RapidXen for your VPS needs.