Debian Squeeze Install on ASUS Eee 1015PEM

1's picture

Hardware: 

Software: 

I used a USB stick method. In order to do this, it is first necessary to change the boot order in BIOS:
0. Plug in USB stick
1. F2 to get in BIOS
2. I left the "Booting order" settings in tact (HD first), but changed (after plugging in the
bootable USB stick) the Hard drives booting scheme so that my USB stick comes first
Now the BIOS is ready to boot the USB disk with Debian Squeeze on it.

Instead of just the ordinary netinst image, I placed the entire first squeeze CD on the usb stick using the information in: http://www.debian.org/releases/squeeze/i386/ch04s03.html.en
In short:
0. With gparted (for example) rewrote the partition table of my USB disk so that /dev/sd?1 is
about 700 MB big. [Note: ? is whichever letter your system assigns to the USB stick]
1. Then I ran 'syslinux /dev/sd?1' which prepares the partition to boot linux systems
2. Downloaded vmlinuz and initrd.gz from http://http.us.debian.org/debian/dists/squeeze/main/installer-i386/current/images/hd-media/
3. Copied the said files on the USB stick
4. Copied the entire first CD iso image on the USB stick. And I mean _copied_ the iso image,
not extracted the contents to the stick. The installer will later mount the iso
5. Everything should be ready now to start the installer

After booting the netbook, the installer pops in, and the usual Debian installatin starts. Pay attention to the fact the USB stick is reckognised as one of your hard drives during the installation process (may happen even as the sda device), so one needs to make sure that he is not partitioning the USB drive but the real hard drive.

The system present after the installation is fairly minimal, unless the ethernet connection is present during the installation process which is, of course the most comfortable way of installing stuff.

In my case, I have an UMTS modem connecion.The squeeze kernel didn't have any trouble to identify it and
downloading the installation packages was only a matter of installing ppp and seting up it up for my modem.

The manual ppp setup:
0. Figured out which device is the UMTS modem by doing : ls /dev/ttyUSB* . Mine was ttyUSB1
1. Edited the /etc/chatscripts/pap file so that it contains the following lines:
...
"" ATZ
"" AT+CGDCONT=1,"IP","surfo2"
OK ATDT\T
...

Of course the APN surfo2 is just for O2 customers. In case of other providers it should be replaced by a corresponding
entry
2. Created the file named 'prov' in /etc/ppp/peers with the following content:
user "nouser"
connect "/usr/sbin/chat -v -f /etc/chatscripts/pap -T *99#"
/dev/ttyUSB0
981640
noipdefault
usepeerdns
defaultroute
persist
noauth
3. Appended 'prov nouser' line to the /etc/ppp/pap-secrets file

The netbook was now ready to access the internet with 'pon prov' command

This was the moment to upgrade the minimal system which was there after install with more stuff.
0. Started aptitude
1. Went to the tasks menu and from the End-user option selected:
Laptop
Graphical desktop Environment
2. Next I checked out on the net what is a choice of GUIs suitable for netbooks. Apparently LXDE is still
very lightweight and can be used, but I wanted to try something different and opted for kde-plasma-netbook
package.
I was surprised to actually this KDE gui, it really proves to be a good choice for a netbook.

3. Although I didn't use the netbook for very long without the AC plug, I didn't have the impression that
my configuration eats too much energy. I'd assume at least 4 hours of intensive work + internet connection.
Maybe even much more.

WIFI:
Squeeze has an appropriate module, but in order to use the
card, it is necessary to install the proper firmware:
Following the resources from http://wiki.debian.org/brcm80211 :
aptitude install firmware-brcm80211
I was messing around with removing/reloading the module/
wireless-tools and the winning combination was:
install firmware/remove wireless-tools/reboot/install wireless-tools
After this, wifi worked

One problem I had was that either the intel graphics driver was buggy, or it was too old, so initially I started with vesa driver. At the time I write this Squeeze is still 'testing' (but should become stable soon), and one aptitude upgrade, aptitude update downloaded a new set of xserver-xorg-intel drivers and solved the problem.

I'll probably keep adding here my experiences...

EDIT1: Using this netbook with debian squeeze, i have to tell it's a real little dragon. My colleaues are looking in disbelief at me staring in the tiny 10inch screen. But win 7 starter it came with, it's just a sad, sad experience (compared to debian). Win eats up in start around 50% of that 1 gig you get, and you can imagine how much real work you can do in such a debilitated form.

EDIT2:

Sound on Asus Eee 1015:

Microphone didn't work outright.
The solution was to recompile the Alsa modules:

su -c 'm-a update && m-a prepare'
su -c 'm-a a-i -t alsa-source'