LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 11-21-2005, 10:50 PM   #1
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.0
Posts: 2,959

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Using a multi-boot box in a simple peer-to-peer network


I have a two-box peer-to-peer network, or at least I plan to. The boxes currently are connected with a cross-over cable and I have tested the connection by pinging both ways.

Box 1 is a multi-boot box with my primary OSs being Windows NT4 Workstation and Slackware 10.x/KDE 3.3.2. My second box is Slackware 10.x/KDE 3.3.2 only. I hope to very soon update the Slack OSs to 10.2 and KDE 3.4.3.

I want to share files between the boxes in as many ways as possible. I have Samba, NFS, and SSH installed on both boxes, but I have not yet begun trying to configure those services because I don't yet know how (I have some reading ahead of me!). In my NT4 box the Server and Workstation services are enabled and I already have assigned share names to various partitions.

In Box 1 I move files between NT4 and Slack using a shared FAT 32 partition.

Box 1 can be in either Windows or Slack. Now that I am almost finished with configuring Box 2, Box 1 likely will remain mostly in Windows, but I also would like to learn some basics about networking, and print and file sharing without Windows.

All of my data files are on the Windows box and that likely will not change for a while. I hope to use Box 2 as my OpenOffice tutorial box as well as my general Slackware learning box.

Currently I manage both boxes with a KVM. As mentioned in a previous thread some time ago, eventually I hope to install and configure VNC as well.

My printer is connected to parallel port 0 (LPT1) on Box 1. I will need to share that printer with Box 2 whether I'm in Windows or Slack. Additionally, my flat-bed scanner is connected to Box 1 at port 1 (LPT2). I would like to share the scanner too. The scanner is not supported by SANE, but I am hoping that through Samba I might be able to overcome that if I want to scan from Box 2. Of course, I can scan in Windows and then merely share the resulting file.

Box 2 is not always powered up, but if Box 2 is on then I know for sure that I will want to access files on Box 1 regardless of the OS I'm using there.

If Box 1 is in Windows then I want to access files on Box 2 when that box is on. If Box 1 is in Slack then I want to cross-share files that way too.

I'd appreciate some ideas how I should configure Samba, NFS, SSH, etc. to provide the best flexibility. For example, do I have to configure both boxes as both a Samba server and client, and do likewise with NFS? Can I start Samba and NFS at boot-up (the rc.d scripts) on Box 1 even if Box 2 is down? That is, do those services search or browse the network or are they "static" until a user actually tries to connect somewhere. Or should I start these services manually because I never know the state of either Box? How about the printer and scanner? Etc.

Just looking for some big-picture conceptual help. As always thanks.
 
Old 11-22-2005, 01:37 AM   #2
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-13.1
Posts: 1,010

Rep: Reputation: 47
www.webmin.com is perfect to configure samba and nfs.

also when running KDE it comes with a desktop sharing tool in the internet section. basically it is VNC so you don't need to install it. if you want VNC to get a virtual desktop then real vnc makes and installs with no problems.
 
Old 11-22-2005, 03:47 AM   #3
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, WinXP, Windows 7
Posts: 1,253

Rep: Reputation: 51
I have a small home network (2 boxes and a hardware router connected to a 6 port hub).

One is a multi boot system:

Slackware 10.2 (2.4.x kernel), SuSE 10.0, Slackware 10.2 (2.6.x kernel), Debian, and Win 2000

The other is my file server running Slackware 10.2 (no X) with the following services:

NFS
SAMBA
ssh
HTTPd
MySQL

You could just as easily set up both machines as "servers" running the same services (maybe not the last 2).
So long as neither box automounts the other's shares, then the server does not need to be running all the time.

NFS is easy - http://nfs.sourceforge.net/
ssh is just a matter of enabling it on the "server" then logging in:

ssh <servername>

SAMBA is more involed, but read the well commented samba.conf-sample file in /etc/samba and the HOWTO.

On my system, my server has no mouse, keyboard, sound, and a very cheap vid card.
I do everything from my client box.

HTH
 
Old 11-22-2005, 06:25 PM   #4
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.0
Posts: 2,959

Original Poster
Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
www.webmin.com is perfect to configure samba and nfs.
I have downloaded webmin from linuxpackages.net and I intend eventually to install and learn webmin. I also notice that the KDE Control Center provides some front-ends for both NFS and Samba.

Quote:
if you want VNC. . .
I want to try VNC only to run Windows (Box 1) from Slackware (Box 2). I still have a lot of files and dependency on Word 97. I tried WINE and CxO with only some modicum of success and I dislike having all of my data files on the easily corruptible FAT32 file system rather than the far more dependable NTFS (or ext3). Therefore I'd rather keep running Word 97 natively while I slowly migrate files to OOo. With the KVM I can run both boxes separately as I already do, but VNC provides a convenient way to ignore the KVM and allow me to work in one environment rather than toggling all of the time.

Quote:
So long as neither box automounts the other's shares, then the server does not need to be running all the time.
That tidbit helps---don't auto mount!

Quote:
You could just as easily set up both machines as "servers" running the same services (maybe not the last 2).
That is what I was thinking I'd need to do. Although neither box will be a dedicated "server," from the perspective of the services a box is considered either a server or a client. Thus, to be flexible with sharing files in either direction with either OS, both boxes will have to be configured as both a "server" and a "client."

Quote:
SAMBA is more involved, but read the well commented samba.conf-sample file in /etc/samba and the HOWTO.
I obviously need to install SAMBA because my primary box is Windows. Is there any reason why I need to still install NFS? That is, if I boot Box 1 into Slack instead of Windows, why not just keep using SAMBA at both ends rather than NFS? I had read of one person who does this and now I'm wondering if that would be easier rather than run the overhead of both SAMBA and NFS. Does this make sense?
 
Old 11-22-2005, 08:23 PM   #5
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-13.1
Posts: 1,010

Rep: Reputation: 47
using samba on both would be fine
 
Old 11-22-2005, 08:35 PM   #6
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.0
Posts: 2,959

Original Poster
Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
using samba on both would be fine
I think I'll try that approach before trying to run both SAMBA and NFS. One step at a time! Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Does any body have a simple Samba Config file for a peer to peer network? tlawlessrr Linux - Software 1 03-24-2004 11:26 PM
Setting up a peer to peer network Nigel Linux - Networking 4 12-01-2003 06:27 PM
peer to peer network with rhl 7.2 hitesh_linux Linux - Networking 1 04-14-2003 12:57 PM
Peer to Peer Network SuSE 7.3 hairyharry Linux - Networking 2 03-22-2003 01:51 PM
Peer to peer network problems azkatro Linux - Networking 2 01-30-2003 12:09 PM


All times are GMT -5. The time now is 06:14 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration