Gentoo Archives: gentoo-user

From: Kris Kerwin <kkerwin@×××××××××.com>
To: gentoo-user@l.g.o
Cc: Daniel da Veiga <danieldaveiga@×××××.com>
Subject: Re: [gentoo-user] Printer Sharing with Samba
Date: Thu, 09 Mar 2006 18:17:20
Message-Id: 200603091205.53033.kkerwin@insightbb.com
In Reply to: Re: [gentoo-user] Printer Sharing with Samba by Daniel da Veiga
1 Daniel,
2
3 Thanks for your quick reply.
4
5 > I couldn't think of a more "complex" solution right now, but
6 > couldn't you simply make your IP static? I've done it at work
7 > because our DNS was failing, simply copied the network
8 > configurations gained with DHCP and made it permanent...
9
10 Question: how does one *make* a static IP? I thought that IP was
11 assigned by DHCP? Isn't that the way that DHCP works? It leases an IP
12 to a specific computer, which then gives up that lease when it's done
13 using it. At that point, DHCP is free to re-lease that same IP to
14 whomever else requests it, correct? If that's the case, what would
15 prevent another computer from accidentally obtaining that same IP?
16
17 Otherwise, if this is a viable solution, how do I make it work? I'm
18 comfortable editing config files, but I just don't know where to go
19 to do it.
20
21 Thanks again, all, for your help.
22
23 Kris
24
25 On Wednesday 08 March 2006 20:43, Daniel da Veiga wrote:
26 > On 3/8/06, Kris Kerwin <kkerwin@×××××××××.com> wrote:
27 > > Hi folks!
28 > >
29 > > I have a quick question.
30 > >
31 > > I'm a college student. I share my printer with my roommate. We
32 > > have separate computers; he uses Windows XP, and I Gentoo.
33 > > Together, we're behind our school's router which dynamically
34 > > assigns us both IP's.
35 > >
36 > > Currently, in order to share our printer, we simply unplug it
37 > > from one another's computers. However, we would like to be able
38 > > to share it over the network instead to make life easier for the
39 > > both of us. However, there are a few problems that I'm
40 > > foreseeing.
41 > >
42 > > First off, I have a laptop with only one ethernet port, so
43 > > setting up an ad hoc network between us is out of the question.
44 > > Also, my school has a "one port - one computer" rule that
45 > > prohibits routers.
46 > >
47 > > Second, since we're both behind a DHCPd server, we both have
48 > > dynamic IPs. There's no easy way to point his computer to the
49 > > right server if it has a dynamic IP.
50 > >
51 > > Third, since we're both behind a router, using something like
52 > > DynDNS to provide a static contact despite the dynamic IP won't
53 > > work either.
54 > >
55 > > So, I guess what I'm wondering is if there's any way to make this
56 > > work, or if I'm SOL?
57 > >
58 > > Thank you much for your help.
59 > >
60 > > Kris Kerwin
61 > > --
62 > > gentoo-user@g.o mailing list
63 >
64 > I couldn't think of a more "complex" solution right now, but
65 > couldn't you simply make your IP static? I've done it at work
66 > because our DNS was failing, simply copied the network
67 > configurations gained with DHCP and made it permanent...
68 >
69 > --
70 > Daniel da Veiga
71 > Computer Operator - RS - Brazil
72 > -----BEGIN GEEK CODE BLOCK-----
73 > Version: 3.1
74 > GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M-
75 > V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
76 > ------END GEEK CODE BLOCK------
77 --
78 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Printer Sharing with Samba John Jolet <john@×××××.net>
Re: [gentoo-user] Printer Sharing with Samba Daniel da Veiga <danieldaveiga@×××××.com>