sparcstation 20 manual

http://docs.sun.com/db/doc/801-6189-12

Udgivet i Knowledge Base, Old Base, Retro hardware | 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

Wake On Lan Mini Howto

http://gsd.di.uminho.pt/jpo/software/wakeonlan/mini-howto/wol-mini-howto.html

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

Unix prompt in windows 2000

prompt %USERNAME%@%COMPUTERNAME%:$p$$

Udgivet i Uncategorized | Skriv en kommentar

Unix prompt in windows 2000

prompt %USERNAME%@%COMPUTERNAME%:$p$$
Udgivet i Knowledge Base, Windows | 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 switch couldnt manage to put the cable straight in the plug.

potato# atacontrol list
ATA channel 0:
    Master:  ad0 <QUANTUM FIREBALL_TM3840A/A6B.2400> ATA/ATAPI rev 0
    Slave:       no device present
ATA channel 1:
    Master:      no device present
    Slave:       no device present
potato# atacontrol detach 1
(here i wend out and mounted a 15 gig IBM harddrive in the server)
potato# atacontrol attach 1
Master:  ad2 <IBM-DJNA-351520/J56OA30K> ATA/ATAPI rev 4
Slave:       no device present

And as you saw it detected the harddisk, now just partition and format it.

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

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 with a single dot on a line
after that you would probably like to close the connection
do that with a simple ‘QUIT’…
.
QUIT
–smtp stop–

that’s it!

a normal header for the mail could look like this:
–header start–
Delivered-To: reciever@domain.foo
Subject: subject
Date: Mon, 24 Mar 2003 11:14:55 +0100
From: “users real name” <user@smtp.foo>
To: <reciever@domain.foo>
Cc: <carboncopy@domain.foo>
–header stop–
but don’t rely on it

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 -F POSTROUTING

  # aktivere masquerade

iptables -t nat -A POSTROUTING -j MASQUERADE -p icmp
iptables -t nat -A POSTROUTING -j MASQUERADE -p udp
iptables -t nat -A POSTROUTING -j MASQUERADE -p tcp


iptables -t nat -A PREROUTING -s ! 10.4.0.0/16 -p tcp --dport 20 -j DNAT --to-destination 10.4.0.3
iptables -t nat -A PREROUTING -s ! 10.4.0.0/16 -p tcp --dport 21 -j DNAT --to-destination 10.4.0.3
iptables -t nat -A PREROUTING -s ! 10.4.0.0/16 -p tcp --dport 22 -j DNAT --to-destination 10.4.0.3
iptables -t nat -A PREROUTING -s ! 10.4.0.0/16 -p tcp --dport 25 -j DNAT --to-destination 10.4.0.3
iptables -t nat -A PREROUTING -s ! 10.4.0.0/16 -p tcp --dport 80 -j DNAT --to-destination 10.4.0.3
iptables -t nat -A PREROUTING -s ! 10.4.0.0/16 -p tcp --dport 110 -j DNAT --to-destination 10.4.0.3

 

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