Friday, 22 January 2010

Alice - slow connects

After migration to Alice-DSL I noticed slow connects in Webbrowser. It turns out that it is caused by the DNS services provided by Alice on login.

Connecting Alice provides two  DNS services. These DNS service may change the next time logging in. These  Alice-DNS services are causing way to long timeout to return with answer, in range of seconds. Way tooooo slow. Probably the ISP (Alice) is trying to slow down traffic this way.

The DSL-router itsself is a problem. It is not possible to assign static IP addresses to known hosts in local network. This is a very nice feature, which allows you to assign well known IP numbers to notebooks in home network and friends network. Otherwise you will need to change static/manual IP configuration every time.

I recommend to by a third-party DSL router (eg. netgear) and make use of public-DNS services in the network, which will speed up webpage download a lot. List here http://www.ccc.de/censorship/dns-howto/

Friday, 1 January 2010

Poulsbo & Ubuntu 9.10 (Karmic)

External display attached to Dell Inspiron Mini 10 with Ubuntu 9.10 (Karmic Koala) 

I use the Dell Inspiron Mini 10 as desktop host, with external 1440x900 display attached. Gladly this webpage explains how to get Ubuntu 9.10 run on this machine. I only had to add the monitor mode settings and modify the virtual screen size to match the size of external display.
  1. Install Ubuntu 9.10 (do not install latest updates)
  2. Download and execute the  script to install the GMA500 chip drivers as explainedsudo sh ./poulsbo_ppa.sh
  3. Change the X11 configuration file with editor:
    sudo vi /etc/X11/xorg.conf


    Section "Monitor"
      
    Identifier "Configured Monitor"
       Modeline "1440x900_60.00" 106.47 1440 1520 1672 1904 900 901 904 932 -HSync +Vsync

       Modeline "1600x900_60.00"  119.00  1600 1696 1864 2128  900 901 904 932  -HSync +Vsync
      
    Modeline "1920x1200_60.00"  193.16  1920 2048 2256 2592  1200 1201 1204 1242  -HSync +Vsync
    EndSection

    Section "Screen"
       Identifier "Default Screen"

       Monitor "Configured Monitor"
       Device "Configured Video Device"
       SubSection "Display"
           Virtual 2464 900
       EndSubSection
    EndSection

    Section "Device"
       Identifier      "GMA500"

       Option          "AccelMethod" "EXA"
       Option          "MigrationHeuristic" "greedy"
       Option          "IgnoreACPI" "yes"
       Driver          "psb"
    EndSection

    Section "DRI"
       Mode    0666

    EndSection
  4. Restart the machine, external displays of size 1440x900 (or larger) should work now. 
I also added a number of different modeline settings that might be useful if running larger external displays, such as 1600x900, or 1920x1200.
 
I used the gtf command line tool to generate the modelines:

   frehberg@naranja:~$ gtf 1440 900 60

yielding the generated modeline:

  # 1440x900 @ 60.00 Hz (GTF) hsync: 55.92 kHz; pclk: 106.47 MHz
  Modeline "1440x900_60.00"  106.47  1440 1520 1672 1904  900 901 904 932  -HSync +Vsync

Disable Lid-close event

It seems with release Ubuntu 9.10  Power-Management Preference does not provide the action "nothing" anymore, in case the laptop lid is closed. This is a pitty if you want to use the laptop with external display, and closing the lid of your laptop. This webpage gave me a hint, how to change the setting manually. I used gconf-editor to modify the settings to lid action "nothing".
  1. ALT-F2, “gconf-editor”
  2. /apps/gnome-power-manager/buttons
  3. set “lid_ac” and “lid_battery” to value "nothing"

Friday, 16 October 2009

Setup subversion server

Migrated the subversion server from old Sony notebook to new Dell Mini 10 netbook.

Sunday, 11 October 2009

Favorit youtube videos

My children love those videos, so do I ;)

[Rally] Too fast too race: http://www.youtube.com/watch?v=n_ESpFf3rRo

[Windsurfing] Race against the machine: http://www.youtube.com/watch?v=ZDHT677fYwc

Saturday, 10 October 2009

Configure external disk

I bought the Patriot-Convoy-XL Raid case (eSATA&USB), equipped with two 250GB WesternDigital HDDs. The raid device shall be mounted as external USB-2.0 device. To avoid collisions with other USB storage devices, the device shall be detected via unique UUID.

The following command lists the UUID of all connected disks
> ls -lF /dev/disk/by-uuid
frehberg@freza:~$ ls -lF /dev/disk/by-uuid
total 0
... 3220f76f-0967-4fe8-ad70-b97bca895bd6 -> ../../sda5
... 4c7a980e-b3a6-4ae3-8225-53f0a448b474 -> ../../sda1
... 9cd4ffd9-40b2-4968-9d9d-dbb82255370d -> ../../sdc

I want the device being mounted at  /media/raid/, I have got to create first
> sudo mkdir /media/raid

Add the following line with text editor to /etc/fstab, so the device with UUID 9cd4ffd9-40b2-4968-9d9d-dbb82255370d will be mounted beneath /media/raid

# line added to /etc/fstab
UUID=9cd4ffd9-40b2-4968-9d9d-dbb82255370d /media/raid     ext4    relatime       0        1

Finally unmount the device /dev/sdc and mount it under the new branch
> umount /dev/sdc
> mount -a

Sunday, 4 October 2009

Linux & G500/poulsbo

Dell Mini 10 is a Linux-nightmare, but this page is quite helpful:
http://wiki.ubuntuusers.de/Grafikkarten/Intel

And Modeline needs to be added:
http://julipedia.blogspot.com/2007/03/x11-mode-line-generator.html

This is also useful:
http://www.fit-pc2.com/forum/viewtopic.php?f=9&t=768

Finally I modified /etc/X11/corg.conf the following way, to run stable and support my external screen with 1400x900 resolution:

Section "Monitor"
    Identifier "Configured Monitor"
    Modeline "1440x900_60.00" 106.47 1440 1520 1672 1904 900 901 904 932 -HSync +Vsync
EndSection

Section "Screen"
    Identifier "Default Screen"
    Monitor "Configured Monitor"
    Device "Configured Video Device"
    SubSection "Display"
        Virtual 2464 900
    EndSubSection
EndSection

Section "Device"
    Identifier "Configured Video Device"
    Option "AccelMethod" "EXA"
    Option "DRI" "off"
    Option "MigrationHeuristic" "greedy"
EndSection

Monday, 6 April 2009


Yo y Lena hemos corrido el Medio Maratoniano del Berlin, Abril 5., 2009.