LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-20-2003, 01:15 AM   #1
Jester21
LQ Newbie
 
Registered: Jan 2003
Location: Phoenix, AZ
Distribution: Slackware 8.1
Posts: 13

Rep: Reputation: 0
Networking 2 Linux boxes


I have been reading through the posts, and I see about 200 million SAMBA posts, more than enough to scare an Uber Newbie into staying away from SAMBA. However, I am running two Slack 8.1 boxes, one running kernel 2.5.58 and one running 2.4.18. We can FTP, but I was wondering if there was an easier way to network the two together. I am used to having two Win* computers networked through a workgroup and having full access to files. Is FTP the only method? I eventually plan on making the SackBoxl a router off of a 56k, and possibly a PDC through SAMBA for my Win* computers. Just wondering if this was harder or simpler than I am making it. Thanks.
Jester
 
Old 01-20-2003, 01:49 AM   #2
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
Samba is harder to set up for linux to linux sharing and in the end you end up using smbclient which is very similar to ftp, try looking at NFS sharing although that's a totally different world than samba it's how commercial Unix systems share files. As far as setting up NFS check out the various man pages and HOWTOs on the subject. Another option that doesn't give you file sharing is to just telnet into the other computer, in linux a console telnet looks identical to being at a virtual console on the same machine.
 
Old 01-20-2003, 11:13 AM   #3
Jester21
LQ Newbie
 
Registered: Jan 2003
Location: Phoenix, AZ
Distribution: Slackware 8.1
Posts: 13

Original Poster
Rep: Reputation: 0
Would using NFS mean that I can "mount" the 2nd Slackbox as a directory, like I have my Windows drive mounted to get files? Granted, my Windows is physically on the computer, but would it end up being the same idea?
 
Old 01-20-2003, 11:41 AM   #4
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
Exactly, I guess you could do the same with smbmount and samba but NFS is more of a native unix/linux thing and has better user control/interoperability.

Either way if you aren't worried about the security issues you could "share" root / on one box and mount it into say /otherroot on the other machine and vice versa. FYI this is considered very insecure although where I used to work we had many windows users and few people who knew any unix/linux so our whole dept. shared all our boxes' root dirs with NFS under Solaris Unix

And NFS is fairly simple as I remember it, check out man nfs and man exports for basic info and theres an NFS-HOWTO (sorry, it's been awhile since I have used NFS or Solaris so I'm way rusty though I need to set it up again soon.)

In Slack you should notice that it tries to mount NFS shares on boot already (from /etc/rc.d/rc.inet2 if it's not #'d out) so it's probably as simple as defining shares (that's in /etc/exports), adding connections to them (on the other box's /etc/fstab) and then mounting them.
 
Old 01-21-2003, 03:28 AM   #5
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
there is a gui based network neighborhood like tool for linux that you can easily use if u go to the samba setup thing. it is called xsmbrowser. its cool. its free.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Networking 2 linux boxes with NFS?? ludwig W Suse/Novell 4 10-16-2005 03:09 PM
Networking 2 linux boxes together d4harvey Linux - Networking 6 05-29-2004 11:41 AM
Networking with windows boxes SappySE107 Linux - Networking 10 11-18-2003 11:21 PM
Networking problems. Can't connect to any other boxes. cirofren Linux - Networking 2 10-19-2003 06:34 AM
networking two linux boxes dhcp?? mike@wales Linux - Newbie 2 06-02-2003 05:43 PM


All times are GMT -5. The time now is 04:24 PM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration