> I would like to share files and a printer between the laptop and
> desktop.  I have no idea how to share files in Linux except to email
> them to myself from one computer and receive the email on the other
> computer.  There must be a better way.

        I've just been messing around with this myself, and it's pretty cool.  First 
off, you can always ftp files from one to another if you install an ftp 
server (proftpd, for instance).  What I think is really cool, though, is nfs, 
which lets you share and part of a filesystem with other hosts.  I think 
nfs-utils has the "server-side" nfs stuff, and nfs-utils-clients what you 
need to access it from another box.  The key file with nfs is /etc/exports, 
which mandates who can connect to what parts of the filesystem and what 
privileges they have.  Man exports to find out in more details, and also man 
nfs and man mount, but here's an example to get you started:

in /etc/exports on machine x:

/home/mooseUser/Shared  banana.et.byu.edu(rw)
/.                                      192.18.2.122(ro)

then use exportfs or restart nfs service (or reboot if you want to for some 
silly reason) and you can mount partitions from the trusted hosts.

From banana.et.byu.edu you can type:
# mount -t nfs hostof.machine.x:/home/mooseUser/Shared /mnt/locallyMountedDir

You can also set up permament mounts in the usual way in fstab.  I'm not sure 
of the exact syntax, but it's explained in the man page for nfs.  Even drives 
can be shared with nfs, though I haven't messed with it much and haven't made 
it work right yet.  

As far as printers go, I know Mandrake will automatically detect printers on 
your local network and give you access to them if you have permission.  Does 
anyone know if redhat does something similar, or is there more trickery 
involved? 

Also, mess around some with ssh and maybe tightvnc.  They're pretty dang cool 
to learn about if you have a couple boxes to play with.  

> ping them from each other.  I believe they are assigned an ip address by
> the modem or something, but it appears to be the same address every
> time.

        If you get static ip addresses you can index them to host names if you want, 
for you local boxes, in /etc/hosts.  Man hosts, but, as the man page says, 
it's basically:
       IP_address canonical_hostname aliases


Good luck.  Have fun.


 - James Nickerson



_______________________________________________
newbies mailing list
[EMAIL PROTECTED]
http://phantom.byu.edu/cgi-bin/mailman/listinfo/newbies

Reply via email to