Results 1 to 10 of 10

Thread: I need to share a scanner on my network in Karmic Koala/Lucid Lynx

  1. #1
    Join Date
    Jan 2012
    Posts
    62

    I need to share a scanner on my network in Karmic Koala/Lucid Lynx

    as I am not finding any means in performing the procedure as denoted in the title and so can you help me as I think this is a possible case and it would be easy to do that if you are able to solve it. So I need to share a scanner on your network in Karmic Koala/Lucid Lynx and suggest some means for the same.

  2. #2
    Join Date
    Aug 2011
    Posts
    322

    Re: I need to share a scanner on my network in Karmic Koala/Lucid Lynx

    I will provide some solution which will help you in your case, so to start regarding the topic, you need to make sure first your scanner is installed properly and it is functioning fully. If you require to install your scanner first, have a look at the ScanningHowTo. And to make sure if your scanner has a proper connection along with checking the installation properly you can make use of the command "scanimage -L".

  3. #3
    Join Date
    Aug 2011
    Posts
    308

    Re: I need to share a scanner on my network in Karmic Koala/Lucid Lynx

    I was also concerning to the same case and I need to say that you have to install some more packages so as to enable what you wish to.
    So, you need to install the package sane-utils:

    Code:
    sudo apt-get install sane-utils
    and then you need to make an installation of server-side setup, you need to open /etc/default/saned with a text editor and write the following code.
    Code:
    gksudo gedit /etc/default/saned
    after this , you will require to set RUN to yes and save and exit the file. And as a result , you will be with that the file will look like this:
    Code:
    # Defaults for the saned initscript, from sane-utils
    
    # Set to yes to start saned
    RUN=yes
    
    # Set to the user saned should run as
    RUN_AS_USER=saned
    Then you will require to open /etc/sane.d/saned.conf with a text editor, here is the code you need to enter.
    Code:
    gksudo gedit /etc/sane.d/saned.conf
    you need to locate the following section and modify it bymaking use of the ip and netmask settings of your scanner server. as well amend if you only wish for certain hosts to be able to make use of the scanner:


    Code:
    ## Access list
    # A list of host names, IP addresses or IP subnets (CIDR notation) that
    # are permitted to use local SANE devices. IPv6 addresses must be enclosed
    # in brackets, and should always be specified in their compressed form.
    #
    # The hostname matching is not case-sensitive.
    
    #scan-client.somedomain.firm
    #192.168.0.1
    192.168.1.0/24
    #[2001:7a8:185e::42:12]
    #[2001:7a8:185e::42:12]/64
    Then have a restart of the saned daemon:

    Code:
    sudo service saned restart
    and then make an addition of the saned user to the lp group so it is able to access the scanner:

    Code:
    sudo adduser saned lp

  4. #4
    Join Date
    Aug 2011
    Posts
    379

    Re: I need to share a scanner on my network in Karmic Koala/Lucid Lynx

    It has also been seen that you will require to make an Client-side setup so as to complete your entire process. And here is some solution with which you can try with.
    On every client computer you wish for to give access to the scanner, you will require to open the /etc/sane.d/net.conf with a text editor:
    gksudo gedit /etc/sane.d/net.conf

    after this , moreover , you also require to add the ip-address or hostname to the end of the file.

    Code:
    ## saned hosts
    # Each line names a host to attach to.
    # If you list "localhost" then your backends can be accessed either
    # directly or through the net backend.  Going through the net backend
    # may be necessary to access devices that need special privileges.
    # localhost
    192.168.1.1
    And this is the only process you require to perform as you should now be able to access the scanner by making use of Simple Scan, XSane, and so on.

  5. #5
    Join Date
    Aug 2011
    Posts
    308

    Re: I need to share a scanner on my network in Karmic Koala/Lucid Lynx

    I made some several tries in this case and there were no errors while installing the above process , but still I was not able to have a proper connection between the devices , so I found some more information and it came in my notice that there are more things to consider and the above process is somewhat incomplete. So here is what I found , to make an installation of Web interface. In order to provide a web interface for your scanner you need to make an installation of the packages netpbm tesseract-ocr-eng apache2:

    Code:
    sudo apt-get install netpbm tesseract-ocr-eng apache2

  6. #6
    Join Date
    Jul 2011
    Posts
    229

    Re: I need to share a scanner on my network in Karmic Koala/Lucid Lynx

    Yes, it said correctly by the previous post that performing only client and server setup are not essential for making an connection with the scanner and you also need to configure the web server:As you require to setup Apache2 so that it allows CGI scripts to run:


    Code:
    echo 'AddHandler cgi-script .cgi' | sudo tee -a /etc/apache2/apache2.conf
    after this code, allow CGI scripts to be executed in /var/www/below is the code to do so.

    Code:
    sudo sed -i.bak 's/FollowSymLinks MultiViews/FollowSymLinks MultiViews ExecCGI/g' /etc/apache2/sites-available/default
    And then you need to restart the apache2 web server, code mentioned here.


    Code:
    sudo service apache2 restart

  7. #7
    Join Date
    Nov 2010
    Posts
    363

    Re: I need to share a scanner on my network in Karmic Koala/Lucid Lynx

    You also require to install the scanner server:
    And you need to change to the /var/www/ folder:


    Code:
    cd /var/www
    you also require to download the scan server archive:


    Code:
    sudo wget
    you need to unzip the archive further.


    Code:
    sudo tar xvf scan*.tar
    then the next step is to delete the archive:


    Code:
    sudo rm scan*.tar

  8. #8
    Join Date
    Nov 2010
    Posts
    442

    Re: I need to share a scanner on my network in Karmic Koala/Lucid Lynx

    At last you also require to connect to scanner server. You are also able to access the server by making use of its ip address following by /scan. In our case:

    Code:
    http://192.168.1.1/scan

  9. #9
    Join Date
    Dec 2010
    Posts
    334

    Re: I need to share a scanner on my network in Karmic Koala/Lucid Lynx

    I tried with the above solutions but , I suppose that a bit of them are not working. But , I managed to fix the printer. Port forwarding 6566 (sane-port) and by making use of easy scan/xsane is not a fine thought, at least for my hp psc 2410xi. It will not scan but will turn something up on the scanner and it will not locate the end of the scanner bay. I am making use of the beta server scripts and I went through the source along with saw this in inc/header.inc


    Code:
    <div id="tab">
    <a href="index.cgi?page=config">Configure</a>
    </div>
    
    <div id="tab">
    <a href="index.cgi?page=scans">Recent Scans</a>
    </div>
    
    <div id="tab">
    <a href="index.cgi?page=scan">Scan Image</a>
    </div>
    
    <div id="tab">
    <a href="http://$$SERVER_NAME">$$SERVER_NAME</a>
    </div>
    ids are supposed to me unique use a class attribute rather than of a id attribute. as well update inc/style.css along with config/style.css to make use of a class and not a id . in addition in my view adding a border radius to the tabs look better in this case.
    css:


    Code:
      -moz-border-radius: 5px;
        border-radius: 5px;
        -webkit-border-radius: 5px;
        -o-border-radius: 5px;

  10. #10
    Join Date
    Mar 2011
    Posts
    490

    Re: I need to share a scanner on my network in Karmic Koala/Lucid Lynx

    I can get with what you are saying in the previous posts but I don’t have enough knowledge regarding the html/Javascript. I noticed there were some cosmetic issues but didn't know some means to fix them. for instance, there is supposed to be a progress bar displayed at the time of scans but it is not able to show. But some developer guy suggested starting with the beta tarball, and then he told me to add my patch, then make diffs of your changes with:
    Code:
    diff -uN <original file> <modified file> >update.patch
    So after this all was working fine in our case.

Similar Threads

  1. Replies: 3
    Last Post: 01-07-2010, 01:20 AM
  2. Lucid Lynx to Ubuntu upgrade
    By anughellboy in forum Operating Systems
    Replies: 2
    Last Post: 27-04-2010, 10:39 AM
  3. When is Lucid Lynx coming out?
    By UbuntU-ME in forum Operating Systems
    Replies: 5
    Last Post: 11-12-2009, 09:43 AM
  4. Karmic Koala Alpha 5 released
    By Solomon in forum Operating Systems
    Replies: 2
    Last Post: 04-09-2009, 04:59 PM
  5. Ubuntu 9.10 - The Karmic Koala Alpha 1
    By Rudra.J in forum Operating Systems
    Replies: 3
    Last Post: 14-05-2009, 09:37 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,664,886,945.09782 seconds with 17 queries