Hi,
then you did not change /opt/etc/init.d/S01sane-backends.
This file looks at startup if the right service/port configuration is in /etc/services.
Regards
Oliver
Hi,
then you did not change /opt/etc/init.d/S01sane-backends.
This file looks at startup if the right service/port configuration is in /etc/services.
Regards
Oliver
Regards / Grüße,
Oliver
[How-To] Sane Scanner-Server mit XSane Frontend "german"
[How-To] Sane Scanner-Server with XSane Frontend "english"
Router: Wl500gP v1 nach Wengi's HowTo mit FW 1.9.2.7-d-r599
Speicher: Trekstor DataStation maxi 1 Tb
Clients: Kathrein UFS910 FullHD Sat Receiver, PS3, PCs, Canon MP830 an Sane Scanner-Server, Kyocera-Mita FS1020D über Printserver
I changed /opt/etc/init.d/S01sane-backends
Now I have 2 problems.
I change /etc/services tobut after the reboot it backs to sane-port. How that happens? Is it possible to have some file automatically doing that?Code:# Local services saned 6566/tcp # SANE network scanner daemon
I changed that and instead of rebooting I shut down xinetd and started it again and after that I run the code scanimage -L and I gotCode:[rmfontes@WL-500gp root]$ scanimage -L scanimage: '/opt/lib/sane/libsane-hpaio.so.1' is not an ELF file scanimage: '/opt/lib/sane/libsane-hpaio.so.1' is not an ELF file No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages).
Hi,
ok thats some problem with hplip-library. I have to figure out how to solve it.libsane-hpaio.so.1
Please post the file:
after a restart.Code:/opt/etc/init.d/S01sane-backends
The reason is a wrong "/opt/etc/init.d/S01sane-backends" because this file is looking for the right entry and if its not in, it will becreated. In your case, "sane-port" is created and not "saned". So as I told you, please post the file.but after the reboot it backs to sane-port. How that happens? Is it possible to have some file automatically doing that?
Regards
Oliver
Last edited by carterb; 30-10-2009 at 08:41.
Regards / Grüße,
Oliver
[How-To] Sane Scanner-Server mit XSane Frontend "german"
[How-To] Sane Scanner-Server with XSane Frontend "english"
Router: Wl500gP v1 nach Wengi's HowTo mit FW 1.9.2.7-d-r599
Speicher: Trekstor DataStation maxi 1 Tb
Clients: Kathrein UFS910 FullHD Sat Receiver, PS3, PCs, Canon MP830 an Sane Scanner-Server, Kyocera-Mita FS1020D über Printserver
I checked the /opt/etc/init.d/S01sane-backends file and it was sane-port. I don't know how it changed but it's ok now after the reboot. No error on the xinetd.
The only thing that does't work is scanimage -L.
Hi,
good!
I'm looking for a solution for the other problem.Code:scanimage: '/opt/lib/sane/libsane-hpaio.so.1' is not an ELF file scanimage: '/opt/lib/sane/libsane-hpaio.so.1' is not an ELF file
Regards
Oliver
Regards / Grüße,
Oliver
[How-To] Sane Scanner-Server mit XSane Frontend "german"
[How-To] Sane Scanner-Server with XSane Frontend "english"
Router: Wl500gP v1 nach Wengi's HowTo mit FW 1.9.2.7-d-r599
Speicher: Trekstor DataStation maxi 1 Tb
Clients: Kathrein UFS910 FullHD Sat Receiver, PS3, PCs, Canon MP830 an Sane Scanner-Server, Kyocera-Mita FS1020D über Printserver
Hi,
do the following for a test:
After restart do:Code:rm /opt/lib/sane/libsane-hpaio.so.1 ipkg remove hplip flashfs save && flashfs commit && flashfs enable && reboot
restart and try it again with:Code:ipkg install hplip
RegardsCode:scanimage -L
Oliver
Regards / Grüße,
Oliver
[How-To] Sane Scanner-Server mit XSane Frontend "german"
[How-To] Sane Scanner-Server with XSane Frontend "english"
Router: Wl500gP v1 nach Wengi's HowTo mit FW 1.9.2.7-d-r599
Speicher: Trekstor DataStation maxi 1 Tb
Clients: Kathrein UFS910 FullHD Sat Receiver, PS3, PCs, Canon MP830 an Sane Scanner-Server, Kyocera-Mita FS1020D über Printserver
hplip problem solved
scanimage -L still doesn't detect the scanner
Many thanks for the HowTo!
I followed the whole thing and my Epson all-in-one RX520 is now connected to the ASUS WL-500 g Premium.
What is working:
- printing ubuntu Karmic & Jaunty
- printing Windows XP
- sane-find-scanner detects the scanner
- scanimage -L detects the scanner after adding "0x04b8 0x081a" to epson2.conf
I scanned an image (with scanimage) locally on the router and was able to save to the external storage device.
What is not working:
scanning over the network with xsane (Ubuntu and Windows XP)
- I double checked with the instructions in the HowTo
- what am I doing wrong - have missed something
- how to analyse - logs - commands ?
Hi,
whats the error message of XSane?
Could be a network problem.
After a restart pleaso post the output of the following commands:
Code:grep "saned" /etc/servicesCode:grep "saned" /opt/etc/init.d/S01sane-backendsPost the complete output of xinetd.Code:#Restart xinetd killall xinetd xinetd -d
From your Windows-Commandline (cmd), type
If the output is a black screen, well! Otherwise post the error-message.Code:telnet ip.of.your.router 6566
Regards
Oliver
Regards / Grüße,
Oliver
[How-To] Sane Scanner-Server mit XSane Frontend "german"
[How-To] Sane Scanner-Server with XSane Frontend "english"
Router: Wl500gP v1 nach Wengi's HowTo mit FW 1.9.2.7-d-r599
Speicher: Trekstor DataStation maxi 1 Tb
Clients: Kathrein UFS910 FullHD Sat Receiver, PS3, PCs, Canon MP830 an Sane Scanner-Server, Kyocera-Mita FS1020D über Printserver
Thanks for the quick reply, here my answers:
Output of Xsane: no devices available
Code:grep "saned" /etc/servicessaned 6566/tcp # SANE network scanner daemonCode:grep "saned" /opt/etc/init.d/S01sane-backendsif !( grep -q ^saned /etc/services ); then
echo "saned 6566/tcp # SANE network scanner daemon" >> /etc/servicesCode:#Restart xinetd killall xinetd xinetd -dsh: xinetd: not foundCode:telnet 192.168.1.1 6566Trying 192.168.1.1...
telnet: Unable to connect to remote host: Connection refused
I suppose a xinetd and/or connection problem? My answers made me thinking:
due to some reason "xinetd" was not installed (not seen in HowTo, forgotten, ...), but
andCode:ipkg install xinetd
Did help me one step furtherCode:flashfs save && flashfs commit && flashfs enable && reboot
Now Xsane is starting remotely, but gives the following error:
Unknown SANE status code -1081075667I'll keep searching?
I tried scanimage both on Ubuntu and Windows and the output of
on Ubuntu gives:Code:scanimage -L
WARNING: Unhandled message: interface=org.freedesktop.DBus.Introspectable, path=/, member=Introspect
device `net:192.168.1.1:epson2:libusb:003:003' is a Epson generic flatbed scanner
Thx
Last edited by wiert; 16-10-2009 at 23:04. Reason: partially solved
Hi,
are you sure, xinetd is installed correctly now??
please again (now with xinetd installed) post the output of:
And post your xinetd-sane-file:Code:#Restart xinetd killall xinetd xinetd -d
I'm looking for the error message on sane-support, because I do not know it.Code:vi /opt/etc/xinetd.d/saned
Regards
Oliver
Regards / Grüße,
Oliver
[How-To] Sane Scanner-Server mit XSane Frontend "german"
[How-To] Sane Scanner-Server with XSane Frontend "english"
Router: Wl500gP v1 nach Wengi's HowTo mit FW 1.9.2.7-d-r599
Speicher: Trekstor DataStation maxi 1 Tb
Clients: Kathrein UFS910 FullHD Sat Receiver, PS3, PCs, Canon MP830 an Sane Scanner-Server, Kyocera-Mita FS1020D über Printserver
Hi,
Part II:
The output of
looks likeCode:#Restart xinetd killall xinetd xinetd -d
and my xinetd-sane-file:Code:70/1/1@13:19:03: DEBUG: 1662 {handle_includedir} Reading included configuration file: /opt/etc/xinetd.d/saned [file=/opt/etc/xinetd.conf] [line=15] Service defaults Instances = 60 CPS = max conn:25 wait:30 Bind = All addresses. Only from: localhost(HOST) 10.0.0.0/255.0.0.0(NET) 172.16.0.0/255.240.0.0(NET) 192.168.0.0/255.255.0.0(NET) No access: No blocked sites Logging to syslog. Facility = authpriv, level = info Log_on_success flags = HOST PID Log_on_failure flags = HOST Service configuration: saned id = saned flags = IPv4 socket_type = stream Protocol (name,number) = (tcp,6) port = 6566 wait = no user = 0 group = 0 Groups = no PER_SOURCE = -1 Bind = All addresses. Server = /opt/sbin/saned Server argv = saned Only from: localhost(HOST) 10.0.0.0/255.0.0.0(NET) 172.16.0.0/255.240.0.0(NET) 192.168.0.0/255.255.0.0(NET) No access: No blocked sites Logging to syslog. Facility = authpriv, level = info Log_on_success flags = HOST PID Log_on_failure flags = HOST 70/1/1@13:19:03: DEBUG: 1662 {cnf_start_services} Started service: saned 70/1/1@13:19:03: DEBUG: 1662 {cnf_start_services} mask_max = 6, services_started = 1 70/1/1@13:19:03: NOTICE: 1662 {main} xinetd Version 2.3.14 started with no options compiled in. 70/1/1@13:19:03: NOTICE: 1662 {main} Started working: 1 available service 70/1/1@13:19:03: DEBUG: 1662 {main_loop} active_services = 1
If nothing wrong with the above output, probably a backend problem?Code:service saned { port = 6566 socket_type = stream server = /opt/sbin/saned protocol = tcp user = admin group = root wait = no disable = no }
I had to put manufacturer ID and device ID manually in epson2.conf to let scanimage recognise the scanner?
Thx!
Hello!
Great thanks for you howto, carterb!
But I have the same problem as weirt with my Epson Stylus Photo RX640. The output of all commands are the same as weirt's. Except two things.
1) xsane gave me a segmentation fault.
2) I am able to get scan using simple scanimage > temp.png on my PC running Ubuntu Linux.
Hi,
this seems to be a problem with the epson2 backend.But I have the same problem as weirt with my Epson Stylus Photo RX640. The output of all commands are the same as weirt's. Except two things.
1) xsane gave me a segmentation fault.
2) I am able to get scan using simple scanimage > temp.png on my PC running Ubuntu Linux.
I'm working on a solution.
Regards
Oliver
Regards / Grüße,
Oliver
[How-To] Sane Scanner-Server mit XSane Frontend "german"
[How-To] Sane Scanner-Server with XSane Frontend "english"
Router: Wl500gP v1 nach Wengi's HowTo mit FW 1.9.2.7-d-r599
Speicher: Trekstor DataStation maxi 1 Tb
Clients: Kathrein UFS910 FullHD Sat Receiver, PS3, PCs, Canon MP830 an Sane Scanner-Server, Kyocera-Mita FS1020D über Printserver