LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-11-2009, 03:46 PM   #1
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
I fail to use my scanner over the network


Hello together,

I want to use my scanner over the network. I have three Linux-PCs in a network, all running Gentoo. On one of the PCs there is a HP-PSC1410 Printer/Scanner installed.
Printing with Cups via network and from the local machine works well. Also scanning from the local-machine (the scannerserver) using xsane works well.
Now I want to use the scanner from the other machines. With google I found some tutorials about scanning over the network , but the tutorials are somewhat dated.
I've installed xsane, sane-backends and hplip on all machines. On the scannerserver I have installed xinetd and configured it to start saned if a request comes via port 6566/TCP. I created a file etc/xinet.d/saned:
Code:
# /etc/xinetd.d/saned
service sane-port
{
  port        = 6566
  socket_type = stream
  wait        = no
  user        = daemon
  group       = daemon
  server      = /usr/sbin/saned
}
This seems to work. nmap -sV gentoo gives the following output:
Code:
# nmap -sV gentoo
PORT     STATE SERVICE  VERSION
631/tcp  open  ipp      CUPS 1.3.10
6566/tcp open  unknown?
which means that the port for scanning-requests is open. On the clients there is /etc/sane.d/saned.conf configured for scanning over the network. When I run scanimage -L on one of the clients I get
Code:
# scanimage -L
No scanners were identified ......
At the same time, using tcpdump on the scannerserver I can see the request comming to the scannerserver and syslog-ng logs
Code:
# tail -f /var/log/messages
Oct 11 22:08:27 Gentoo saned[4427]: saned from sane-backends 1.0.19
ready
Oct 11 22:08:27 Gentoo saned[4427]: check_host: access by remote host:
192.168.178.61
Oct 11 22:08:27 Gentoo saned[4427]: init: access granted to
root@192.168.178.61
Oct 11 22:08:27 Gentoo saned[4427]: io/hpmud/musb.c 135: unable
get_string_descriptor -1: Operation not permitted
Oct 11 22:08:27 Gentoo saned[4427]: io/hpmud/musb.c 1949: invalid product id
string ret=-1
Oct 11 22:08:27 Gentoo saned[4427]: io/hpmud/musb.c 135: unable
get_string_descriptor -1: Operation not permitted
Oct 11 22:08:27 Gentoo saned[4427]: io/hpmud/musb.c 1954: invalid serial id
string ret=-1
Oct 11 22:08:29 Gentoo saned[4427]: quit: exiting
At this point I need a little help. Has anyone an idea? Thanks in advance

Markus
 
Old 10-11-2009, 03:55 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

Take a look here:
http://forums.amahi.org/viewtopic.php?f=6&t=623
<= You might be able to fix the permissions problem by editing rules in /etc/udev/rules.d

'Hope that helps .. PSM
 
Old 10-11-2009, 05:39 PM   #3
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Original Poster
Rep: Reputation: Disabled
Hello paulsm4,

thank you very much .

I've edited the /etc/udev/rules.d/70-hpmud.rules file and changed some permissions. After rebooting (since I don't yet know how to restart udev on my Gentoo-system in a safe manner) it worked. scanimage -L shows the device and I'm able to start xsane from one of the clients and use the scanner.

Markus
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
network everywhere NIC large downloads fail Bagleemo Linux - Networking 4 02-26-2006 12:18 PM
network fail after kde 3.4 upgrade baronlynx Linux - Networking 1 06-12-2005 04:02 AM
Fail to start KPPP and network satimis Fedora 7 05-11-2005 11:48 AM
Mandy 10.0 RC1 ETH0 fail and network down! rdoucet Mandriva 3 02-21-2004 01:47 PM
Network Scanner (=AA=) Linux - Software 1 12-08-2002 11:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration