Intel Corporation PRO/Wireless 2200BG Network Connection install on Linux Debian Etch

In order to install Intel Corporation PRO/Wireless 2200BG Network Connection network interface on debian 4.0 etch do following steps:
1)
apt-get install module-assistant
2) run module-assistant, compile and install ipw2200 module
At this point you are half way there, because you will see following error message:
ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.1.2kmq
ipw2200: Copyright(c) 2003-2006 Intel Corporation
ipw2200: Detected Intel PRO/Wireless [...]

Recreating z25_persistent-net.rules file manually on debian

If from some reason you need to recreate networking udev z25 rules file you would use the following cammed to achieve that:
/lib/udev/write_net_rules all_interfaces
this will recreate a z25_persistent-net.rules and include all interfaces.

invalid byte sequence for encoding “UTF8″: 0×8b – storing binary data

This error message took me lots of effort and time to solve it. The problem is that before storing binary data strings in the postgresql database the binary strings need to be escaped before storing them. There is on the google available subroutine for per which is doing this job. It is called escape_bytea. Anyway [...]