Skip to main content

Running CrunchBang Linux 10 "Statler" on HP mini 1000

I was a big Ubuntu fan until they decided to use Unity in netbook remix and moved windows border icons to the left. I then switched to LinuxMint, it was alright but I'm a Chrome user and I hate the fact that they won't let you remove firefox (the package manager forces you to install "abrowser", which is still firefox but with brand removed).

Now CrunchBang Linux is my new favorite Linux distro. I hesitated before puting it on my HP mini 1000 netbook because the latest version "Statler" is based on debian, which is famous for being "Pure Open Source" and hence lack of proprietary drivers. However, I was totally wrong, nearly all hardware worked out of the box for me except for the usual wireless driver, network port and bluetooth.

Wireless

To be fair the b43 driver did work but it was fairly unstable and disconnects randomly. The solution turns out is pretty simple, all you have to do is to enter:

options b43 pio=1 qos=0

in the following file:

/etc/modprobe.d/b43.conf

and reboot.

Bluetooth

My cheap bluetooth dongle was detected but there were no software installed to interact with it. Therefore, I installed blueman by:

sudo apt-get install blueman

and add blueman-applet to the end of autostart.sh:

## Launch blueman applet
(sleep 4s && blueman-applet) &

Ethernet

Finally, the ethernet port has got the same problem as Ubuntu where the cable needed to be plugged before the system was booted up and it will freeze the system if you unplug it. To get network working properly you need to open up /etc/default/grub, find the line

GRUB_CMDLINE_LINUX_DEFAULT="quiet"

add option acpi_os_name=Linux

GRUB_CMDLINE_LINUX_DEFAULT="quiet acpi_os_name=Linux"

save the file and then run

sudo update-grub

reboot your laptop and the ethernet port should work properly now.

Comments

  1. Oscar, thanks for putting this together. It sorted out my only remaining issues. Well done.

    ReplyDelete
  2. I use a mini 1000 for work all day, plugging and unplugging ethernet over and over. I am slowly working back towards my pre-hard drive failure state of xubuntu with a sub-minute boot time into chrome, and this is the biggest hitch so far.

    Does the ethernet fix you mentioned work for ubuntu as well, and does it correlate to the occasion crash when unplugging ethernet?

    Thanks in advance...

    ReplyDelete
  3. hey, thanks for the bluetooth tip. I was trying that with gnome-bluetooth,and have some missing dependencies. for blueman, didn,t know the sintax. now it,s all fine.

    ReplyDelete
  4. I just installed crunchbang on my hp mini and was having the wifi dropping and even dns requests stopped working. After I did that fix I haven't had any issues so I just wanted to say thanks.

    ReplyDelete

Post a Comment

Popular posts from this blog

Load Testing ASP.NET Sites with JMeter

Following my previous post about using JMeter to test MOSS, I tried to figure out what are the bare minimum requirements of using JMeter against a plain ASP.NET website. I wrote a very simple ASP.NET web application with just a button, a text fields and a static label. This application displays the content of a text file in the static label when it loads and write content of the text field back to the file when the button is clicked.I found all I need to do in order to script this using JMeter is to extract __VIEWSTATE and __EVENTVALIDATION fields then send them back in the update request. My JMeter test plain looks like this:

Load Testing SharePoint (MOSS) Sites with JMeter

I have used JMeter for load testing few non-ASP.NET web sites before, however I could not get it to work with ASP.NET web sites. This is mainly due to ASP.NET ViewState and event validations, which stops a recorded JMeter script from being played back.Recently I worked on a MOSS project and we were looking for tools to perform load testing on the server. Many people said the load testing tool in Microsoft Team System for Testers works well with MOSS. However, it is quite expensive so I decided to give JMeter another go. After several hours of hacking, I actually got it to work and here’s how I did it.My test page is the pretty standard MOSS edit document property screen with few extra text fields added and the goal here is to use a JMeter script to change the document properties. Once I have a working script, I can configure JMeter to fire hundreds of instances of this script simultaneously to simulate the user workload.As shown in the screenshot below, the test plan contains two HTTP…

COBOL Tutorial 00300 – Edited Fields

As I have mentioned in the last tutorial, you use edited fields in COBOL to format data fields into human-readable display strings. Let’s start with a numeric field:01 NUMERIC-FIELD PIC 999999V99.and some COBOL code that set and display the field value:MOVE 1234.5 TO NUMERIC-FIELD. DISPLAY NUMERIC-FIELD: ' NUMERIC-FIELD.As we’ve demonstrated in the previous tutorial, unused digits are padded with ugly zeros:NUMERIC-FIELD: 001234.50Let me put my C# programmer hat on again (apologies to Java, ruby, python, C/C++, assembly and many other programmers who don’t like C#), when we have to format a variable for display, we often use the string.Format method with a formatting string containing special formatting characters, which is “0,0.00” in the following example:// returns 1,234.50 string.Format("{0:0,0.00}", 1234.5)Now let’s come back to COBOL, an edited field is basically a normal COBOL data field with a formatting string in the picture clause instead of the “A”, “X” or “9”…