Kent,

With two computers, don't bother with NIS, DHCP or bootp.  VNC is a remote 
administration utility, also not needed here.

Setup two computers on a private network (192.168.x.x, or 10.x.x.x).  At home I have 
10.0.0.1 and whatever my laptop happens to be set to.  Usually 10.0.0.20. 

(I created a nice script for myself that will instantly change the IP address and 
routing information depending on whether I'm at home accessing cable through my 
desktop, at home accessing my cable directly, at work, or at any place with a dhcp 
server).

So you'll have two computers, two nics, one cross-over cable (or a hub with 
straight-through cables).  Give them static, private IPs.

Since you are using Debian, install the DNS server on the computer with the modem.  
The other computer has it's DNS server set to the first computer (set in 
/etc/resolv.conf).  So the first computer has: 127.0.0.1 as it's first entry in 
resolv.conf (Look in my own dns server for dns entries).  The second computer has: 
10.0.0.1 as it's first entry in resolv.conf (look to my local lan for dns).

You can run programs on either computer with XWindows.  Look at the Remote-X-Apps, 
mini-HOWTO: /usr/doc/HOWTO/en-[txt|html]/mini/Remote-X-Apps.[txt.gz|html]
If you didn't install your howto's, you had better do so with:
apt-get install doc-linux-html
or doc-linux-text.  Files with extensions of .txt.gz can be read with zless:
zless /usr/doc/HOWTO/en-txt/mini/Remote-X-Apps.txt.gz

I haven't had the need for, and don't know how to setup your dialup connections, or 
print server.  You will need IP Masquerading.  Within the last few days I sent a 
message to Jake talking about IP Masquerading, what you needed, and an rc.firewall 
sample script that will enable IP Masquerading.  Look around for it, if you don't have 
it let me know.

Last thing:  you don't need your own DNS server to nullify doubleclick.net ads.  Since 
you need to recompile your kernel ANYWAY to enable IP Masquerading, and you'll need to 
setup IP Chains rules ANYWAY, you can setup an additional rule to refuse or deny 
packets coming from doubleclick.net.

Cory

On Sun, Oct 29, 2000 at 09:59:44AM -0800, Kent Loobey wrote:
> For me it's more like not really having an idea about how to begin.
> 
> I would like to have it so I could execute any program on any system using
> an X window.  I would like to be able to dial out automatically from any
> computer even though the modem is only connected to one of the computers.
> I would like to be able to print from any computer even though the printer
> is attached to only one of the computers.  I would like to have my own DNS
> so that I could nullify doubleclick.net ads.  All this on my home network.
> 
> What I don't know is, do I need NIS and/or VNC.  How does IP Masquerading
> fit into this picture?  Would DHCP or bootp be useful in this configuration.
> 
> I'm pretty sure that all of this can be done, but am I leaving out
> something that I would wish later that I had included.  At this point I am
> trying to figure out what the network should look like and what components
> I need.  I am sure that later I will need to ask a question or two about
> how, but right now what I need is a conceptual discussion of the merits of
> this or that.
> 
> Thanks.
> 
> Kent
> 
> 
> At 03:12 PM 10/28/00 -0700, you wrote:
> >So, what's not working?  
> >
> >Drew Itschner wrote:
> >> 
> >> I am wanting to set my Linux machine as my server.
> >> I'm running Mandrake 7.1.
> >> I want to hook up my Win98 to my Linux.
> >> I have ethernet cards in both and a crossover cable with no hub.
> >> I have gone through the tutorial on Mandrakes page and tried to get it
> >> running.
> >> I have read so much research on this, I am lost now.
> >> If someone could come up with a real easy way to do this, I would
> >> definitely appreciate it.
> >

Reply via email to