Archives – octobre, 2008

L'Argent

Vous vous êtes tous toujours demandé comment se fait que la dette ne fait qu’augmenter ? Comment tout le monde peut-être dans le rouge ? Et comment créé t’on l’argent ? Voici toutes les réponses à vos questions :

http://vimeo.com/1711304?pg=embed&sec=1711304

Laisser un commentaire 8 octobre 2008

Wakeonlan

Pour activer le wake on lan sur votre pc favoris.
Il faut une carte réseau supportant wol et activé si la carte mère le support le wake on lan dans le bios. Mais cela ne suffit pas car de base debian et ubuntu éteignent la carte réseau il faut donc activer le wake on lan d’une autre facon.
il faut installer ethtool.

apt-get install ethtool

créer un script de démarage du wake on lan :

#!/bin/sh
## Script pour autoriser le wakeonlan
case « $1″ in
start)
echo -n « Activation wol par Magic Packet… »
ethtool -s eth0 wol g # rajouter sudo sous ubuntu
echo « [Ok] »
esac

on va l’ajouter à la liste des scrips appelé.

update-rc.d -f wol defaults # rajouter sudo sous ubuntu

créer le fichier /etc/default/halt et y mettre

WOL=1

puis editez le fichier /etc/init.d/halt et juste avant log_action_msg « Will now halt » ajoutez

# dont shut interfaces down if WOL=1
wol= »-i »
if [ "$WOL" = "1" ]
then
wol= »"
fi

puis remplacer

halt -d -f -i $poweroff $hddown

par

halt -d -f $wol $poweroff $hddown

Pour pouvoir allumer votre ordinnateur à distance. Il faut installer wakeonlan (pratique car il marche en mode utilisateur)

wakeonlan ADDRESSE_MAC_DU_PC

Voilà, j’espère que ceci vous sera utile.

PS : Cet article a été importé de mon ancien blog.

Laisser un commentaire 5 octobre 2008

DNS local server

I installed a dns local server on my local network. The aim is to have a local name resolution for all my local hosts and a caching dns server to communicate with the external hosts. For that I chose to use Tinydns and Dnscache. Those tools can be download on http://cr.yp.to/djbdns.html.

You need to install :

Installing Daemontools :

# mkdir -p /package
# chmod 1755 /package
% cd /package
# wget http://cr.yp.to/daemontools/daemontools-0.76.tar.gz
# gunzip daemontools-0.76.tar
# tar -xpf daemontools-0.76.tar
# rm daemontools-0.76.tar
% cd admin/daemontools-0.76
# package/install

Installing ucspi-tcp

# wget http://cr.yp.to/ucspi-tcp/ucspi-tcp-0.88.tar.gz
# gunzip ucspi-tcp-0.88.tar
# tar -xf ucspi-tcp-0.88.tar
% cd ucspi-tcp-0.88
# make
# make setup check

Installing djbdns

# wget http://cr.yp.to/djbdns/djbdns-1.05.tar.gz
# gunzip djbdns-1.05.tar
# tar -xf djbdns-1.05.tar
% cd djbdns-1.05
# echo gcc -O2 -include /usr/include/errno.h > conf-cc
# make
# make setup check

Create users

# adduser –no-create-home –disabled-login -shell /bin/false dnscache
# sudo adduser –no-create-home –disabled-login -shell /bin/false dnslog
# sudo adduser –no-create-home –disabled-login -shell /bin/false tinydns

Setting up dnscache environment

# dnscache-conf dnscache dnslog /etc/dnscache 192.168.0.12
# ln -s /etc/dnscache /service
% sleep 5
# svstat /service/dnscache
# echo « nameserver 192.168.0.12″ > /etc/resolv.conf
# touch /etc/dnscache/root/ip/192.168.0
# echo « 127.0.0.1″ > /etc/dnscache/root/servers/lan.phantez.net
# echo « 127.0.0.1″ > /etc/dnscache/root/servers/1.168.192.in-addr.arpa

Setting up tinydns environment

# tinydns-conf tinydns dnslog /etc/tinydns 127.0.0.1
% cd /service/tinydns/root
# ./add-ns lan.phantez.net 192.168.0.12
# ./add-ns 0.168.192.in-addr.arpa 192.168.0.12
# ./add-host franck.lan.phantez.net 192.168.0.10
# ./add-alias www.lan.phantez.net 192.168.0.10
# make

Reloading services

# svc -t /service/tinydns/
# svc -t /service/dnscache/

Resources :

http://www.linuxfromscratch.org/hints/downloads/files/PREVIOUS_FORMAT/djbdns.txt
http://www.fredshack.com/docs/djbdns.html

Laisser un commentaire 5 octobre 2008

Gephi has been released !

I would like to introduce you Gephi. This is an open-source software for visualizing and analyzing large networks graphs. The software is pretty much stable and as far as I know this is the best open-source tool to visualize graphs. It has been mainly developed by Mathieu Bastian a friend of mine and a student at the University of Technology of Compiègne.

Screenshot

If you want to have some more information visit the offical website gephi.org.

Laisser un commentaire 1 octobre 2008


Pages

Liens

Catégories

Mots-clefs

Administration Système Bruxelles Canada Django DNS Education Emploi Fonera Gephi Grand Canyon Graphes Hébergement HPC Java kernel Las Vegas Linux logiciels libres Montreal New York Paris Piwik Projets Python PyWeek San Francisco Toronto Tourisme Ubuntu ubuntu-party USA UWaterloo Velib' Vie WakeOnLan WOL

Commentaires récents

Archives