Journaling on estrip is easy and free. sign up here

Tinypliny's Journal

tinypliny
My Podcast Link

06/29/2011 09:26 #54597

Faster boot times on Crunchbang
Category: linux
Some stuff you can do for a faster boot time on Crunchbang.

1. Enable autologin.
Open the terminal and type


gksu gdmsetup


You will need to enter your administrator password. Go to the "Security" tab and check "Enable Automatic Login".

2. Decrease grub menu timeout.
Edit the /etc/default/grub file and change the grub option menu timeout to 1 or 0

GRUB_TIMEOUT=1 (or even 0).



Additional random but useful notes that might be helpful to people struggling with existential queries on Crunchbang:
a) Prevent Iceweasel from weaseling in.
I like Google Chrome beta on my OS. But uninstalling the default Chromium compulsorily installs something called iceweasel. One way around this is to install the iceweasel-dummy package to avoid installing iceweasel when you remove chromium. Apparently, there is some java dependency on this neverending it's-either-chromium-or-iceweasel vicious cycle on crunchbang. What a mess.

b) To check if JRE (Java Runtime Environment) successfully installed on your laptop, type the following at the terminal:

find / -iname java -print 2>/dev/null



06/29/2011 08:43 #54596

Compiling RTL8191SEvB drivers on Crunchbang and Debian
Category: linux
With my new found "Su" power, I compiled the RTL8191SEvB wireless driver in Crunchbang and am documenting all the (as it turns out, rather minor) hurdles and leaps here. The good news is if I can do it, you can surely do it too. I am pretty much the lowest of the lowest common denominators when it comes to dealing with linux. And no, I am not being humble. Linux and I haven't found much common grounds for camaraderie yet. However, we tolerate each other because we simply have to. The alternatives are even more hideous and strewn with frustrations.

0. Get the driver from the Realtek site at this Get both RTL8192SE and RTL8191SE-VA2 if you are doubtful of what to get.
Special Note: Pay attention to which version of the driver you are downloading. First check your kernel version with:

uname -r


Then pick either
--> Linux driver for kernel 2.6.34 (and earlier) or
--> Linux driver for kernel 2.6.35 (and later)
depending on what version came up with uname -r. I am telling you based on my bitter experiences that you will end up wasting a ton of time if you download the wrong version.

1. Crunchbang has a problem with su and can't really switch you into Su root mode unless you do this: At the terminal type:

sudo su

followed by

passwd

The system should now ask you for a new root user password. Enter something that you will remember. You are set with a Su command to go into root mode like in regular debian.

2. Type the make command at the terminal:

make


If you have a vanilla no-frills crunchbang installation "make" is sure to complain with:
make: *** /lib/modules/2.6.32-5-amd64/build: No such file or directory. Stop.
make: *** [all] Error 2

2a. It's whining about the lack of kernel headers so install the kernel headers:

apt-get install linux-headers-2.6.32-5-amd64


(...which makes you wonder why the kernel was headless to begin with. Perhaps to save space. Perhaps to add to your vexation. Who knows.)

--
Note: If you want to install these headers manually, these are the files you need from the debian repository:
  • linux-headers-2.6.32-5-common_2.6.32-31_amd64.deb
  • linux-kbuild-2.6.32_2.6.32-1_amd64.deb
  • gcc-4.3_4.3.5-4_amd64.deb
  • gcc-4.3-base_4.3.5-4_amd64.deb
  • cpp-4.3_4.3.5-4_amd64
  • linux-headers-2.6.32-5-amd64_2.6.32-31_amd64.deb
  • linux-headers-2.6-amd64_2.6.32+29_amd64.deb

In that order.


3. You can then go ahead and issue the make command again:

make

. A ton of mumbo-jumbo will scroll across your terminal but most of it will be orderly except this line:

/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/rtl8192s/r8192S_firmware.c:722: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’


Some not-very-consequential warning. I am told it could be because of the carelessly or poorly written code for the driver. Which is also claimed as the reason (by debian overlords in the #debian channel on the irc.debian.net server) why it was not included in the native Debian kernel and is only scheduled for inclusion in the 3.0 version after some squabbling or quality checks or both... or none. Again, who knows what's going on the dark recesses of kernel-developers minds.

4. Assuming, there are no other warnings and errors (there were none in mine), issue the make install command:

make install

Another scroll of messages where linux will enter and exit various directory locations will follow. Hopefully these entries and exits will pass without incident. If there is some permission error, you probably don't have Su power. See step 1. Sudo doesn't cut it for the whiny RTL8191SEvB driver.

5. Finally. SHUT DOWN completely and reboot. Hopefully you will be able to see your wireless networks now. If not, you have probably wasted your time reading these instructions and it's time to go and read the other zillion forum posts about this difficult wireless driver on the rest of the net. Even if none of them end up helping you, they would have, at the very least, taken a shot at helping build some character - which you will need for putting up with no wireless in a laptop.

06/28/2011 23:19 #54595

Boat Browser!
Category: i-tech
I just installed a browser on my Android phone that makes me shout with glee about how fast my phone has suddenly become...

Rejoice!
image
Rejoice!
image
Rejoice!
image
The Boat Browser is here!!
image

I am never going back to any other browser on my phone ever! You need to check the boat browser out if you haven't already!!! ===> I have MISSED all this amazing snappiness! I don't know how the boat browser does it, but it does. It makes everything go REALLY fast and its interface is SO intuitive and non-clumsy, it makes every other android browser out there look paleolithic and clumsy and gargantuan (in a bad way).

06/27/2011 10:48 #54588

System76 == Ubuntu. Dissatisfied Review.
Category: linux
After much heartache, I have finally given up trying to make other worthy linux distros work on my crappy System76 Pangolin "Performance" PanP7 laptop. In short, there is no other OS apart from Ubuntu that can work with the hideous combination of obscure hardware that System76 has piled on the Pangolin Performance laptop.

All Debian: Wireless doesn't work. Because the Realtek RTL8191SEvB driver is not included in the kernel.

All Slax: Same problem as above

All ArchLinux: Ethernet doesn't work. Because the JMicron ethernet driver is not included in the kernel.

All Fedora: Either the wireless doesn't work or ATI throws a fit somewhere down the line.

Many modified Ubuntus: Either ethernet or wireless doesn't work. Naturally, the most useless and obscure of hardware drivers (JMicron and Realtek RTL8191SEvB) are the first to go in any modification because the sane systems don't have them. Except, of course the Pangolin Performance - the crappy prison/refugee-home laptop from System76 where all obscure laptop hardware come to roost.

Ubuntu from minimal CD (mini.iso): Doesn't work because the ethernet card JMicron driver is not on the mini.iso and it refuses to budge after a while. Pity. This was one way to cut the ubuntu bloat.

Ubuntu itself: Patchy performance on EVERYTHING. a) Because ubuntu is just a nickname for crappy and b) Because ubuntu (crappy) + Pangolin Performance PanP7 (uber-obscure) makes for a crappy obscure experience that does not have a common ground in solutions found on the net for any problem. The list of frustrations go on and on with ubuntu. Java doesn't function properly. Proprietary technology doesn't compile well. R-packages don't work.

Which leaves me with...

Super OS: Also an ubuntu modification but with every imaginable proprietary software bundled in. Around 400+MB more than standard Ubuntu. And this is where I have thrown in my lot for now. Atleast, I am still seeing my ethernet card, wireless networks and camera. Java is installed and so are a zillion small proprietary bits that make everything tick for a normal person. And yes, I am on the Unity shell and it's a resource hog, but System76's obscure hardware formula leaves me with no other choice. The baseline RAM consumption is around 2GB without anything else running. Its a disaster in terms of minimalism. But ATLEAST, I don't need to waste time looking at the endless forum posts of blind leading the blind for the minutest problem in the world.

As I said, stay away from System76. Unless they realize that linux is not just Ubuntu, their laptops will be obscure and not play well with anything other than Ubuntu. This is a problem because Ubuntu is definitely not the definitive linux and has several other worthy competitors who have thought about things much more carefully and deliver wonderful solutions.

All of which I can't now enjoy. Screw you, System76. You have put me in bloaty Ubuntu prison.


EDIT: I managed to put Fedora 15 on the Pangolin System76 system without ATI software and terrible graphics. However, the wireless performance is WORSE than TERRIBLE. Unless you are right next to a really strong wireless signal, forget connecting reliably to any wireless network.

The bottomline is AVOID System76. Their hardware is obscure and does not play well with anything except Ubuntu. Even on Ubuntu the wretched Pangolin System76 laptop has problems. For a company that drums on and on about "lnux friendliness", Pangolin PanP7 is a total disaster for many linux distros and everyday connectivity.

tinypliny - 06/28/11 23:02
IT WORKED!!! Su - worked! I was finally able to compile that wretched driver without an error! That was a really awesome piece of insight, (e:uncutsaniflush)! Thanks SO MUCH... Now, I am going to see if this will work on crunchbang - which is my favourite!
uncutsaniflush - 06/28/11 22:47
I've been thinking a lot about you wrote here. And, I've come to the conclusion that your problem is inherent in buying a computer configured to work with a specific operating system be it windows, osX, or linux. It is supposed to work as sold with what it is sold. Otherwise, all bets are off.

Btw, when you were compiling the driver did you use "sudo" or "sudo su" in Ubuntu? Most "make" look for "su" but Ubuntu doesn't like "su". I have a vague memory that this solved a problem I had compiling something.

Again, good luck.

06/26/2011 20:59 #54587

RTL8191SEvB - worst linux support ever
Category: linux
If you want to run linux and are getting a laptop, and see this wireless card listed in the specs:

Realtek RTL8191SEvB

Run. Run as far as you can from any laptop that has this wireless card.

The Realtek RTL8191SEvB wireless card has SO MANY troubles with linux that it's a shame that it was ever included as a wireless option for any laptop. Only Ubuntu works with the RTL8191SEvB and that too, in a patchy sporadic way. NONE of the other linux distros include the driver to the RTL8191SEvB. What is worse is it throws a ZILLION errors when you try to compile it from the driver posted on the Realtek website.

RTL8191SEvB is quite plainly the WORST-SUPPORTED wireless card EVER on linux. There is NO support and all advice on the internet about how to get it working is useless, time-wasting and has a ZERO success rate.

I hate you System76, for putting the RTL8191SEvB wireless card on Pangolin Performance. I hate you because only Ubuntu has patchy support for this card and I am pretty much bound to the sucky OS if I ever want wireless working even half-decently. For all your linux-centric philosophy, putting the RTL8191SEvB wireless card on your Pangolin Performance PanP5 COMPLETELY traps your users into Ubuntu - which is just as much of a resource-hog as the worst windows. You are a ludicrous snobbish company. Your customer support maybe fast and responsive but NOT helpful AT ALL when it comes to RTL8191SEvB installation on linux distros other than Ubuntu.

Stay away from realtek RTL8191SEvB. For good measure, also stay away from System76.

tinypliny - 06/27/11 11:04
If only they had not coupled an obscure ethernet card WITH a particularly unsupported wireless card from the most common wireless company (Realtek)...
uncutsaniflush - 06/26/11 21:42
Goodness gracious me!! I do declare the things you say! I reckon I was lucky that I got my box from Zareason. So far, my wireless card "just worked" with just about every distro that I tried on the box.

I feel your pain. Over the years, i"ve been tied into a distro because of hardware support. Good luck.