Click to See Complete Forum and Search --> : Networking 2 100% Linux Boxes. Samba?


wsm2506
11-30-2001, 09:59 PM
I have 2 100% Linux-Mandrake 8.0 machines; no Windows at all. I have got internet connection sharing working, but I want to share printers, drives, files, ect. Do I need to install Samba to do that?

Each machine has a Linksys 10/100 ethernet caard hooked into a 5 port Linksys hub. Internet connection sharing works fine.

In the internet sharing configuration, Mach # 1 has IP of 192.168.0.1. Mach # 2 is 192.168.0.2. Submask for both is 255.255.255.0.

In terminal mode, "/which <file name>" tells me neither LISa or Samba is there.

I have the 2 disc Linux-Mandrake 8.0 distro.; "Install" disc and "Extension" disc.

I appreciate any help.

Thanks.

Mike B Best
11-30-2001, 11:38 PM
Hi,

I know that you can specify in /etc/exports file wich sections of the file system you want to share, it should just be a case of adding these to the /etc/fstab file to mount them auto. Sorry but can't help with printer sharing, I know that samba will let you do both. I have samba running on a machine at home but it has come from a Red Hat 7.1 install so I don't know about mandrake. Hope this is of some help.

Mike

bigrigdriver
11-30-2001, 11:44 PM
See the Ethernet-HOW-TO. So long as you only intend to connect two machines, both Linux boxes, you don't need hubs; all you need is a "twisted pair" cable to connect the Ethernet cards together. One machine is the master; the other is the slave. The slave accesses hardware, such as printers, through the master.
Hope this helps. ;)

bdg1983
12-01-2001, 06:55 AM
You most likely already have plenty of documentation installed on your system to help you setup nfs, printer sharing etc. Have a look at the how-to's, faq's and others in /usr/local/share/doc.

Also www.linuxprinting.org (http://www.linuxprinting.org) and www.linuxdocs.org (http://www.linuxdocs.org) will help.

wsm2506
12-01-2001, 09:46 AM
Thanks for your pointers. Hopefully I can narrow my search now.