Linux

HP Compaq 8510p hardware list in linux

You can use lspci -n to analyce what hardware is on your system. My new laptop a HP Compaq 8510p gives the following output: 00:00.0 0600: 8086:2a00 (rev 0c) 00:01.0 0604: 8086:2a01 (rev 0c) 00:03.0 0780: 8086:2a04 (rev 0c) 00:03.2 0101: 8086:2a06 (rev 0c) 00:03.3 0700: 8086:2a07 (rev 0c) 00:19.0 0200: 8086:1049 (rev 03) 00:1a.0 […]

Read More
Linux

Making /tmp non-executable

Many simple exploits that are used against machines, (via vulnerable PHP applications or local users, etc), rely upon being able to execute commands in /tmp. If this is a seperate partition or file system you can gain some protection by marking it non-executable. The common problem with this is that apt-get fails to work with […]

Read More
Linux

Ubuntu Linux 7.10 Beta on HP Compaq 8510p (laptop)

I experienced problems booting the install-CD for both Ubuntu 7.04 and Fedora Core 7 on my HP Compaq 8510p laptop because the kernel didn’t have the correct SATA driver, so I decided to try the beta of Ubuntu 7.10. The booting problem was fixed on 7.10 Beta and the installation process halted at 88% “importing […]

Read More
Web

Install Geo::IP Perl Module on Debian Etch

This post describes how to install MaxMind Geo::IP perl module on Debian Etch. You need the GeoIP C library (that includes also the free GeoLite Country database). This is fortunately available in the Debian repositories. apt-get install libgeoip1 libgeoip-dev To install the GeoIP perl module, we need to download the perl module locally from MaxMind […]

Read More
Linux

Advanced APT user tricks

Debian/Ubuntu apt-get tricks. Basics Install software apt-get install foobar Search software apt-cache search foobar You can query files to see which packages own them, or query packages to see which files own them. Installing apt-file apt-get install apt-file Build apt-get file information cache apt-file update Query through the packages to determine which package contains the […]

Read More