How to build RPM packages in CentOS chroot on… Debian!

[Translate]

Debian GNU/Linux has its sbuild and (much easier) pbuilder, but can you imagine that Debian includes software to create RPM-based chroots and build RPM packages under them?! Package called mach provides tool similar to pbuilder. It create chroots, manage them and allow user to create RPMs in separated, clear and reproducible environment. Just […]

Kopiowanie zdjęć z karty pamięci aparatu fotograficznego

[Translate]

Ostatnio wydziałem tę procedurę w Gnome. Cała praca użytkownika to kilka kliknięć myszą. A na konsoli wystarczy tylko:

pmount sda1 && cp /media/sda1/*.jpg ~/NEW && pumount sda1

Za pomocą exiftran i prename możemy zdjęcia obrócić do właściwej orientacji i zmienić ich nazwy.

[…]

ESE Key Daemon 1.2.4 released

[Translate]

New version of ESE Key Daemon was released today.

Release notes:

Fixed cross-compilation bug reported by hartleys. Removed debian directory (will try to include esekeyd in Debian). Removed old directory (Linux 2.4 users can use 1.2.3, but 2.4 support is no longer maintained). Removed lib directory (any modern (g)libc has getopt).

Download: esekeyd-1.2.4.tar.gz […]

How to mount file systems easily in Midnight Commander

[Translate]

Everyone know Midnight Commander default user menu (invoked with <F2> key). It contains some (more or less) useful commands and it is… customizable.

If you want to use different menu for some directory you just need to create file .mc.menu in target directory. I made a simple menu form /media/.

[…]

Dostęp do Internetu przez telefon z Bluetooth i GPRS

[Translate]

Wczorajsza awaria u mojego providera, która trwa do dziś (i podobno potrwa do 21:00) uświadomiła mi, że modemy kablowe to nie jedyny sposób łączenia się z Internetem. Większość współczesnych telefonów posiada interfejsy bezprzewodowe Bluetooth i IrDA oraz GPRS i CSD. Korzystając z komputera z adapterem Bluetooth (np. na USB) i telefonu możemy zestawić […]

Instalacja tunera DVB-T Asus My Cinema-U3000 Mini w Debianie

[Translate]

Ostatnio stałem się szczęśliwym posiadaczem tunera DVB-T, z interfejsem USB, firmowanego przez Asusa. Urządzenie wielkości pendrive’a zbudowane zostało z tunera Microtune MT2266 i frontendu Dibcom DiB7000PC (z demodulatorem DVB-T). Nie to jednak przesądziło o zakupie tego modelu. Asus udostępnił źródła zmodyfikowanego na potrzeby My Cinema-U3000 Mini otwartego sterownika, co gwarantuje wsparcie dla tego […]

Deploying IPsec in small LAN in 3 easy steps

[Translate]

I think about installing IPsec on computers in my home LAN for some time. There are many configurations possible: tunnel mode, transport mode, peer-to-peer solution or star topology with single VPN hub. Also there are different IPsec implementations. KAME for *BSD, Openswan, strongSwan and Linux 2.6 PF_KEY implementation (which can be used with […]

Adding S3TC Support to Mesa/DRI in Debian

[Translate]

S3TC (sometimes called DXTn or DXTC) is a proprietary image compression algorithm. This was patented (US Patent 5,956,431) and thus Mesa cannot use it directly nor external library can enter Debian archive. If you want to have libtxc-dxtn installed you have to do it yourself.

[…]

ZSNES + AMD64 + Debian + OpenGL = troubles?!

[Translate]

ZSNES is a GPL licensed emulator of the Super Famicom and Super Nintendo Entertainment System (SNES) video game systems. Large part of ZSNES is written in assembly. Fortunately it works under GNU/Linux. Debian has a zsnes package, but unfortunately only for i386. Binary package is not available for AMD64. So? Lets build one!

[…]

Limiting access to ptrace() call in Linux

[Translate]

Ability to trace and debug software on servers is not needed for most users. Giving them right to trace processes may leak information and if ptrace() is vulnerable lead to more problems.

Sptrace is a secure ptrace() Linux Kernel Module (LKM). It limits users’ access to the ptrace() call. It can disable strace […]