I thought I had everything working fine, however, I can only access one of the two computers on my network. I have both a desktop, and a laptop. The desktop, Dell Tower, and see itself and the laptop and also access the shared folder on itself (Dell Tower). It can also see the HP laptop, however, when I click on the laptop icon it goes back to the workgroup icon. From the laptop I can see and access the Desktop and the shared folder, however, I the same thing happens when I click on the laptop icon from the laptop computer within the samba share folder. I hope I made that clear enough. I have both computers setup the same so I am not sure what is happening. Any ideas
Announcement
Collapse
No announcement yet.
Network only working in one direction
Collapse
This topic is closed.
X
X
-
Re: Network only working in one direction
Ok, since you're posting here and you say both computers are set up the same, I assume you're using kubuntu on both?
If so, dump samba and change to NFS unless you need windows access. In that case, use NFS for linux-to linux and samba for windows to linux...
- Top
- Bottom
-
Re: Network only working in one direction
Originally posted by oshunluvrOk, since you're posting here and you say both computers are set up the same, I assume you're using kubuntu on both?
If so, dump samba and change to NFS unless you need windows access. In that case, use NFS for linux-to linux and samba for windows to linux...
Thanks, Abear
- Top
- Bottom
Comment
-
Re: Network only working in one direction
Basically it's "host" and "client." Files reside on the host and are available to the client.
The host "exports" some directory so that the client can mount it.
If you desire two-way access, you need only set up both computers as both host and client.
The client(s) needs to install nfs-common portmap tcpd.
The host(s) needs all those plus nfs-kernel-server .
Host side set up:
sudo dpkg-reconfigure portmap and answer "NO" to the question you are asked.
Edit /etc/exports and list the directory you wish to export like so:
/home/Public 192.168.1.0/255.255.255.0(rw,async,secure,no_subtree_check,noh ide)
Do some internet searching on the various options available to you.
Both host and client:
Edit /etc/hosts.deny to look like
Code:
portmap: ALL
lockd: ALL
rquotad: ALL
mountd: ALL
statd: ALL
nfsd: ALL
and /etc/hosts.allow to look like
Code:
portmap: 192.168.1.
lockd: 192.168.1.
rquotad: 192.168.1.
mountd: 192.168.1.
statd: 192.168.1.
nfsd: 192.168.1.
obviously, use your correct sub-domain ip.
On the host and client restart nfs and services:
sudo exportfs -ar
sudo /etc/init.d/portmap restart
sudo /etc/init.d/nfs-common restart
sudo /etc/init.d/nfs-kernel-server restart
The first and last one one the host side only.
Then on the client you can mount the exported share:
mount host://home/Public /home/Public
- Top
- Bottom
Comment
-
Re: Network only working in one direction
oshunluvr,
Thank you for providing such a detailed setup process for NFS file sharing. I did some searching, however, did not find anything a detailed and specific and you laid out. Thanks again, I plan to work on my network this weekend.
Abear
- Top
- Bottom
Comment
Comment