Månedsarkiv: marts 2003

Normal SMTP operation

open connection to SMTP server (telnet smtp.foo.dns 25) send: –smtp start– MAIL FROM:<dude@myserver.dk> RCPT TO:<dude1@yourserver1.dk> RCPT TO:<dude2@yourserver2.dk> DATA write the entire mail here remember, this mail doesn’t got a header which usually contains sender info and topic end the conversation … Læs resten

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

CoooL’s router

#!/bin/sh # default iptables -P INPUT ACCEPT iptables -P FORWARD ACCEPT iptables -P OUTPUT ACCEPT # flush iptables -t filter -F INPUT iptables -t filter -F FORWARD iptables -t filter -F OUTPUT iptables -t nat -F PREROUTING iptables -t nat … Læs resten

Udgivet i Knowledge Base, Linux, Networking, 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

parport ide guide

http://www.torque.net/parport/paride.html

Udgivet i Knowledge Base, Old Base | Skriv en kommentar

Apache 2 og PHP 4.3.1

wget http://www.php.net/get/php-4.3.1.tar.gz/from/dk2.php. wget <apache> tar zxf httpd-2.0.44.tar.gz tar zxf php-4.3.1.tar.gz cd httpd-2.0.44 mkdir /www ./configure –prefix=/www –enable-so make make install cd ../php-4.3.1 ./configure –with-apxs2=/www/bin/apxs –prefix=/www/php make make install cp php.ini-dist /www/php/lib/php.ini echo ‘LoadModule php4_module modules/libphp4.so’ >> /www/conf/httpd.conf echo ‘AddType application/x-httpd-php … Læs resten

Udgivet i Apache, Knowledge Base, Lamp, Linux, Old Base | 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

ipv6 tools

http://www.argh.org/IPv6/IPv6-HOWTO/IPv6-HOWTO-3.html

Udgivet i Knowledge Base, Links, Linux, Networking, Old Base, Uncategorized | 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

Kvael klokken i linux

X: xset b off console: setterm -blength  

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