Debugging DHCP

Geschrieben von Jens Brey am Mittwoch, 9. April 2008 in Computer

Some days ago, i had a fight with the DHCP server in or company. I had the problem, that the Cisco IP Phones needs the option 150 set. So i look around in the internet and found some tips, how i can add this option to the ISC DHCP server. But then i was looking for a tool to check the generated DHCP requests and i found DHCPDUMP.

DHCPDUMP is a parser, which parses and show the output from tcpdump. After you have installed dhcpdump, you can use it with the following command:
tcpdump -lenx -s 1500 port bootps or port bootpc | dhcpdump

I wrote also a short patch, to add the capability to parse option 150. You can also find a complete patched version.

"Debugging DHCP" vollständig lesen

4 Kommentare Mehr...

Apache patch for could not read symbols: File in wrong format

Geschrieben von Jens Brey am Dienstag, 24. Juli 2007 in Open Source

If you want to compile Apache 2.2.4 under Red Hat AS 5.0 x86-64 you can get this error:

/usr/lib/ could not read symbols: File in wrong format

There is a patch in the ASF Bugzilla ( ), but this patch works only up to version 2.2.3. So, i create a new one, which works with 2.2.4 ;-)

Here it is

Unpack your apache with tar, go in the httpd-2.2.4/srclib/apr-util directory and apply it with "patch -p1 < /usr/local/src/apr-util_2.2.4.patch"

The patch updates apu-conf.m4 to build an updated configure that knows what to do with a 64 bit directive. So, once you’ve applied the patch, you should delete the file:


and go back to the root directory of the source distro and delete the configure file there too.

Then, rebuild the configure scripts:


You now have a 64 bit enabled apr-util. To take advantage of it, you need to add this line to the root configure options:


Here’s the root configure in full:

./configure --prefix=/usr/local/httpd-2.2.4_php4/ --with-mpm=worker --enable-so --enable-rewrite --enable-status --enable-lib64 --libdir=/usr/lib64

Have fun,



Alistair’s cakeBlog
global infinity :: tech blog

6 Kommentare Mehr...

Seite 1 von 1, insgesamt 2 Einträge


Nach Einträgen suchen in Chaos Betrachtungen...:

Das Gesuchte nicht gefunden? Gib einen Kommentar in einem Eintrag ab oder nimm per E-Mail Kontakt auf!