Posts tagged "linux"
Apache Authentication by IP and Password at the Same Time
If you like to restrict access to a directory on your Apache web server to users from a fixed IP range without password , and the rest of the world with password authentication the httpd.conf section can look like this for Apache-2.2: <Directory "/var/www/htdocs/protected"> AuthType Basic AuthName "Protected Area" A...
Multiple Routing Tables with IPTables
Challenge: You have a linux based firewall, which should forward all internal and external traffic of its connected clients through a VPN tunnel, and at the same time the traffic from the firewall itself should not go through the tunnel (e.g. the tunnel connection packets). Solution: There are lots of howtos for thi...
One Mouse and Keyboard for Two Computers
I just read that MircoSoft announced a "new" software to control two WindowsPCs with one keyboard and mouse. It might be new to MircoSoft but a software for this exists since about 1998. When I had both Linux and Windows on my desktop some years ago I used x2vnc for this. Read on: http://fredrik.hubbe.net/x2vnc.html
Using an HP scanner on the command line
I don't use Gnome, KDE, etc. My window manager is WMX with some patches. Without all those fancy window environments, you get rid of all magic auto configurations, and wizards at the same time, and you can configure your system like real man do: using the command line. ;-) I bought a HP OfficeJet Pro 8500 A910 last ...
Restore data from a single disk of an HP/Compaq SmartArray raid1
If you look into a harddisk from an HP server with smart array configured for raid1, you will recognize that the partition table of this disk has only one partition: Device Boot Start End Blocks Id System <device>p3 1 1 8001 12 Compaq diagnostics The real partitions are invisible? No. I found the start of the real d...