On 3/9/06, Michael Crute <[EMAIL PROTECTED]> wrote: > On 3/8/06, Kris Kerwin <[EMAIL PROTECTED]> 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