Skip to content

Scanserv and Sane via Entware on dd-wrt #2

@ian5142

Description

@ian5142

I have installed sane via Entware (http://entware-3x.zyxmon.org/) on my D-Link 862L router. I have also installed php5, php5-cgi and lighttpd. I can serve php and html files from the router and I can view your scanserv page at router's-ip:81/scanserv .
The problem is that it does not do preview or scan a page. Sane works fine via SANEtwain and via command line (scanimage -L and scanimage --test)

I did give the entire www folder that lighttpd is using chmod 775 several times.

My config.php is:

class Config {
const IsTrace = false;
const TraceLineEnding = "
\n";
const Scanimage = "/opt/bin/scanimage";
const Convert = "/opt/usr/local/sbin/convert";
const BypassSystemExecute = false;
const OutputDirectory = "/opt/share/www/scanserv/output/";
const PreviewDirectory = "/opt/share/www/scanserv/preview/";
const MaximumScanWidthInMm = 216;
const MaximumScanHeightInMm = 297;
}

scanimage bin is actually located there. The problem is most likely that it can't find convert. I did search for convert in the default location (/usr/local/sbin/convert) and everywhere else. I can't find it. How do I install convert? Was it supposed to be installed with scanimage (when I installed sane-frontends and sane-backends and sane-libs)? If it was any idea on where I can find a copy of it for mips 3X kernel?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions