public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Daniel da Veiga" <danieldaveiga@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Printer Sharing with Samba
Date: Thu, 9 Mar 2006 16:18:47 -0300	[thread overview]
Message-ID: <342e1090603091118h49165ba5nf2038d0ae817de23@mail.gmail.com> (raw)
In-Reply-To: <558b73fb0603091035n5f15a62emadc3e80cb140f902@mail.gmail.com>

On 3/9/06, Michael Crute <mcrute@gmail.com> wrote:
> On 3/8/06, Kris Kerwin <kkerwin@insightbb.com> wrote:
> > Hi folks!
> >
> > I have a quick question.
> >
> > I'm a college student. I share my printer with my roommate. We have
> > separate computers; he uses Windows XP, and I Gentoo. Together, we're
> > behind our school's router which dynamically assigns us both IP's.
> >
> > Currently, in order to share our printer, we simply unplug it from one
> > another's computers. However, we would like to be able to share it
> > over the network instead to make life easier for the both of us.
> > However, there are a few problems that I'm foreseeing.
> >
> > First off, I have a laptop with only one ethernet port, so setting up
> > an ad hoc network between us is out of the question. Also, my school
> > has a "one port - one computer" rule that prohibits routers.
> >
> > Second, since we're both behind a DHCPd server, we both have dynamic
> > IPs. There's no easy way to point his computer to the right server if
> > it has a dynamic IP.
> >
> > Third, since we're both behind a router, using something like DynDNS
> > to provide a static contact despite the dynamic IP won't work either.
> >
> > So, I guess what I'm wondering is if there's any way to make this
> > work, or if I'm SOL?
> >
>
> It would seem that people are thinking about this problem just a bit
> too hard. Here is how my network is setup. All users have DHCP addys,
> its a mix of mainly Gentoo with the odd Windows box. The printers are
> all connected to Gentoo servers which have cups and samba setup. Cups
> serves printing for all the Linux boxes and is also hooked into Samba
> so the windows boxes can print. As far as IP addresses go... screw
> em... use the netbios name of the machines, for the Windoze box this
> will be its hostname and the same is true for the Linux box (I don't
> think I had to do any extra setup in Samba to make it broadcast a
> netbios name). You will then be able to print locally from the Linux
> box via CUPS and you can install the printer just like any other
> shared printer (\\your_gentoo_box\printer_name) under Windows. Gentoo
> has excellent Samba setup howtos if you need more info. In this case
> you break no rules and there is no complex DNS setup stuff. Hope all
> this makes some sense.
>

Well, in fact, I think it does. I forgot that the main problem was in
fact just PRINTING... Yeah, cups and samba will take care of that.
Samba will broadcast netbios stuff over the net so you can see your
shared printer (and folders).

Check:
http://www.gentoo.org/doc/en/quick-samba-howto.xml
and
http://gentoo-wiki.com/HOWTO_Native_Windows_Printing_with_CUPS/Samba

You know, sometimes you just loose focus and forget about simple
solutions for simple problems...

--
Daniel da Veiga
Computer Operator - RS - Brazil
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
------END GEEK CODE BLOCK------

-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2006-03-09 19:32 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-09  2:28 [gentoo-user] Printer Sharing with Samba Kris Kerwin
2006-03-09  2:43 ` Daniel da Veiga
2006-03-09 18:05   ` Kris Kerwin
2006-03-09 18:24     ` John Jolet
2006-03-09 18:42     ` Daniel da Veiga
2006-03-09  3:06 ` Boyd Stephen Smith Jr.
2006-03-09 17:56 ` Eric Bliss
2006-03-09 18:07   ` Kris Kerwin
2006-03-10  1:26   ` Boyd Stephen Smith Jr.
2006-03-09 18:35 ` Michael Crute
2006-03-09 19:18   ` Daniel da Veiga [this message]
2006-03-09 19:33     ` Michael Crute
2006-03-10  4:53       ` [SOLVED] " Kris Kerwin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=342e1090603091118h49165ba5nf2038d0ae817de23@mail.gmail.com \
    --to=danieldaveiga@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox