Compile RetroShare on Debian 6 Squeeze

#needed Packages:
aptitude install libupnp3 gnupg-agent libqt4-dev g++ libgpgme11-dev libgpg-error-dev libupnp-dev libssl-dev libgnome-keyring-dev libxss-dev subversion
#Get RetroShare
svn co https://retroshare.svn.sourceforge.net/svnroot/retroshare/trunk/ retroshare
#or
wget http://sourceforge.net/projects/retroshare/files/RetroShare/0.5.3b/RetroShare-v0.5.3b.tar.gz/download
#Build
cd $RetroSharePath/libbitdht/src
qmake
make
cd ../../libretroshare/src
qmake
make
cd ../../retroshare-gui/src
qmake
make
#Run retroShare
$RetroSharePath/retroshare-gui/src/RetroShare

XMPP / Jabber Server unter Debian 6 Squeeze

  1. Install
     aptitude install ejabberd
  2. edit /etc/ejabberd/ejabberd.conf
    {hosts, ["jabber.myserver.tdl"]}.
    {acl, admin, {user, "myuser", "jabber.myserver.tdl"}}.
  3. restart server
     /etc/init.d/ejabberd restart
  4. admin einrichten
     ejabberdctl register myuser jabber.myserver.tdl geheim
  5. erneuter restart
    /etc/init.d/ejabberd restart
  6. status check
    ejabberdctl status
  7. WebGui starten
    http://jabber.myserver.tdl:5280/admin
    Benutzername: myuser@jabber.myserver.tdl
  8. Clients via console hinzufügen
    ejabberdctl register myuser2 jabber.myserver.tdl geheim2

Firewall Setup

# 5222 für Jabberclients (c2s)
# 5269 Server2Server (s2s)
# 5280 admininterface auf loopback-device, erreichbar über ssh-tunnel
IPTABLES -A INPUT -m state --state NEW -p tcp --dport 5222 -j ACCEPT
IPTABLES -A INPUT -m state --state NEW -p tcp --dport 5269 -j ACCEPT

Generating a Self-Signed SSL Certificate (http://www.jabberdoc.org/app_sslkey.html)

openssl req -new -x509 -newkey rsa:4096 -days 3650 -keyout privkey.pem -out server.pem
openssl rsa -in privkey.pem -out privkey.pem
cat privkey.pem >> server.pem
rm privkey.pem

enter your domain name as the Common Name for your certificate!

Minix 3 pkgin mirror

You just have to mirror ftp://ftp.minix3.org/pub/minix/packages/ with e.g. http://www.debian.org/mirror/ftpmirror.en.html or http://www.debian.org/mirror/ftpmirror or
wget –mirror ftp://ftp.minix3.org/pub/minix/packages

Size of Minix 3.2 ( ftp://ftp.minix3.org/pub/minix/packages/3.2.0/ ) is about 400 MB (05.07.2011)

next step is to edit /usr/pkg/etc/pkgin/repositories.conf and change the path to your local one.

after a pkgin update you are done 😀

ant-phone über fritz isdn unter squeeze

aptitude install build-essential capiutils libcapi20-dev linux-headers-$(uname -r) bzip2

cd /opt

sourcen holen
wget https://belug.de/~lutz/pub/fcpci/fritz-fcpci-2.6.31.tar.bz2

entpacken
tar xvfj fritz-fcpci-2.6.31.tar.bz2

cd fritz-fcpci-2.6.31/lib
rm fcpci-lib.o
#ln -s 64_fcpci-lib.o fcpci-lib.o
ln -s 32_fcpci-lib.o fcpci-lib.o
cd ../fcpci_src
make clean
make all

mkdir /lib/modules/`uname -r`/extra
cp fcpci.ko /lib/modules/`uname -r`/extra/
depmod -a

modprobe -rf fcpci
modprobe -rf avmfritz
modprobe -v fcpci

echo ‘blacklist avmfritz’ > /etc/modprobe.d/blacklist-avmfritz.conf

nano /etc/isdn/capi.conf
fcpci – – – – – –
# -> Zeile entkommentieren

echo ‘# Fritz!Card
capidrv
capi
fcpci’ >> /etc/modules

capiinit start

capiinfo # sollte info zur isdn hw liefern

aptitude install ant-phone isdnutils-base isdnlog
# -> Land und Vorwahl setzen

nano /etc/isdn/isdn.conf
LOGFILE = /var/log/isdn.log # abändern

touch /var/log/isdn.log
touch /etc/isdn/noconfig #isdnutils sagen dass keine config nötig ist

service isdnutils restart

mkdir ~/.ant-phone/
touch ~/.ant-phone/options

ant-phone

unter Optionen > Einstellungen sende MSN einstellen

# User rechte geben isdn zu verwenden
nano /etc/group
dialout:x:20:user

Quelle:
http://www.pro-linux.de/artikel/2/1469/1,einrichtung-des-capi-treibers.html