setup SAMBA
Posted: Tue Apr 04, 2023 4:36 pm
add user locally FIRST
add user to samba
/etc/samba/smb.conf
testing:
Code: Select all
adduser usernameCode: Select all
smbpasswd -a usernameCode: Select all
interfaces = 192.168.1.199/24 wlp4s0 enp0s25
bind interfaces only = yes
[4tb]
comment = 4tb
path = /media/4tb
browseable = yes
guest ok = no
create mask = 0777
valid users = username
writeable = yesCode: Select all
smbclient -L 192.168.1.1 -u username