Archive for May, 2009
30
May

You probably heard it before, you have a big expensive headphone but still you heard a beep coming out of your computer box. There is a “legacy” speaker in there, it used to play tunes in the old ages, it’s only use now is probably only to grab your attention on something or for boot-time diagnostic/troubleshooting.

Here is how you can disable it on ubuntu 9.04:

Open a terminal window / console
sudo vim /etc/modprobe.d/blacklist.conf
add: blacklist pcspkr
restart the machine

, , , ,

30
May

disable-ipv6-ubuntu9.04Good evening,

I just installed ubuntu 9.04 on a dell optiplex gx260 and was very disapointed at the network speed I had when I tried any of the “apt-get” commands.

It seems that ubuntu has IPV6 enabled by default, this seem to be what is causing most of the lan issues. There are no easy way to disable ipv6 on ubuntu 9.04, I tried several methods advertised on various blogs, none are currently working.

A kernel patch will be made available soon for download and should allow us to disable ipv6 by typing the following: “sysctl -w net.ipv6.conf.all.disable_ipv6=1″

The link to the bug is here: https://bugs.launchpad.net/ubuntu/+source/linux+bug/351656

Also if you are using an earlier version of ubuntu, you can disable IPv6 by doing the following:

  • sudo vim /etc/modprobe.d/aliases
  • locate “alias net-pf-10 ipv6″
  • replace the word “ipv6″ on that line by “off”
  • save the file
  • reboot

You can verify if ipv6 is actually disabled using the following command: ip a | grep inet6

*** I found a solution on the web, someone provided clear instructions on how to re-compile the kernel with ipv6 as an optional (and blacklistable) module instead of being forced. The original tutorial can be found here, you can also download a pdf version that I made: disable-ipv6-ubuntu9.04. I followed the provided instructions and it worked, note that the “blacklist” file is called “blacklist.conf”. ***

Cheers,

Marc

, , , , ,

27
May

If your ssh connection often drops because of inactivity or timeout, here is a fix that can help stabilise your connection.

On the client side using:

  • PuTTY
    • Start at the PuTTY Configuration dialog
    • Click on “Connection” on the left
    • Then put a check mark on “Enable TCP keepalives”
    • You could now establish a connection or save these settings for next time
  • SSH
    • Open a terminal window / session on your workstation
    • Edit /etc/ssh/ssh_config with your favorite text editor as root: sudo vim /etc/ssh/ssh_config
    • Add the following line: “ServerAliveInterval 60″
    • Restart your ssh session

On the server side:

  • Open a terminal window / session on your server
  • Edit /etc/ssh/sshd_config with your favorite text editor as root: sudo vim /etc/ssh/sshd_config
  • Add the following line: “ClientAliveInterval 60″
  • Restart sshd: sudo /etc/init.d/ssh restart

, , , ,

17
May

Found a very nice blog entry with valuable information regarding Bugzilla installation on Ubuntu.

I had some trouble installing Bugzilla on my Ubuntu web server, with my mysql database on another server. I wanted to write these things down to help another person diagnose there install. I finally got my configuration to work. Heres what I found to figure it out.

The original link can be found here: http://codintips.blogspot.com/2008/03/ubuntu-bugzilla-install.html

, , , ,

  • Search:
  • Recent Posts

  • Meta

  • Tags