Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[TIP] Partager d'un scanner
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
bouleetbil
Guru
Guru


Joined: 06 Jul 2004
Posts: 456
Location: Montpellier

PostPosted: Thu Sep 29, 2005 9:47 pm    Post subject: [TIP] Partager d'un scanner Reply with quote

J'ai lu un article dans Linux Pratique comment partager un scanner, j'ai donc voulu essayer avec ma gentoo :D
Voila comment j'ai fait si cela interresse:

Tout d'abord sane doit être installé sur tous les postes avec la variable use -ipv6
(Bien entendu le scanner fonctionne correctement sur le poste serveur)
Il faut le demon xinetd sur le serveur.
Ajouter à /etc/xinetd.conf:
Code:
service sane-port
{
port = 6566
socket_type = stream
protocol = tcp
wait = no
user = root
group = root
server = /usr/sbin/saned
disable = no
only_from = 192.168.0.0/16#Les adresses-ip du reseau
}


Ajouter à /etc/services:
Code:
sane-port 6566/tcp


Sur tous les postes:
Editer /etc/sane.d/net.conf afin d'ajouter l'adresse IP du serveur.
Editer /etc/sane.d/conf.dll decommenter "net" si besoin.
Editer /etc/sane.d/saned.conf afin d'ajouter tous les adresses IP qui peuvent accéder au scanner.

Activer le démon xinetd:
# /etc/init.d/xinetd start
Pour le lancer au démarrage:
# rc-update add xinetd default

Pour vérifier la connexion sur le serveur
# telnet localhost 6566
Si la connexion fonctionne, maintenant les postes clients ont acces au scanner du serveur. Il suffit d'utiliser xsane.

Pour activer le mode debug arreter xinetd et lancer:
# SANE_DEBUG_MUSTEK=128 saned -d128
_________________
L'homme n'est pas fait pour travailler ça le fatigue.
LiveCD Gentoo : http://www.frogdev.info
Gentoo/Freebsd : http://www.frogdev.info/gentoo_freebsd.php
Back to top
View user's profile Send private message
ghoti
Advocate
Advocate


Joined: 30 Dec 2002
Posts: 3634
Location: Belgium

PostPosted: Fri Sep 30, 2005 10:36 am    Post subject: Reply with quote

Pas encore de scanner mais c'est prévu prochainement.
Ton tip va sûrement m'être utile ! :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum