Results 1 to 4 of 4

Thread: Sharing Printers from Hardy - Easy!!!

  1. #1
    Join Date
    Jan 2008
    Location
    Long Island, NY
    Beans
    63
    Distro
    Hardy Heron (Ubuntu Development)

    Sharing Printers from Hardy - Easy!!!

    I am new to linux and am trying to get used to it. One the requirements I have is to be able to share my USB connected printer with windows clients on my home network. All of the tutorials I located were from older versions and looked way to complicated for what I was trying to do.

    I ran across the best set of instructions in the following "How To" document... http://www.funnestra.org/ubuntu/hardy/

    Not only good tips on sharing printers but much more as well.

    I hope that others can make good use of it as well.

    Regards,

    Rich Adamo

  2. #2
    Join Date
    Apr 2007
    Location
    Ottawa, Canada
    Beans
    740
    Distro
    Kubuntu Development Release

    Re: Sharing Printers from Hardy - Easy!!!

    Since I'm in a networking class I found a mistake:

    sudo ufw allow from 192.168.0.0/16 to any port 631
    It should actually be

    sudo ufw allow from 192.168.0.0/24 to any port 631
    the network 192.168.0.0 is a Class C address not class B

    Also if you don't know if you have a firewall set up: If you installed Ubuntu 8.04 (which I assume is Heron), the ufw firewall is installed by default.
    This is not a signature.

  3. #3
    Join Date
    Jan 2008
    Location
    Long Island, NY
    Beans
    63
    Distro
    Hardy Heron (Ubuntu Development)

    Re: Sharing Printers from Hardy - Easy!!!

    Interesting... I didn't do the firewall steps but sharing my printer worked with my XP laptop.

    RA

  4. #4
    Join Date
    Oct 2005
    Beans
    86

    Re: Sharing Printers from Hardy - Easy!!!

    Quote Originally Posted by Jordanwb View Post
    It should actually be

    sudo ufw allow from 192.168.0.0/24 to any port 631
    I don't know much about these things, but according to Wikipedia, it should be 192.168.0.0/16.
    Restricting it to 192.168.0.24 would block addresses of the form 192.168.1.xxx which are used by some routers.


    Quote Originally Posted by Jordanwb View Post
    Also if you don't know if you have a firewall set up: If you installed Ubuntu 8.04 (which I assume is Heron), the ufw firewall is installed by default.
    While ufw does come with 8.04, I don't think it is enabled with any rules by default. You have to explicitly enable it and add rules yourself.
    Last edited by rumli; May 23rd, 2008 at 07:09 PM.

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
  •