Results 1 to 15 of 108

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

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2005
    Location
    Slovenia
    Posts
    736
    Sane backends are available for oleg and dd'wrt firmware through Nslu2 Optware feeds. It should work if your scanner is supported. With additional USB key for software, maybe.

  2. #2
    Greetings. Has read, but has not understood, how to me to connect the scanner to Asus wl-500gp? Help. Stick with a nose.

  3. #3

    it doesn't mount

    Hi all, thanks for the thread. Trying to follow, but the scanner simply would not mount.

    Code:
    Oct 23 23:58:34 kernel: usb.c: registered new driver usbscanner
    Oct 23 23:58:34 kernel: scanner.c: 0.4.16:USB Scanner Driver
    Oct 23 23:58:34 kernel: scanner.c: probe_scanner: User specified USB scanner -- Vendor:Product - 924:4265
    What I'm missing here is a row that says "mounted to scanner0".

    sane-find-scanner sees the MFD (Xerox 3119), but scanimage -L wouldn't work.

    Possible reasons:
    1. I put my username in the xinetd config, but ommited group (simply don't know how to find out what it should be)
    2. Xerox 3119 is not supported by Sane (however I saw people working with it in Ubuntu)

    If you know what's the problem, thanks in advance for helping me here. Best.

  4. #4

    Unhappy

    Hi everyone!
    Could somebody give me correct /opt/etc/xinetd.d/saned file for samsung 4200 ?
    Right now I have this one
    Code:
    service saned
    {
    port = 6566
    socket_type = stream
    server = /opt/sbin/saned
    protocol = tcp
    user = root
    group = root
    wait = no
    disable = no
    }
    But it's incorrect, because of errors

    Code:
    Nov 30 10:32:42 xinetd[296]: Bad socket type: stream^M [file=/opt/etc/xinetd.d/saned] [line=4]
    Nov 30 10:32:42 xinetd[296]: Error parsing attribute socket_type - DISABLING SERVICE [file=/opt/etc/xinetd.d/saned] [line=4]
    Nov 30 10:32:42 xinetd[296]: Server /opt/sbin/saned^M is not executable [file=/opt/etc/xinetd.d/saned] [line=5]
    Nov 30 10:32:42 xinetd[296]: Error parsing attribute server - DISABLING SERVICE [file=/opt/etc/xinetd.d/saned] [line=5]
    Nov 30 10:32:42 xinetd[296]: Protocol tcp^M not in /etc/protocols [file=/opt/etc/xinetd.d/saned] [line=6]
    Nov 30 10:32:42 xinetd[296]: Error parsing attribute protocol - DISABLING SERVICE [file=/opt/etc/xinetd.d/saned] [line=6]
    Nov 30 10:32:42 xinetd[296]: Unknown user: root^M [file=/opt/etc/xinetd.d/saned] [line=7]
    Nov 30 10:32:42 xinetd[296]: Error parsing attribute user - DISABLING SERVICE [file=/opt/etc/xinetd.d/saned] [line=7]
    Nov 30 10:32:42 xinetd[296]: Unknown group: root^M [file=/opt/etc/xinetd.d/saned] [line=8]
    Nov 30 10:32:42 xinetd[296]: Error parsing attribute group - DISABLING SERVICE [file=/opt/etc/xinetd.d/saned] [line=8]
    Nov 30 10:32:42 xinetd[296]: Bad value for wait: no^M [file=/opt/etc/xinetd.d/saned] [line=9]
    Nov 30 10:32:42 xinetd[296]: Error parsing attribute wait - DISABLING SERVICE [file=/opt/etc/xinetd.d/saned] [line=9]
    Nov 30 10:32:42 xinetd[296]: Bad value: no^M [file=/opt/etc/xinetd.d/saned] [line=10]
    Nov 30 10:32:42 xinetd[296]: Error parsing attribute disable - DISABLING SERVICE [file=/opt/etc/xinetd.d/saned] [line=10]
    Nov 30 10:32:42 xinetd[296]: 296 {init_services} no services. Exiting...
    I understand, that i have incorrect values, but i don't have true parameters
    Advise me somebody!!

  5. #5
    Can anyone help? =(

  6. #6
    Join Date
    Dec 2004
    Location
    the netherlands
    Posts
    155
    try changing user = root to change to admin. That is if you logon to the box as admin.

  7. #7
    I tried it, but nothing. =( it was a error too =(

  8. #8
    Quote Originally Posted by Aristotel View Post
    Hi everyone!
    Could somebody give me correct /opt/etc/xinetd.d/saned file for samsung 4200 ?
    Right now I have this one

    (snip....)

    But it's incorrect, because of errors

    Code:
    Nov 30 10:32:42 xinetd[296]: Bad socket type: stream^M [file=/opt/etc/xinetd.d/saned] [line=4]
    I understand, that i have incorrect values, but i don't have true parameters
    Advise me somebody!!

    To quote a post from earlier in this thread:
    Quote Originally Posted by oleo View Post
    It is obvious that you have DOS CR/LF problem. Erase config and type if from scratch using vi.
    All the ^M characters you see in the log are linefeed characters. They are probably in the config file because you edited it on a windows/dos (mac?) machine.
    Make sure there are no more line feed characters in the file, for instance by starting over using vi.
    http://www.brandonhutchinson.com/DOS...haracters.html

  9. #9

    can't edit /etc/services

    I'm trying to follow alex_g's suggestions from 23-08-2005 -

    6) add the following line to /etc/services:
    saned 6566/tcp # SANE network scanner daemon

    but I can't seem to edit my /etc/services file. It seems the filesystem is read-only, and I can't figure out how to make it rw. I'm running dd-wrt on an ASUS WL-520GU.

    root@asus_router:/# mount
    rootfs on / type rootfs (rw)
    /dev/root on / type squashfs (ro)
    none on /dev type devfs (rw)
    proc on /proc type proc (rw)
    ramfs on /tmp type ramfs (rw)
    /dev/mtdblock/4 on /jffs type jffs2 (rw)
    /dev/discs/disc0/part1 on /opt type ext3 (rw)

    I've tried lots of variations of the "mount" command to change it to rw, including

    mount -no rw /

    and other similar iterations. Every time I go back and check the status, the root fs is still (ro). Does anyone know how to change this?

  10. #10
    Join Date
    Jul 2007
    Location
    Germany, Bonn
    Posts
    374
    Hi,

    take a look at this How-To.

    http://wl500g.info/showthread.php?p=160036#post160036

    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

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
  •