LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mint linux network q (http://www.linuxquestions.org/questions/linux-newbie-8/mint-linux-network-q-922270/)

markmando 01-05-2012 03:48 PM

mint linux network q
 
I have a wireless/wire linksys router with 3 linux (of various flavors) clients (A,B,C all are currently connected via above Linksys to Internet) and I want to share files between them on a LINUX only LAN. I got the 'share' package and 'shared' a ext4 HD (on A) on network but when I try to access that directory from a different client (B) I get error stating I cannot mount the HD (something like that) The shared HD is mounted (on A). So I am at a loss what next. Anyone have any suggestions?

T3RM1NVT0R 01-05-2012 04:27 PM

@ Reply
 
Welcome to LQ!!!

Questions for you:

1. Which linux distributions are you using on your machine A, B and C?
2. Which service are you using for file sharing?
3. What is the exact error message that you get?
4. Firewall status on all 3 machines.

Apart from above questions please run the following commands on machine A and paste the output in this thread:

1.
Code:

df -h
2.
Code:

mount

markmando 01-05-2012 08:02 PM

Quote:

Originally Posted by T3RM1NVT0R (Post 4567334)
Welcome to LQ!!!

Questions for you:

1. Which linux distributions are you using on your machine A, B and C?
2. Which service are you using for file sharing?
3. What is the exact error message that you get?
4. Firewall status on all 3 machines.

Apart from above questions please run the following commands on machine A and paste the output in this thread:

1.
Code:

df -h
2.
Code:

mount


Hi. Thanks for replying. 1) On client A I did cmnd: >df -h and I got ...

Filesystem size used avail used% mounted on

/dev/sda1 18G 4,4G 13G 27% /
none 495M 240K 495M 1% /dev
none 501M 128K 501M 1% /dev/shm
none 501M 328K 500M 1% /var/run
none 501M 0 501M 0% /var/lock


Client A I have on it Edubuntu 10.10v.

B I have MINT LINUX 12v.
On C I have Ubuntu 11v(?).

I type on client A: >mount ... I get

/dev/sda1 on / type ext4 (rw,errors=remount-ro,commit=0)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
nfsd on /proc/fs/nfsd type nfsd (rw)
binfmt misc on /proc/sys/fs/binfmt misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/sandy/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=sandy)


2) I'm not using UBUNTU ONE. At terminal I type: >shares-admin and a 'Shared Folders' window pops up. I am using sharing.


3) On Client B I get error message: 'Unable to mount location', 'Failed to mount Windows(?) share'

4) Presently I have no firewall set up on any machine.


I hope this sheds some light on the issue I'm dealing with.

frankbell 01-05-2012 09:17 PM

Two diagnostic questions:

Are you using Samba or NFS to share the directories? If Samba, is the samba server running (smbd) on the computers to which you are trying to connect (ps -A | grep smbd will tell you whether it is running)?

Are the directories configured in the directory properties as shared directories?

T3RM1NVT0R 01-06-2012 12:52 AM

@ Reply
 
As you said that you will share the stuff between linux system only I would suggest using nfs. Here is the link to configure NFS: https://help.ubuntu.com/community/SettingUpNFSHowTo

As Linux Mint is also a derivative of Debian the above document should stand for all three. If you stuck somewhere let us know.

markmando 01-07-2012 05:19 AM

I'll try again. Lost my last msg in this forum.

I concluded "I'm not even in the ball park,yet". I need to read up on networks; especially NFS & SAMBA services. I'll probably follow that progression in building up this LAN. That's the plan. Thanks for pointing me in right direction. I'll keep you posted on lack of progress.

http://static.linuxquestions.org/que..._lq/icon14.gif

frankbell 01-07-2012 08:19 PM

The reference that finally got me over the hump to getting my home network running (mixed Windows and Linux) was Samba by Example.

It starts with sample configuration and configuration files for simple networks and moves to progressive more complex ones. I found what I needed by page 20. I still have a copy on my bookshelf.


All times are GMT -5. The time now is 11:07 PM.