Forum Home
Press F1
 
Thread ID: 39292 2003-11-02 00:26:00 IPCop, Mandrake and Networking rmcb (164) Press F1
Post ID Timestamp Content User
188550 2003-11-02 00:26:00 I have a home network consisting of 1 x p133 running IPCop, this is connected to a network switch, from the switch I have 2 other pc´s, both running Mandrake 9.1.
This is working well apart from the fact that I can´t seem to ¨see¨ the 2 Mandrake machines to share files etc.
I have been able to share printers however so the network is working.
Any ideas on software I may have to install or settings I may have missed??
Thanks
rmcb (164)
188551 2003-11-02 02:09:00 Unless you have appropriate servers running on both machines, there isn't really any concept of "shared" files/directories. You can be on one machine and log into the other (using telnet or SSH).

NFS is the traditional *nix way to share directories ... it enables you to mount a directory (or directory tree) on a mount point in a remote machine's file sytstem This can be totally transparent (wiith automounting). This uses the /etc/exports file and need the nfsd daemon running, and some entries made in /etc/fstab. It works nicely once it's set up. I often use it to share a CD drive as well as hard disks.

Samba would probably work perfectly well (in a more Microsoft styled mechanism :D).
Graham L (2)
188552 2003-11-02 03:35:00 Ok thanks, will check if samba is installed and try again. rmcb (164)
188553 2003-11-03 03:10:00 Samba installed on both machines, what now?
How do I browse the other machine???
rmcb (164)
188554 2003-11-03 03:45:00 Good question . :D I haven't done this, but I think you just setup with the samba . conf file (which may be in /etc or /etc/samba ?) the directories you want to share . Make a mount point on each machine for the other machine's shared directory (ies) (mkdir /other (say) ) . Then you can mount -t smbfs otherbox://directory /other . Or something like that . :D man samba will help . :D Or maybe it's "smbmount" .

Someone will know . . . I have found NFS so easy that I've never done it with Samba .
Graham L (2)
188555 2003-11-03 04:02:00 What is NFS?? rmcb (164)
188556 2003-11-03 04:11:00 NFS is the Linux native network share file-system.

mount -t smbfs will call upon smbmount, and the man pages (Mine did when I last looked) recommend using mount -t smbfs rather than smbmount :-)
Chilling_Silently (228)
188557 2003-11-03 04:13:00 Network File System. Developed by Sun, and became a Unix standard.

There'll be a HOWTO in the /usr/share/doc/HOWTO ... tree about it.

Hedre's the Samba way: I've found a book. If you have made a ,ount point called "/other"as I said above, and your other machine is called "otherbox" , with a shared directory called "myshare", the mount command would be mount -t smbfs //other/myshare
Graham L (2)
188558 2003-11-03 04:20:00 P . S . -- I hit Post rather than Go Back/Edit ;-)

. . . to test the Samba setup on the other machine use "/usr/local/samba/bin/smbclient -L otherbox " .

You might need swat running to use the GUI Samba setup .
Graham L (2)
188559 2003-11-03 04:43:00 I would recommend you get the RH9 rpm's for samba 3, as Ive found smbmount works a lot better :-)

Also, I'd recommend downloading WebMin, coz it does smbmounts well too :-)
Chilling_Silently (228)
1 2