Configurer sendmail comme simple relai vers un autre serveur email
Friday, April 27 2007
Configurer sendmail comme simple relai vers un autre serveur email
By Ludovic Francois on Friday, April 27 2007, 21:49 - General
Saturday, December 30 2006
vmware-server-console: erreur libpng sur Debian GNU/Linux
By Ludovic Francois on Saturday, December 30 2006, 22:34 - General
J'utilise vmware-server pour tester de nouvelles distributions et des outils relatifs aux clusters. Normalement j'atteins ces serveurs uniquement par ssh, il y a quelques semaines je voulais installer une nouvelle distribution mais le programme vmware-server-console ne fonctionnait plus depuis ma Debian instable.
Friday, November 24 2006
Realtek 8180L avec ndiswrapper sous Debian GNU/Linux
By Ludovic Francois on Friday, November 24 2006, 00:50 - General
J'avais une ancienne carte wifi 802.11b dans un placard, je voulais utiliser celle-ci pour créer un routeur wifi avec portail captif. Ci-dessous vous verrez comment configurer cette carte sous Debian GNU/Linux.
Monday, October 23 2006
Installation d'Adobe flashplayer 9 sur Debian GNU/Linux avec Firefox
By Ludovic Francois on Monday, October 23 2006, 19:03 - debian
Installation d'Adobe flashplayer 9 avec Firefox sur Debian.
Thursday, August 31 2006
Automatiser la construction des paquets rpm et src.rpm grâce aux autotools et Makefile.am
By Ludovic Francois on Thursday, August 31 2006, 23:24 - code
Automatiser la construction des paquets rpm et src.rpm grâce aux autotools et Makefile.am
- RPM Tree
- SPEC files
- Makefile.am
Wednesday, August 9 2006
Créer un paquet debian avec dh_make et dpkg-buildpackage
By Ludovic Francois on Wednesday, August 9 2006, 00:34 - debian
Créer un paquet debian avec dh_make et dpkg-buildpackage
- Générer un répertoire debian modèle
- Éditer les fichiers de configuration
- Créer son propre dépôt apt debian
Tuesday, July 18 2006
Installation de radvd (router advertisement daemon) sur Debian GNU/Linux avec un subnet IPv6 sixxs
By Ludovic Francois on Tuesday, July 18 2006, 22:44 - ipv6
Installation de radvd (router advertisement daemon) sur Debian GNU/Linux avec un subnet IPv6 sixxs
Saturday, July 15 2006
IPv6 dns configuration avec bind
By Ludovic Francois on Saturday, July 15 2006, 11:33 - ipv6
IPv6 dns configuration avec bind
Saturday, July 1 2006
Configuration d'un tunnel IPv6 grâce un tunnel SixXS sur Debian GNU/Linux
By Ludovic Francois on Saturday, July 1 2006, 09:36 - ipv6
Configuration d'un tunnel IPv6 grâce un tunnel SixXS sur Debian GNU/Linux
Wednesday, June 21 2006
Configuration d'un tunnel IPv6 avec Hexago sur Debian GNU/Linux
By Ludovic Francois on Wednesday, June 21 2006, 23:42 - General
Configuration d'un tunnel IPv6 avec Hexago sur Debian GNU/Linux
- Enregistrement
- Configuration du noyau Linux
- Outil tspc d'Hexago
Sunday, June 4 2006
Utilisation du multiposte offert par Free derrière un routeur linux
By Ludovic Francois on Sunday, June 4 2006, 22:31 - General
Utilisation du multiposte offert par Free derrière un routeur linux
- vlc
- iptables
Saturday, March 18 2006
Installation de MS Windows dans qemu sous Debian GNU/Linux
By Ludovic Francois on Saturday, March 18 2006, 11:04 - General
Installation de MS Windows dans qemu sous Debian GNU/Linux
Sunday, February 12 2006
Installation d'une Debian GNU/Linux sur du raid1 soft avec md + lvm
By Ludovic Francois on Sunday, February 12 2006, 23:29 - General
Installation d'une Debian GNU/Linux sur du raid1 soft avec md + lvm
- mdadm
- lvm (pvcreate, vgcreate, lvcreate)
Sunday, February 5 2006
Migration de pcmcia-cs vers pcmciautils + udev sous Debian GNU/Linux avec un bridge yenta_socket et une carte réseau orinoco
By Ludovic Francois on Sunday, February 5 2006, 11:44 - General
Migration de pcmcia-cs vers pcmciautils + udev sous Debian GNU/Linux avec un bridge yenta_socket et une carte réseau orinoco
- Préparation du noyau
- Désinstallation de pcmcia-cs
- Installation de pcmciautils
- Installation de udev
Sunday, January 29 2006
Comment faire varier la vitesse du cpu avec Linux 2.6 sur un mobile AMD Athlon(tm) XP2000+
By Ludovic Francois on Sunday, January 29 2006, 12:43 - General
Comment faire varier la vitesse du cpu avec Linux 2.6 sur un mobile AMD Athlon(tm) XP2000+
- /proc/cpuinfo
- /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
- /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
Saturday, January 21 2006
Problème cache debconf sous Debian GNU/Linux
By Ludovic Francois on Saturday, January 21 2006, 12:19 - General
Problème cache debconf sous Debian GNU/Linux
- /var/cache/debconf
- Can't call method "choices" on an undefined value at /usr/share/perl5/Debconf/Question.pm line 106, <GEN1> line 118.
Monday, January 16 2006
Installation d'une imprimante HP PSC 1410 sous Debian GNU/Linux
By Ludovic Francois on Monday, January 16 2006, 07:48 - General
hpoj
Avant lorsque hpoj supportait cette imprimante, il suffisait de l'installer et de lancer le setup pour configuer l'imprimante hp multifonction.
Maintenant, il semble que la dernière version d'hpoj ne supporte plus cette imprimante et qu'il soit nécessaire de passer à hplip.
root@obelix:~ # /etc/init.d/hpoj setup Stopping the HP OfficeJet Linux driver.-- This program manages devices controlled by the HP OfficeJet Linux driver (hpoj). It attempts to probe your computer for local parallel- and USB-connected devices, and allows you to specify network addresses for remote JetDirect-connected devices. If you experience any difficulties in detecting your device(s), then refer to the hpoj documentation for troubleshooting information.-- Currently defined device names (*=default): (none)-- Probe for parallel-connected devices (y/n)? n---- Probe for USB-connected devices (y/n)? Probing "/dev/usb/lp0"... *** Found "PSC 1400 series" but failed to communicate with it! *** Elapsed time for this attempt was 0 second(s). *** Check syslog file for ptal-mlcd error messages. *** See hpoj documentation for troubleshooting information. Probing "%004%006"... No device found. Probing "%004%002"... No device found. Probing "%004%001"... No device found. Probing "%003%003"... No device found. Probing "%003%002"... No device found. Probing "%003%001"... No device found. Probing "%002%001"... No device found. Probing "%001%001"... No device found.-- Press <Enter> alone to continue, or if you would like to add a JetDirect-connected device, then enter its dotted-decimal IP address or hostname here --->-- Done updating device configuration files stored under /etc/ptal. If you make manual changes to those files, then be sure to run "/etc/init.d/hpoj start" so they will take effect.-- Starting the HP OfficeJet Linux driver. No hpoj devices have been configured. As root, run "/etc/init.d/hpoj setup". root@obelix:~ #
hplip
Installation de l'imprimante
root@obelix:~ # apt-get install hplip root@obelix:~ # hp-probe root@obelix:~ # hp-info
Taux de remplissage des cartouches d'encre
root@obelix:~ # hp-levels
HP Linux Imaging and Printing System (ver. 0.9.7)
Supplies Levels Utility ver. 0.4
Copyright (c) 2003-5 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
Using device: hp:/usb/PSC_1400_series?serial=CN53MV71HV04BN
Black cartridge
Part No.: 21 (C9351A)
Health: OK
|/////////////////////////////////////////////////////////////////////////// | (approx. 75%)
Tri-color cartridge
Part No.: 22 (C9352A)
Health: OK
|////////////////////////////////////////////////////////////// | (approx. 62%)
root@obelix:~ #
Outil graphique hp sous linux permettant gérer l'imprimante
root@obelix:~ # hp-toolbox
hpijs
driver
cups
Ajout d'une nouvelle imprimante

Choix du périphérique pour cette imprimante

Choix du modèle d'imprimante

Choix du driver spécifique pour cette imprimante

L'imprimante est installée

Prête à être utilisée

scanner
xsane
kooka
Monday, January 9 2006
GPG error sous Debian GNU/Linux
By Ludovic Francois on Monday, January 9 2006, 09:16 - General
Suite à la nouvelle année, il était impossible de mettre à jour sa distribution Debian à cause d'une erreur GPG.
Pour résoudre ce problème, il suffit de mettre à jour la clef publique de ftp-master.debian.org dans son trousseau gpg pour l'ajouter à la liste de clefs autorisées à authentifier les paquets debian.
warnings à la sortie du apt-get update
root@obelix:~ # apt-get update Get:1 http://security.debian.org testing/updates Release.gpg [189B] Hit http://security.debian.org testing/updates Release Get:2 ftp://ftp.fr.debian.org testing Release.gpg [378B] Ign http://security.debian.org testing/updates/main Packages Hit http://security.debian.org testing/updates/main Packages Get:3 ftp://ftp2.fr.debian.org testing Release.gpg [378B] Get:4 ftp://ftp.fr.debian.org testing Release [32.7kB] Get:5 ftp://ftp2.fr.debian.org testing Release [32.7kB] Ign ftp://ftp.fr.debian.org testing Release Get:6 ftp://ftp.fr.debian.org testing/main Sources [1040kB] Ign ftp://ftp2.fr.debian.org testing Release Get:7 ftp://ftp2.fr.debian.org testing/main Packages [2784kB] Hit ftp://ftp2.fr.debian.org testing/contrib Packages Hit ftp://ftp2.fr.debian.org testing/non-free Packages Fetched 3891kB in 10s (365kB/s) Reading package lists... Done W: GPG error: ftp://ftp.fr.debian.org testing Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 010908312D230C5F W: GPG error: ftp://ftp2.fr.debian.org testing Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 010908312D230C5F W: You may want to run apt-get update to correct these problems root@obelix:~ #
Mise à jour de la clef provenant de debian.org dans son trousseau de clefs publiques
root@obelix:~ # gpg --keyserver hkp://keyring.debian.org --recv-keys 010908312D230C5F gpg: requesting key 2D230C5F from hkp server keyring.debian.org gpg: key 2D230C5F: public key "Debian Archive Automatic Signing Key (2006) <ftpmaster@debian.org>" imported gpg: no ultimately trusted keys found gpg: Total number processed: 1 gpg: imported: 1 root@obelix:~ #
Ajout à votre liste de clefs autorisées pour valider l'authenticité des paquets debian
root@obelix:~ # gpg --armor --export 010908312D230C5F | apt-key add - gpg: no ultimately trusted keys found OK root@obelix:~ #
Problème résolu
root@obelix:~ # apt-get update Get:1 http://security.debian.org testing/updates Release.gpg [189B] Hit http://security.debian.org testing/updates Release Ign http://security.debian.org testing/updates/main Packages Get:2 ftp://ftp.fr.debian.org testing Release.gpg [378B] Hit http://security.debian.org testing/updates/main Packages Get:3 ftp://ftp2.fr.debian.org testing Release.gpg [378B] Hit ftp://ftp.fr.debian.org testing Release Hit ftp://ftp.fr.debian.org testing/main Sources Hit ftp://ftp2.fr.debian.org testing Release Hit ftp://ftp2.fr.debian.org testing/main Packages Hit ftp://ftp2.fr.debian.org testing/contrib Packages Hit ftp://ftp2.fr.debian.org testing/non-free Packages Fetched 757B in 1s (523B/s) Reading package lists... Done root@obelix:~ #
Autre solution non testé
root@obelix:~ # GET http://ftp-master.debian.org/ziyi_key_2006.asc | apt-key add -
Attention à bien respecter la casse pour la commande GET
Thursday, January 5 2006
Cloner la liste des paquets debian entre 2 serveurs
By Ludovic Francois on Thursday, January 5 2006, 07:36 - General
Cloner la liste des paquets debian entre 2 serveurs
Après cela vous aurez la même sortie dpkg -l si vous êtes dans la même version de debian entre les 2 machines (même /etc/apt/sources.list).
Par contre vous n'aurez pas forcément la même configuration des packages, cela dépendra de vos réponses à dpkg.
Récupération de la liste des paquets installés sur la machine source
host_src# dpkg --get-selections > my_dpkg_--get-selections.txt
Initialisation de la base dpkg avec cette liste
host_dst# dpkg --set-selections < my_dpkg_--get-selections.txt
Récupération et installation des .deb concernés
host_dst# apt-get dselect-upgrade
Ces 3 lignes de commandes peuvent-être un premier pas vers un méthode de backup et de restauration de l'ensemble de votre système Debian GNU/Linux.
Tuesday, January 3 2006
Connexion vers un vpn cisco depuis Linux
By Ludovic Francois on Tuesday, January 3 2006, 11:35 - General
À l'aide du client libre vpnc
À l'aide du client fournit par cisco
Installation de vpnclient
# uname -a Linux idefix 2.6.15-rc2-idefix #6 PREEMPT Mon Nov 28 10:29:07 CET 2005 i686 GNU/Linux # wget http://www.mcmaster.ca/uts/network/software/vpnclient-linux4.7.tar.gz # wget ftp://jason.roysdon.net/pub/jroysdon/cisco/vpnclient-linux-4.7.00.0640-k9_kernel-2.6.14-1.1637_FC4.patch # tar xvzf vpnclient-linux4.7.tar.gz # cd vpnclient # patch -p0 < ../vpnclient-linux-4.7.00.0640-k9_kernel-2.6.14-1.1637_FC4.patch patching file linuxcniapi.c # ./vpn_install [...] # insmod /lib/modules/2.6.15-rc2-idefix/CiscoVPN/cisco_ipsec.ko
Sans l'application de ce patch, il est impossible de compiler le module kernel correctement
Mise en place du fichier pcf
# cat /etc/opt/cisco-vpnclient/Profiles/DDN.pcf [main] Description= Host=vpn.yourdomain.com AuthType=1 GroupName= GroupPwd= enc_GroupPwd= EnableISPConnect=0 ISPConnectType=0 ISPConnect=Handy Connection ISPPhonebook= ISPCommand= Username=lfrancois SaveUserPassword=0 UserPassword= enc_UserPassword= NTDomain= EnableBackup=0 BackupServer= EnableMSLogon=1 MSLogonType=0 EnableNat=1 TunnelingMode=0 TcpTunnelingPort=10000 CertStore=0 CertName= CertPath= CertSubjectName= CertSerialHash=00000000000000000000000000000000 SendCertChain=0 PeerTimeout=90 EnableLocalLAN=0 #
Lancement de la connexion
# vpnclient connect DDN
« previous entries - page 1 of 2