Informations, tips and technics.

tcpdump, dhcp, mac address

As an administrator of a linux dhcp server I have to support it of course. Last day, someone come to my desk and ask me if there is a trouble on the dhcp because he can’t get an ip address from the dhcp server. For your information, I have to add manually the host in the dhcp server and the dns server (security policy). Anyway, with tcpdump, you can troubleshoot the ip frame going to and from the dhcp server. Here are some tcpdump syntax that can be usefull:

  • tcpdump -n ether host xx:xx:xx:xx:xx:xx
    To catch a mac address
  • tcpdump -e -i eth0 | grep ‘xx:xx:xx:xx:xx:xx’
    Same thing
  • tcpdump -n port 67
    Catch dhcp transactions

Note that I have not tested the mac filters yet but I want to post them here so I cna test them later.


Filed under: Linux, , ,

compiz-fusion 6, fglrx 8.42.3, OpenSuse 10.3


See the post https://slashhome.wordpress.com/2007/10/24/fglrx-ati-drivers-842-on-opensuse-103/ for the information on how to use compiz-fusion, fglrx 8.42.3 ati drivers and Opensuse 10.3.

Ok, now, I want to test the latest compiz fusion with the latest ati drivers and the latest OpenSuse version. The installation is quite simple, i have posted the url in an earlier post but you can see on the http://news.opensuse.org web site.

The installation use 1-click install system and it really works. The main problem for me now is that if I enable emeral I have no more windows decorator (you know, no border on the window, so no ‘X’ to close the window) and no cube at all… In fact I have only some shadows on the windows.

I have found those article and I will test them as soon as I can:

Filed under: Linux, , ,

fglrx ati drivers 8.42 on OpenSuse 10.3 and Compiz-Fusion : Working!


I have finally manage to make the fglrx 8.42.3 ATI drivres works with compiz-fusion! 

Here is what I done :

  • Download the driver from ATI
  • Put it in a folder and set it as executable
    chmod +x ati-driver-installer-8.42.3-x86.x86_64.run)
  • Do your updates specially if there are some kernel updates (as you may know, you have to rebuild your fglrx module each time the kernel change or update)
  • If you have already installed the fglrx driver go in Yast and remove it
  • In Yast, install GCC and kernel sources
  • Reboot
  • If you are in KDE or GNome, go to init 3 and work as root
  • Save your xorg.conf file. I will use a move here because I want to create a fresh version of xorg.conf
    mv /etc/X11/xorg.conf /etc/X11/xorg.conf.old
  • Create a brand new xorg.conf file using
    sax2 -a
  • Once the file is created, run sax2 and save the current configuration.
  •  Now, install the driver without build the rpm, simply execute
  • Follow the install procedure
  •  Once done, update the xorg.conf file but DO NOT use sax2. For some reasons, sax2 seems to think that my monitor is an ATI and my video car is still a VESA FRAMEBUFFER. To update xorg, use
    aticonfig –initial –input=/etc/X11/xorg.conf –force
    Note :
    use – – (double dash) in front of ‘initial’, ‘input’ and ‘force’
  • Once done, reboot
  • Check during the boot if fglrx is listed
  • Once logged, open a terminal window and use fglrxinfo to test if your ATI card is correctly listed
  • Test also glxgears or fglrx_gears to see if all is working correctly. You can also use glxinfo to see if all is correct.
  • If all is correct, then open xorg.conf file and add : Section “ServerFlags”
                  Option “AllowMouseOpenFail” “on”
                  Option “IgnoreABI” “on”
                  Option “AIGLX” “true”

    Section “Extensions
                  Option “DAMAGE” “true”
                  Option “Composite” “true”
    Note : I am not sure be I think you can use Option “Composite” “true” or ”Option “Composite” “enable”
  • Also check if dri is also listed in the Modules section (Load “dri”)
  • Save and reboot
  • Install compuiz using this 1 click install. If you have already installed it, then just continue que following process
  • Then in a terminal,
    mv /usr/lib/libIndirectGL.so.1 /usr/lib/libIndirectGL.so.1.old
  • Open /usr/lib/compiz-manager and add fglrx driver in the whitelist
    WHITELIST=”fglrx nvidia intel ati radeon i810″
  • Reboot or restart kde (rcxdm restart ) and it should work!


I have test to much the perfomances but it seems to be find on my configuration. I will post more infos as soon as I can.
Hope that this article could help

Ref: I have use most of the procedure here

My configuration is :

  • Asus A7N8X-E Deluxe
  • Athlon 3000 (core Barton)
  • 2 Go Ram
  • ATI X1950 Pro AGP 512 Mo
  • Promise SATA Controller


  • I found that trying to browse the Internet using Firefox or Konqueror is really slow  (using scroll bars) .
  • I have tested the ‘aticonfig –ovt’ Xv trick but I haven’t see any improvements. I have to play a little with it to see if it can speed up the system.
  • Any video played flickers everytime, really anoying …


  • For the video flicker issue, it seems that the only trick is to disable compiz.
  • For the slow scroll problem in Firefox or Konqueror, it seems that the effects should be desactivated.

So it seems that the fglrx 8.42.3 drivers works fine .. if you are not using compiz ;-). Well, I will google and test a little more and see if it can do better than than.

If you have any tips to could fix the flicker problem or the slow navigation in Firefox or Konqueror, feel free to comment here.

Filed under: Linux, , , , , ,

Building a community around an open source project

I am pretty sure that you may have some project that you want to share with the world and need help from the developer or users community. I have several project in mind too and I found this article which is very interesting and it may be useful for you too.


Filed under: Uncategorized, ,

Kill me this Zombie Process !!!

Sooner or later, you will have to kill some zombie process. Check Wikipedia (http://en.wikipedia.org/wiki/Zombie_process) to know that are they and why they are your enemies…

 Anyway, some of you may have installed Nagios to monitor those zombie process and a small utility to kill them could be :

 for each in `ps -ef | grep ” | grep -v PID | awk ‘{ print $3 }’`; do for every in `ps -ef | grep $each | grep -v cron | awk ‘{ print $2 }’`; do kill -9 $every; done; done

 Note that you can also create a cron job to do that automatically.

Filed under: Bash, Linux,

Boot Vista from Grub

Many of us use a multiboot computer running different OS, like Vista, XP and Linux.

Sometimes, it is quite hard to  have one bootloader that manage all the OS using the same interface.

Here is a simple trick that I have found here :


This procedure is to use when you want to boot Vista from Grub

  • Install Linux
  • Install Vista
    Grub will be lost but no other choices here…
  • Grab the utility from the http://www.vistabootpro.org/ web site and uninstall the Vista boot loader
  • Restore your Grub bootloader
  • Then modify your Grub entry to use the MAP option. MAP is used to make Vista beleive that it is installed on the 0,0 disk
    Here is the section of Grub where Vista is on the X partition of the 0 disk drive

    title Windows Vista
    map (hd0,X) (hd0,0)
    map (hd0,0) (hd0,X)
    root (hd0,0)
    chainloader +1


Well, after all, I didn’t even have to use this trick, seems that :

  • Install XP
  • Install Vista
  • Troubleshoot missing file on the vista partition (grrr)
  • Install Linux

does the trick. Wonderfull!

Filed under: Linux, Windows, , , ,