What is ok, only xinetd or the scanner-server ;) ??Quote:
I saw an error but now it's installed and ok.
xinetd now looks good.
Printable View
What is ok, only xinetd or the scanner-server ;) ??Quote:
I saw an error but now it's installed and ok.
xinetd now looks good.
xinetd works without errors. the problem about scanimage -L is the same. the sane-find-scanner detect the scanner but the other doesn't
Hi,
please execute the following command and post the log-file:
RegardsCode:scanimage -T >> /tmp/sane-log.log
Oliver
[rmfontes@WL-500gp root]$ scanimage -T >> /tmp/harddisk/sane-log.log
scanimage: no SANE devices found
the log file is empty
Hi,
are you sure that hpaio is listed in:
Post the output of:Code:/opt/etc/sane.d/dll.conf
RegardsCode:grep "hpaio" /opt/etc/sane.d/dll.conf
Oliver
Hi,
I have another idea, how to solve the problem:
I compiled a new version of the sane-backends-wl500.
Download it here. Its just a beta for testing!
Remove your old version with:
And install the new version like it is explaint in the HowTo.Code:ipkg remove sane-backends-wl500
Attention: Package-name is now:
so you have to customise the install-command.Code:sane-backends_1.0.20_V1.1_for_AsusWL500gP_mipsel
This version works togehter with the hplip from ipkg-server.
Now remove your hplip-wl500gp:
And install the version from ipkg-server:Code:ipkg remove hplip-wl500gp
If the following message appears, type "n" for "NO":Code:ipkg install hplip
Again check if the entry hpaio is in /opt/etc/sane.d/dll.conf:Code:Configuration file '/opt/etc/sane.d/dll.conf'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions (if diff is installed)
The default action is to keep your current version.
*** dll.conf (Y/I/N/O/D) [default=N] ?n
Configuring hplip
if the output is empty just type:Code:grep "hpaio" /opt/etc/sane.d/dll.conf
And again:Code:echo "hpaio" >> /opt/etc/sane.d/dll.conf
Now it should be in :rolleyes:Code:grep "hpaio" /opt/etc/sane.d/dll.conf
Restart and test if it works.
Regards
Oliver
i followed the new how to and the problem is the same
Hi,
just to be sure, you have the latest router firmware installed?
Regards
Oliver
I have the oleg 1.9.2.7-d-r617.
Do I nedd to configure xinetd? yesterday I configured because in the installation process I was told and I tested and the result was the same. Today I saw an error:
Today I erased the information on the /opt/etc/xinetd.d/saned file and tested and the result is still the sameCode:Jan 1 00:00:53 xinetd[174]: missing service keyword [file=/opt/etc/xinetd.d/saned] [line=1]
Jan 1 00:00:53 xinetd[174]: 174 {init_services} no services. Exiting...
Hi,
open the file:
and add the following line at the top of the file.Code:/opt/etc/xinetd.d/saned
It should look someting like this but with your "root"-user in it:Code:service saned
Restart the router and try again.Code:service saned
{
socket_type = stream
server = /opt/sbin/saned
protocol = tcp
user = admin
group = root
wait = no
disable = no
}
Regards
Oliver
withi getCode:service saned
{
socket_type = stream
server = /opt/sbin/saned
protocol = tcp
user = admin
group = root
wait = no
disable = no
}
If I add the port = 6566 on the file I getCode:Oct 9 16:54:29 xinetd[187]: Port not specified and can't find service: saned with getservbyname
Oct 9 16:54:29 xinetd[187]: 187 {init_services} no services. Exiting...
so I checked the /etc/services file and I have at the endCode:Oct 9 16:58:59 xinetd[187]: service/protocol combination not in /etc/services: saned/tcp
Oct 9 16:58:59 xinetd[187]: 187 {init_services} no services. Exiting...
Code:# Local services
sane-port 6566/tcp # SANE network scanner daemon
I also 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
Hi yes, you have to change the service name to "saned":
And do a restart.Code:# Local services
saned 6566/tcp # SANE network scanner daemon
Regards
Oliver
Hi,
you also have to change the following file:
Has to look like that:Code:/opt/etc/init.d/S01sane-backends
Restart.Code:#!/bin/sh
PATH=/sbin:/bin:/usr/bin:/usr/sbin:/opt/bin:/opt/sbin
if !( grep -q ^saned /etc/services ); then
echo "saned 6566/tcp # SANE network scanner daemon" >> /etc/serv
fi
Regards
Oliver
Hi, did you also do that:
http://wl500g.info/showpost.php?p=163772&postcount=28
Regards
Oliver