Month ago i bought a HP T620 client computer to run Home Assistant on it.
Installed Linux Mint and Home assistant. Last week i thought, if this computer runs day and night, why not connect a Hdisk on the USB3.0 port and make it also my NAS.
So, i installed SAMBA and Nautilus-share, shared 2 directories on the Hdisk in Nautilus and was happy when i saw this:
On the Linux mint computer i see my windows network, with all shared directories.
On my Windows 10 computer i see the 2 directories on the Linux Mint computer USB Hdisk that i shared.
I can use files in the windows network with the Linux computer, but when i try to access the 2 Linux directories i get "Network error, you are not alloud....etc etc... ask you're networkmanager.
The problem is that i AM the networkmanager, and i have NO idea.
I searched the forum for simular problems, wich i can't really find, and if it looks like, i get lost in config files en terminal actions.
What can i do to solve this? I love this Linux Cinnamon Mint graphical version, it's my first steps in a system i always thought of to be difficult. and yes, the Linux users/rules/passwords are difficult to me.
Linux mint HD not accessable from network
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Linux mint HD not accessable from network
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Linux mint HD not accessable from network
I don't know how you have set up these shares. Posting the output of the following commands would tell us that:
Based on your description I can offer a guess.
If this USB HDD is mounted to /media/you-user-name/XXX it will only be accessible to "your-user-name" because of the way Linux is set up. One way around this issue is to make all of your network clients look like "your-user-name" to samba. You do that by editing and adding under the workgroup = WORKGROUP line this line - with your real Linux user name:
Then restart smbd:
Code: Select all
testparm -s
Code: Select all
net usershare info --long
If this USB HDD is mounted to /media/you-user-name/XXX it will only be accessible to "your-user-name" because of the way Linux is set up. One way around this issue is to make all of your network clients look like "your-user-name" to samba. You do that by editing
Code: Select all
/etc/samba/smb.conf
Code: Select all
force user = your-user-name
sudo service smbd restart
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: Linux mint HD not accessable from network
Well, i added these shares in Nautilus file explorer. I right click on the map i want to share, click properties, and then select everything, included guests.
It seems that is not enough, and still some config file editting is needed.
because your :
¨and adding under the workgroup = WORKGROUP line this line - with your real Linux user name:
force user = your-user-name
Then restart smbd: sudo service smbd restart¨
Did the trick.
After that i have access to my Linux directory and files, from my Windows computer.
Still my Android media box is not getting into it, gives ¨timeout¨ when i want to enter the USB disk on the Linux computer. Any ideas?
It seems that is not enough, and still some config file editting is needed.
because your :
¨and adding under the workgroup = WORKGROUP line this line - with your real Linux user name:
force user = your-user-name
Then restart smbd: sudo service smbd restart¨
Did the trick.
After that i have access to my Linux directory and files, from my Windows computer.
Still my Android media box is not getting into it, gives ¨timeout¨ when i want to enter the USB disk on the Linux computer. Any ideas?