Page 2 of 8 FirstFirst 1234 ... LastLast
Results 16 to 30 of 108

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

  1. #16
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    Quote Originally Posted by Jean-Fabrice
    done.
    as usual :
    ipkg update
    ipkg install sane-backends

    You'll need xinetd or inetd (inetutils) to make it run.
    JF, you're master of ipkgs.

  2. #17
    Join Date
    Jul 2004
    Location
    near Lyon @ France
    Posts
    195
    Quote Originally Posted by Oleg
    JF, you're master of ipkgs.
    No. I'm justing trying to learn from gurus like you & rod.

  3. Saned Working

    I'm trying to get saned working on my wl500g. Saned is working but it isn't detecting my HP PSC 2100. Does any body got it working.

    Hope to hear from you soon. I'm real looking forward to get it working.

  4. #19

    its working

    Hello,

    After figuring out for several hours what's wrong I got an solution:

    The main problem is that the required kernel module for scanner support is not yet compiled in the wl500g kernel (and I found it nowhere on the net)

    Here a list of my steps:

    Precondition: / must be writable!

    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


    To use the system from remote you have to adapt your local /etc/sane.d/net.conf and add the adress of the router to the file.

    It is also possible to access the scanner over net via windows. (See www.sane-project.org for details)


    HINTS:
    after installing xinetd and sane-backends you can do "/opt/sbin/xinetd -d" for debugging output: when doing sane-find-scanner from another machine you should see xinetd starting and stopping saned

    you may also test sane-find-scanner after loading the module to see if your scanner is supported:

  5. #20

    addition

    oops... I found the upload button...

    put the module into

    /lib/modules/2.4.20/kernel/drivers/usb
    Attached Files Attached Files

  6. #21

    Unhappy Scanner detected but unable to scan

    Hi all

    I tried to attach an Epson USB-Scanner to my WL500gx. At first it looks good, but I'm unable to scan anything. Directly connected to my linux-notebook, this scanner works great with sane.

    What I did:
    - Installed sane-backends
    - and alex_g's scanner.o

    sane-find-scanner shows me now the device, but scanning with scanimage does not work (see output below).

    Any ideas?

    Thanks.

    Thomas

    Code:
    [admin@router /tmp]$ sane-find-scanner
    ...
    found USB scanner (vendor=0x04b8, product=0x011d) at /dev/usb/scanner0
    found USB scanner (vendor=0x04b8 [EPSON], product=0x011d [EPSON Scanner], chip=LM983x?) at libusb:001:002
      # Your USB scanner was (probably) detected. It may or may not be supported by
      # SANE. Try scanimage -L and read the backend's manpage.
    ...
    
    [admin@router /tmp]$ scanimage -L
    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).

  7. #22
    hi!

    can someone tell me how i can copy the scanner.o into the directory /lib/modules/2.4.20/kernel/drivers/usb/ ?

    it seams that this is a readonly file system. then when i want to creat a new textfile with nano in this directory, there comes an error " [ Could not open file for writing: Read-only file system ] "

    can somebody help me?

    thanks!

  8. #23
    Quote Originally Posted by noiser
    then when i want to creat a new textfile with nano in this directory, there comes an error " [ Could not open file for writing: Read-only file system ] "
    Here is the answer:
    Quote Originally Posted by alex_g
    Precondition: / must be writable!
    Here it is explained how to do this.

  9. #24
    ok. so i need to write a procedure into the post-firewall which copys the scanner.o file to /lib/modules/2.4.20/kernel/drivers/usb/ ?

    what is the meaning of / must be writable?

    greez

  10. #25
    Quote Originally Posted by noiser
    ok. so i need to write a procedure into the post-firewall which copys the scanner.o file to /lib/modules/2.4.20/kernel/drivers/usb/ ?

    what is the meaning of / must be writable?

    greez
    '/' = root directory

    I posted a link to a howto. The topic is "Root file system on the external USB drive"
    Last edited by snobordo; 26-06-2006 at 17:40.

  11. #26
    Join Date
    Dec 2004
    Location
    the netherlands
    Posts
    155
    If you don't want to have a writeable / here's what I did:

    I've put scanner.o in /opt/scanner (/opt is writeable ). Then put in post-boot 'insmod /opt/scanner/scanner.o' instead of 'insmod scanner'.

    I am happy though with the guidance in this thread, I've got my HP scanjet up and running nicely now so everyone can use the scanner and not everyone needs my pc since it had the scanner attached

  12. #27
    I just spend 4 hours on setting up my WL-500gP (hdd, partition, mount, post-boot, etc) to get SANE working with my Epson DX6000.
    I just finished installing "sane-backends" with ipkg.

    Now I'm stuck.
    How do I copy the scanner.o.bz2 file from my windows desktop to the router?

  13. #28
    ftp is a easy choice.

  14. #29
    Is FTP available out of the OLEG package? Can I just "ftp://192.168.1.1"? I can't access my box at home now. So I can't try right now.

  15. #30
    You can simply enable it from the web interface. It is the same procedure as in the standard firmware.

Page 2 of 8 FirstFirst 1234 ... LastLast

Similar Threads

  1. wl-500g / ftp-server
    By tthen in forum WL-500g Q&A
    Replies: 2
    Last Post: 06-11-2006, 17: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, 12:06
  3. Replies: 11
    Last Post: 17-08-2004, 09:22
  4. Sharing USB scanner or multifunction device
    By monnier in forum WL-500g Q&A
    Replies: 0
    Last Post: 22-07-2004, 23:42
  5. Use Scanner on Parallel port
    By bysoftie in forum WL-500g Q&A
    Replies: 1
    Last Post: 01-05-2004, 21: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
  •