networking PC and laptop

Doug wearable at shawcable.com
Sun Apr 6 11:01:17 EDT 2003


Lorenzo,

 > I am running Slackware 9.0 on both computers ...

What you probably want is to use the 192.168.0.x
IP address scheme for the PC and laptop. These
addresses are reserved for 'internal' ie not real
IP addresses. Then you will set up IP masquerading
on the PC, which will connect to the net. There
are lots of docs on how to set up masquerading.
For disk sharing, yes you probably want to use
nfs although there are many alternatives these
days. As with masquerading, there are lots of
docs on how to set up NFS. In the slackware
install you'll see some NFS tools, one being
the NFS daemons, you want those on the server
(PC). It may take a while to get all of this
working (masq and nfs) but it will work very
reliably once you are done. If you wanted to
add a windows box to the same internal lan
you could run samba on the server (PC) for
disk sharing, and for internet the PC just
acts like a gateway (nothing special to do
other than configure ethernet).

I suggest that you set up your PC as the IP
192.168.0.1, it will be the gateway. Then
set up the laptop as 192.168.0.2 and set
the gateway to 192.168.0.1. Read the docs
on IP maquerading for how to configure that.
Try a google search, there are lots of docs.
Some show very simple setups including
exactly what you want to do (just connect
two PCs for sharing interney connection).

   -- Doug








>Lorenzo
>
>E Pluribus Unix
>
>
>_______________________________________________
>Speakup mailing list
>Speakup at braille.uwo.ca
>http://speech.braille.uwo.ca/mailman/listinfo/speakup





More information about the Speakup mailing list