LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-10-2002, 01:06 AM   #1
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Rep: Reputation: 30
Linux unable to connect to another Linux machine via Samba (SMB) Please help


I have trouble getting a linux machine to succesfully CONNECT to another linux machine using LinNeighbourhood. Note that the machine I try to access is running a Samba server and Windows Machines can connect to it without any problems whatsoever. I thyink this MAY be due to the fact that Windows 2000/XP require encrypted passwords! Can anyone help me with this, thanx.

NOTE: can linux machines communicate over a network without needing Samba or SMB?

NOTE: the intent here is to share file sover a network!
 
Old 03-10-2002, 01:31 AM   #2
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
You said linux to linux was the problem?


you should use nfs for that, mount the servers exported folder on the client machine.
 
Old 03-10-2002, 02:57 AM   #3
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Original Poster
Rep: Reputation: 30
huh?

Quote:
you should use nfs for that, mount the servers exported folder on the client machine.
That sounds familiar, BUT how do you do it. Let us start with the simplest case: FULL read/write/execute privelages from on a shared folder! Is there any way I can get LinNeighbourhood to work with nfs? I really like Linneighbourhood as I am still a linux newbie! Can you help me with this? I would much appreciate it.

PS: es Linux is the problem. Windows has been "tricked" succesfully
 
Old 03-10-2002, 05:31 PM   #4
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
well if you use a file manager like nautilus or gmc you just open it like any other folder on your system.


Basically the same as mapping a drive in windows networking, except you mount it as a folder.



you need a file named /etc/exports on the server

/etc/exports

/dir/to/export host1.mydomain.com(rw,root_squash)


and then run

/usr/sbin/exportfs -a



the rest of it is up to how secure you want it.

If you are running firewalls you need to allow the ports to be open for nfs

security is the main factor of nfs so you need to not allow it on an interface exposed to the internet.

As long as your firewall has an outside and inside interface it should be managable safely.

Last edited by DavidPhillips; 03-10-2002 at 05:33 PM.
 
Old 03-11-2002, 02:26 AM   #5
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Original Poster
Rep: Reputation: 30
huh?

Quote:
you need a file named /etc/exports on the server

/etc/exports

/dir/to/export host1.mydomain.com(rw,root_squash)


and then run

/usr/sbin/exportfs -a
You kinda lost me there! Firstly, the machine is running on a LAN, and does NOT have a static IP. The IP is both dynamic and local and looks something like 10.4.1.149
Now, The intent here is having the ability to share files over a LAN network between two linux machines. For all intents and purposes, you may assume that the firewall is turned OFF COMPLETELY!!! Please re-explain with details tailored for a linux newbie/dummy (myself). Bear in mind that I DO know how to switch to directories and edit configuration files, BUT take it asy on me. I am still a begginner. Thanx anyways!
 
  


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
Windows XP unable to connect to linux with Samba luthree Linux - Networking 13 03-10-2007 06:54 AM
Samba: can't connect to my local linux machine but can connect to windows. Royle Linux - Networking 3 01-18-2005 05:32 PM
Samba 3.0.2, Kerberos, Linux (RHAS3.0), Win2kAD - linux smb server with a w2k client irishb3 Linux - Networking 2 07-20-2004 08:05 AM
unable to connect to smb shares on linux RH9.0 cvc505 Linux - Newbie 5 05-06-2004 07:46 PM
Using SMB to copy files from one linux machine to second linux machine. coppersky Linux - Networking 9 06-24-2003 12:07 PM


All times are GMT -5. The time now is 06:25 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 Google+: linuxquestions
Open Source Consulting | Domain Registration