Updating Ubuntu on a Dell Inspiron 9400 with ATI graphics

October 3, 2007

I installed Ubuntu 6 on my Dell the other day, its out of date but I had the cd to hand.

Lastnight I upgraded to Ubuntu 7.04 and X (the graphics server) stopped working.

I logged in and ran the following to get it going again :


sudo aptitude install xorg-driver-fglrx

sudo aticonfig –initial

sudo modprobe fglrx

sudo /etc/init.d/gdm restart

This

  1. installs the required graphics driver
  2. updates the graphics config
  3. loads the required driver
  4. restarts the graphics server with the new settings

It’s a pity 7.04 couldn’t degrade nicely and use the same driver 6 was able to work with. The resolution was poor but at least it was usable in graphical mode until you managed to figure out a solution.

Not everybody has an alternative PC to search for help online, or is comfortable with web browsing from the command console.


Slow browsing

October 3, 2007

I just installed Ubuntu on my laptop, and again I am hit with a slow browsing experience on some networks.

For instance, if you are in Éire and get “broadband” from eircom, you may be having a slow browsing experience on your Linux machine.

From what I’ve been reading each time I hit such an issue, the problem is usually that the cheap router(s) supplied and/or on the ISP’s network are not responding to AAAA requests, so only after a timeout will a backward-compatible A request be sent which will then be honoured.

All this, per request to the internet, has significant imapct on day to day browsing.

You can work around this kind of ISP issue by stopping your machine from sending the AAAA requests (which the cheap, non-standards-compliant router won’t respond to… ?).

To do this on ubuntu try :

  1. Disable these AAAA/IPV6 requests only for your browser. For firefox, go to
  2. about:config

    in the address bar, locate the line starting with

    network.dns.disableIPv6

    (the filter capability is your friend here) and change the value to

    true

  3. Disable these AAAA/IPV6 requests at a system-wide level,
  4. edit

    /etc/modprobe.d/aliases

    perhaps via

    sudo vim /etc/modprobe.d/aliases

    or

    sudo gedit /etc/modprobe.d/aliases

    and change the line

    alias net-pf-10 ipv6

    to

    alias net-pf-10 off

    Save the file and you should be motoring nicely again.


Disabling the PC speaker in Ubuntu

October 3, 2007

Temporarily :

sudo modprobe -r pcspkr

Permanently (for the life of the OS)

append this

# disable pc speaker beeps
blacklist pcspkr

to

/etc/modprobe.d/blacklist

perhaps via

sudo vim /etc/modprobe.d/blacklist

or

gksudo gedit /etc/modprobe.d/blacklist