[Wolves] Am I forgiven?
Adam Sweet
drinky76 at yahoo.com
Wed Feb 11 10:41:36 GMT 2004
Hi Peter,
First things first I'm a relative novice at Linux
networking, my knowledge extends as far as having a
dhcp server on my smoothwall, telling my debian setups
to use dhcp, setting up nfs once and mounting windows
drives across a network. I used Red Hat for a while
too, but this was before I knew how to do anything
clever and I haven't played with network profiles
since I knew what they were for ;)
The way I see it, you either need to use a static ip
on eth2 on your laptop, or run a dhcp server on your
desktop and dhcp client on your laptop. You really
have 4 network ports on your laptop or is this to do
with the profiles?
The easiest would probably be a static address for
eth2 on your laptop so that you know the addresses
without checking everytime. DHCP would be ok, but you
have to set it up on your desktop. I do remember from
Ron's firewall talk, there was a good security reason
for not using static adresses, I just can't remember
it. You should be able to set this up using Yast2 or
whatever the SUSE graphical configuration program is
and the Red Hat equiv.
For Linux to Linux networking you want NFS, if you
want Windows to come to the party you should use
Samba. From my limited knowledge of NIS (1 article and
a book I haven't read), you probably won't need it.
You can do it either way you want, pull the files
across from your desktop or push them across from your
laptop. Either way, which ever machine you want to use
to move the files across, you need to have a network
share on the other one. For the sake of it, you can
make a share on both and use either to move files.
Rather than explain the whole process, read the NFS
howto at http://tldp.org/HOWTO/NFS-HOWTO/index.html
it's very good, thats how I learnt.
For the sake of it, it's probably easiest if you have
an account with the same username on both machines
(does uid come into it anyone?) and export the file
from a directory in your home directory to a directory
in your remote home directory, that way should have
least permissions headaches. I'm a permission phobic.
Alternatively, you could just ssh them across if you
have an ssh server on either machine, though I've
never played with this. This way all you need is to
ensure the ssh server is installed and running, should
be as easy as installing it, making sure that both
machines are on the same network (192.168.1.x for an
easy life) and subnet (255.255.255.0 for ditto life)
ssh'ing in and copying the files over.
>From windows, you can use PuTTY to ssh in.
http://www.chiark.greenend.org.uk/~sgtatham/putty/
Or you can use samba to set up windows shares on a
Linux machine, or just mount a windows share from
Linux using
mount -t smbfs [-o
username=remoteusername,passwd=thepassword]
//machinename/share /localmountpoint
where [] delimits optional values. Then copy your
files across from the command line or graphical file
manager. You can also use smbclient which I think is
easier, but this is off the top of my head, I dunno,
read man smbclient. You obviously need samba installed
and smbfs support in your kernel, in the same way as
you will need NFS installed and nfs support in your
kernel for your NFS.
Oh and it would probably a good idea to unmount the
network file systems before you shutdown.
I don't think there was ever a question of your
needing to be forgiven, I think it was just a case of
you being understandably frustrated. Not a problem for
me. You are welcome any time at the meetings. I may
give you a birching all the same however, just for a
laugh ;)
Anyway, hopes that helps a bit.
Ad - awaiting screams of, "NOOOOOO!!!!! Don't do it
like that!"
=====
http://www.drinky.org.uk
======================================
Use Linux. Because it's better.
___________________________________________________________
BT Yahoo! Broadband - Free modem offer, sign up online today and save £80 http://btyahoo.yahoo.co.uk
More information about the Wolves
mailing list