$ nmblookup -A 192.168.0.15
Looking up status of 192.168.0.15 NETCLIENT015 <00> - B <ACTIVE>
So if the netbios name is correct what else is wrong. I am beginning to think that I am old and stupid. (The local folder does exist although the command doesn't get that far.)
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason:Topic automatically closed 6 months after creation. New replies are no longer allowed.
Lots of Minty machines but there again I like lamb and I do live in Wales!
If you want to be able to address another Linux ( or MacOS or Windows 10 ) machine reliably use it's mDNS host name ( netclient015.local ) since NetBIOS is effectively disabled today. So your line would read:
Thank you for that altair4. Following your suggestion worked for me but only so far. I had to amend the share to give guest access. Then it worked. That done I found that any new folders or files on the share were owned by nobody in the nobody group. I tried altering the username and password in the .smbcredentials files to that on the remote machine thinking that might be the source of the problem but obviously it is not. It was a bit of a long shot. Can you help again please?
Once I get the manual mount sorted my plan is to add it to my fstab file but one thing at a a time.
Lots of Minty machines but there again I like lamb and I do live in Wales!
You included the force user = alan in your [global] section so all new files added would be saved with owner = "alan".
I see no issue with this.
Your share is designed for credentialed user so you would have to set a samba password for that user even if the remote user was "alan" - so on the server:
I set the smbpasswd on the server machine to be the same as its logon password. That didn't work so I tried using the login password for the client machine. That didn't work either. Both times I got
$ sudo mount -t cifs //netclient015.local/015data /home/alan/015data -o uid=1000,gid=1000,credentials=/home/alan/.smbcredentials
mount error(13): Permission denied
I'm sorry but I am way out of my depth here.
Lots of Minty machines but there again I like lamb and I do live in Wales!
Wahoo!!!!! That worked. I have read and write access to the share. Do I leave it at that or is there some further change before I try to set it up in fstab?
Lots of Minty machines but there again I like lamb and I do live in Wales!
When you open Nemo you should see the 015data folder on the left side panel. When selected it will go to fstab to find out how to mount it then display the shares contents - gods willing.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Altair4, I had never realised before but now I know.
Linux Mint keeps you fit.
The two machines we have been talking about are in separate buildings around 80m apart. I have had plenty of my daily exercise rushing between the two far more times than I care to count. I’ll need a new boot on the end of my walking stick next.
It was all worth it though. IT WORKS. Thank you so much for all the help and for sticking with me. You have no idea just how grateful I am.
I am marking this post as solved.
Lots of Minty machines but there again I like lamb and I do live in Wales!
Although my shared folder is set up exactly as altair4 advised and is accessible on the ‘client’ machine exactly as he thought it would I am puzzled by a couple of things.
While the share does indeed shew up in the left side panel of Nemo, if I open the ‘Network’ folder it does not. What I still see is
NETCLIENT015 (File Sharing) - unknown type - unknown modification date
I do not understand why.
There is an additional, supplementary, question and that is can I set a fstab entry in the ‘client’ machine to open the link upon startup?
Lots of Minty machines but there again I like lamb and I do live in Wales!