Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 466  / 2 Years ago, tue, february 8, 2022, 4:34:25

I want to setup a home network that grants full access to and from all machines in my home. All 4 of my machines are running Ubuntu 12.04. I tried setting up filesharing but have 2 problems with this: First, it does not grant me the complete access I desire and I have to share individual directories one by one.
Secondly, after following the instructions here for quick file sharing setup: How do I set up file sharing between two Ubuntu laptops on my wireless network?
under "browse network" all machines show up, but when I try to to open them, I see this:
opening
Followed by this a few seconds later:
enter image description here



I would appreciate any assistance I can get on his issue! Thanks!


More From » 12.04

 Answers
3

Open the smb.conf file for editing (gksu gedit /etc/samba/smb.conf) and look through the Share Definitions section, it seems to have all you need.



#======================= Share Definitions =======================

# Un-comment the following (and tweak the other settings below to suit)
# to enable the default home directory shares. This will share each
# user's home director as serverusername
[homes]
comment = Home Directories
browseable = yes

# By default, the home directories are exported read-only. Change the
# next parameter to 'no' if you want to be able to write to them.
read only = no

# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
; create mask = 0700

# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
; directory mask = 0700

# By default, serverusername shares can be connected to by anyone
# with access to the samba server. Un-comment the following parameter
# to make sure that only "username" can connect to serverusername
# The following parameter makes sure that only "username" can connect
#
# This might need tweaking when using external authentication schemes
; valid users = %S


Un-commpent means removing the ; from the beginning of a line (don't remove the hash signs). Uncommenting stuff in the first two paragragraphs, and setting the home directory to be writable and browsable, the way I've done above should really be it.



Save and exit when done, then restart samba with sudo service smbd restart.


[#34131] Wednesday, February 9, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
restlerfin

Total Points: 347
Total Questions: 112
Total Answers: 108

Location: Ukraine
Member since Wed, Dec 16, 2020
3 Years ago
;