Debian Sarge on IBM X40 howto - Part 4: Wireless

I was really nerveus about getting wireless to work…

Update, 24. July 2004, an hour later: Well it was bound to be an impossible mission from the start. The computer dosn’t even have an Intel fucker of not supported death wireless card I thought it had :) What a waste of time.

I have an Atheros (AR5212 802.11abg) card instead.</i>

After googeling I found that my wireless card is an Intel 2200BG which at the time of the writing of the guides I found wasn’t supported very well, but the linked to the ipw2200 site on SourceForge developing the Linux driver. But what the hell - I’ll give it a try… it might work.

There is a few requirements for the driver to work:

  • The kernel have to be a 2.6 kernel and have “CONFIG_NET_RADIO” enabled (CONFIG_NET_RADIO=y). This is all okay if you are using a precompiled kernel from the Debian Sarge archive. I used kernel-image-2.6.7-1-686 and the corresponding kernel headers.
  • Wireless tools is needed an is apt-getable with the following:

    apt-get install wireless-tools
    
  • Source code for the driver downloadable from SourceForge
  • Firmware for the wireless card downloadable from the projects website

To compile the source code you also need the packages gcc and make. For a more detailed howto consult the project website.

Now compile the source code:

debian:~# tar xzvf ipw2200-0.2.tgz
debian:~# cd ipw2200-0.2
debian:~# make

Unpack the firmware files to /usr/lib/hotplug/firmware:

moprobe firmware_class

If this isn’t loaded you will get an error like this “-1 Unknown symbol in module

and finally run :

insmod ipw2200.ko

Well I didn’t get any errors… now I have to figure out how this works :) Step 2… test that it is actually working.

dmesg dosn’t detect any new ahrdware when I load the modules, so I don’t think that it is working?!

Debian Sarge on IBM X40 howto - Part 3: Enable framebuffer

The IBM X40 seems to like using framebuffer so might find it usefull to put the following in you grub /boot/grub/menu.lst

# kopt=root=/dev/hda3 ro vga=771

Notice the vga=771

Whenever you install a new kernel and grub-update is run the “vga=771” will automatically be appended to every entry in the menu.lst Now you don’t have to enter it manualy everytime you install a new kernel.

Debian Sarge on IBM X40 howto - Part 2: Battery monitor

After I had a console which worked correctly I installed the usual stuf like: ssh less modconf emacs21

Then I installed GNOME with the following

apt-get install x-windows-system gnome-core gdm

… and waited a little.

Autoconfiguring my harware didn’t work but after replacing the /etc/X11/XF86Config-4 with the content from a guide found on linux-laptop.net it worked like a charm.

Now I wanted a graphical battery indicator and I added “Utility” -> “Battery Charge Monitor” to my GNOME panel. But an error occured after adding it to my panel: “Can’t access ACPI events in /var/run/acpid.socket!”

apt-get install acpid

Solved the problem.

Debian Sarge on IBM X40 howto - Part 1: Keymap

After installing a clean Sarge system from an USB key with some of the nightly builds of the new Debian installer I ran into the first troubles. My keyboard didn’t function properly… even though I could write danish characters like “æøå”, I wasn’t able to shift through the virtual consoles with (Ctrl+Alt+F1 - F6).

dpkg-reconfigure console-data

revealed that the “specific keymap” was set to “Apple USB”. changing this to “Standard” helped.

IBM X40 arrived

Today (or yesterday because it is early morning) my IBM X40 laptop arrived. There is no CD-ROM drive within it so I used an USB stick to install Debian Sarge which installed with no problems. I used a guide on found on Debian-Installer website. I have also checked on http://linux-laptop.net/ for info about my new laptop.

I deletede Windows XP and the IBM rescue partition… though no CD-ROM’s with this software came along with the laptop. I’ll have to find out how to get it back… not because I’m going to use it but now that I payed for it I’ll like to have it :)

No I’m off to bed… got a though day tomorrow. I’m on a crappy organized assignment (partly my own fault) and I think I’m starting to grow grey hair because I’m missed my beauty sleep for some days now.