Forfatterarkiv: mike

Hacking apache2 header-version

The version header is defined in ./include/ap_release.h in the apaceh2 source tree if you want to limit the number of information there is a option for that in the httpd.conf More info later if required

Udgivet i Apache, Knowledge Base, Old Base | Skriv en kommentar

Virtualhosts in apache

To activate virtualhosts write, in the end of the httpd.conf : NameVirtualHost * And after that you can add virtualhosts with this syntax, just make sure the dns names points to your servers ip: <VirtualHost *> Documentroot /home/subdomain ServerName subdomain.cyberfamily.dk … Læs resten

Udgivet i Apache, Knowledge Base, Old Base | Skriv en kommentar

FreeBSD ipv6 client

Asuming your router is working correctly with the ip 3ffe:80ee:5f8::/1 with a /64 range. * Give the interface “wi0” the ip 3ffe:80ee:5f8::2 with cidr prefix 64 ifconfig wi0 inet6 3ffe:80ee:5f8::2 prefixlen 64 * Add default ipv6 gateway route add -inet6 … Læs resten

Udgivet i FreeBSD, Knowledge Base, Networking, Old Base | Skriv en kommentar

IPv6 router under FreeBSD

First set up the IPv6 native for the router(mostly done by tunneling) XS26.net’s scripts #!/bin/sh #MYIPv4=”80.196.157.241″ # My IPv4 address #XSIPv4=”62.61.157.209″ # PoP’s IPv4 address #MYIPv6=”3ffe:80ee:5f8::1″ # Choose any IPv6 address from the range # you’ve got from XS26 ##TUNLIF=”gif0″ … Læs resten

Udgivet i FreeBSD, Knowledge Base, Networking, Old Base | Skriv en kommentar

Lyd i dstumbler freebsd

it uses the at speaker device not the dsp sound device. in freebsd stable you need ‘pseudo-device speaker’ in your kernel config.

Udgivet i FreeBSD, Knowledge Base, Old Base | Skriv en kommentar

Hotswapping harddisks in freebsd

Officially you should have a 1000$ controller to do this, but i never saw a controller who could not do this. The only damage i have seen with hotswaping has been a wasted psu bicause the person who did the … Læs resten

Udgivet i FreeBSD, Knowledge Base, Old Base | Skriv en kommentar

BT’s Compact Flash Card Reader

modprobe epat modprobe pd mount /dev/pda1 /cfdisk  

Udgivet i Knowledge Base, Linux, Old Base, Uncategorized, Workstation | Skriv en kommentar

Dk/Uk Layout

The old xmodmap hack has been remove, this is mucho more neater. [submenu] (Keyboard Layout) [exec] (Danish) {setxkbmap dk} [exec] (English) {setxkbmap us} [end] No other files are needed, this is blackbox/fluxbox menu-style.

Udgivet i Knowledge Base, Linux, Old Base, Workstation | Skriv en kommentar

PPPoE (router) i freebsd

To enable PPPoO in freebsd, your /etc/ppp/ppp.conf should look like this: default: set log Phase tun command set ifaddr 10.0.0.1/0 10.0.0.2/0 internet: set device PPPoE:INTERFACE set authname USERNAME set authkey PASSWORD set dial set login add default HISADDR Now “ppp … Læs resten

Udgivet i FreeBSD, Knowledge Base, Networking, Old Base | Skriv en kommentar

USB keyring under linux

modprobe usb-uchi modprobe usb-storage mount /dev/sda1 /mnt (driveren emulere scsi enhed, se i dmesg hvad enheden hedder)  

Udgivet i Knowledge Base, Linux, Old Base, Workstation | Skriv en kommentar