Results 1 to 15 of 108

Thread: SANE (Scanner server) - Any chance for WL-500g?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #17
    Hi,

    I tried to connect my HP Scanjer 3500C to my WL-500G Deluxe.
    I have followed this howto:
    1) I had to recompile the sources in order to get the missing scanner.o kernel module (you can recompile the sources for yourself or I can send you the module; just mail me your email adress )

    -> trying an "insmod scanner" -> result:

    usb.c: registered new driver usbscanner
    scanner.c: USB scanner device (0x04a9/0x220d) now attached to scanner0
    scanner.c: 0.4.16:USB Scanner Driver
    so far so good...

    now you can try sane-find-scanner and check if your scanner is found

    2) ipkg install xinetd (from unslung)
    3) ipkg install sane-backends (from unslung)
    4) remove all files from /opt/etc/xinetd.d:
    rm /opt/etc/xinetd.d/*
    5) create a new file in /opt/etc/xinetd.d/ called saned containing the following lines:

    service saned
    {
    port = 6566
    socket_type = stream
    server = /opt/sbin/saned
    protocol = tcp
    user = root
    group = root
    wait = no
    disable = no
    }

    6) add the following line to /etc/services:
    saned 6566/tcp # SANE network scanner daemon
    7) copy /etc/services to /usr/local/etc/services
    8) edit /opt/etc/sane.d/saned.conf:
    add the following line (after adapting it to your network):
    192.168.1.0/24 #grant access to scanner from network 192.168.1.x
    9) finally edit /usr/local/sbin/post-boot and add the following lines:

    insmod scanner # load scanner module first
    cp /usr/local/etc/services /etc/services # copy the previously modified services file to /etc
    /opt/sbin/xinetd # start xinetd as wrapper for saned

    10) finally.. (pooh) do a

    flashfs save && flashfs commit && flashfs enable

    11) reboot
    Everything looks fine in systemlog:

    Jan 1 01:02:57 xinetd[141]: xinetd Version 2.3.14 started with no options compiled in.
    Jan 1 01:02:57 xinetd[141]: Started working: 1 available service
    Jan 1 01:00:26 kernel: usb.c: registered new driver usbscanner
    Jan 1 01:00:26 kernel: scanner.c: USB scanner device (0x03f0/0x2205) now attached to scanner0
    Jan 1 01:00:26 kernel: scanner.c: 0.4.16:USB Scanner Driver
    and sane-find-scanner give:

    found USB scanner (vendor=0x03f0, product=0x2205) at /dev/usb/scanner0
    and "scanimage -L" give:

    [admin@routertje root]$ scanimage -L
    device `hp3500:/dev/usb/scanner0' is a Hewlett-Packard ScanJet 3500 scanner
    I have tried to scan from my windows PC with Sanetwain, it says "connected to 192.168.1.2" , but give a time out!!
    And when i try that, the system log give:
    Jan 1 01:04:05 xinetd[143]: START: saned pid=186 from=192.168.1.101
    that's looks ok...

    Can anyone help me?
    Last edited by Dutchman; 04-03-2007 at 23:12.

Similar Threads

  1. wl-500g / ftp-server
    By tthen in forum WL-500g Q&A
    Replies: 2
    Last Post: 06-11-2006, 16:52
  2. Chance for RADIUS Server on the router itself!
    By Dante_ in forum WL-500g Custom Development
    Replies: 50
    Last Post: 17-05-2006, 11:06
  3. Replies: 11
    Last Post: 17-08-2004, 08:22
  4. Sharing USB scanner or multifunction device
    By monnier in forum WL-500g Q&A
    Replies: 0
    Last Post: 22-07-2004, 22:42
  5. Use Scanner on Parallel port
    By bysoftie in forum WL-500g Q&A
    Replies: 1
    Last Post: 01-05-2004, 20:45

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •