NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
ma33axaka
May 19, 2018Aspirant
Readynas 104 SMB won't activate
Been using it for almost 2 years and no problem.
All of suddent I can't enalbe SMB. Did a OS reinstallation, and upgrade to 6.9.4-T8, non of them helped.
I did some research and the only way is t...
- May 19, 2018
I tried so:
apt-get remove samba samba-common smbclient swat samba-doc smbfs libpam-smbpass libsmbclient libsmbclient-dev winbind
This removes all samba-related packages.
Then:
apt-get install samba
Then reboot and:
systemctl status -a smb
give:
root@NAS:~# systemctl status -a smb ● smb.service - Samba SMB Daemon Loaded: loaded (/lib/systemd/system/smb.service; enabled; vendor preset: enab led) Active: active (running) since Sat 2018-05-19 16:30:45 MSK; 19min ago Main PID: 2219 (smbd) Status: "smbd: ready to serve connections..." CGroup: /system.slice/smb.service ├─2219 /usr/sbin/smbd --foreground --no-process-group ├─2325 /usr/sbin/smbd --foreground --no-process-group ├─2326 /usr/sbin/smbd --foreground --no-process-group ├─2355 /usr/sbin/smbd --foreground --no-process-group └─3723 /usr/sbin/smbd --foreground --no-process-group May 19 16:30:39 NAS systemd[1]: Starting Samba SMB Daemon... May 19 16:30:45 NAS systemd[1]: Started Samba SMB Daemon. May 19 16:30:45 NAS smbd[2219]: [2018/05/19 16:30:45.997388, 0] ../lib/ util/become_daemon.c:124(daemon_ready) May 19 16:30:46 NAS smbd[2219]: STATUS=daemon 'smbd' finished starting up and ready to s
ma33axaka
May 19, 2018Aspirant
root@NAS:~# /etc/samba/smb.conf
-bash: /etc/samba/smb.conf: Permission denied
root@NAS:~#
How do I open this file?
Giggos
May 19, 2018Aspirant
Use an editor.
Try installing a simple editor like nano
> apt-get install nano
then
> nano /etc/samba/smb.conf
- ma33axakaMay 19, 2018Aspirant
This file is auto-generated. Do not modify! [global] include = /etc/frontview/samba/smb.conf.defaults #dashboard: allow trusted domains = 0 dos charset = CP1252 hostname lookups = 0 map to guest = Bad User #dashboard:map untrusted to domain = no oplocks = 1 #dashboard:#dashboard:orgunit = #dashboard:#dashboard:no_sync_ads = 0 #dashboard:idmap config AOK : backend = rid #dashboard:idmap config AOK : range = 32768 - 2000000000 #dashboard: password server = * #dashboard: include system krb5 conf = 0 realm = security = user template homedir = /home/%U workgroup = AOK #dashboard: #dashboard:domain_admin_user = include = /etc/frontview/samba/smb.conf.%a include = /etc/frontview/samba/smb.conf.overrides include = /etc/frontview/samba/Shares.conf include = /etc/frontview/samba/Shares.conf.%G include = /etc/frontview/samba/addons/addons.conf include = /run/usb/samba/Shares.conf [homes] browseable = 0 writeable = 1 public = 0 valid users = %D\%S
- GiggosMay 19, 2018Aspirant
What does
> systemctl status -a smb
Give you?
- ma33axakaMay 19, 2018Aspirant
root@NAS:~# systemctl status -a smb ● smb.service - Samba SMB Daemon Loaded: loaded (/lib/systemd/system/smb.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Sat 2018-05-19 15:24:40 MSK; 18min ago Process: 4337 ExecStart=/usr/sbin/smbd --foreground --no-process-group $SMBDOPTIONS (code=exited, status=1/FAILURE) Main PID: 4337 (code=exited, status=1/FAILURE) May 19 15:24:39 NAS systemd[1]: Starting Samba SMB Daemon... May 19 15:24:40 NAS systemd[1]: smb.service: Main process exited, code=exited, status=1/FAILURE May 19 15:24:40 NAS systemd[1]: Failed to start Samba SMB Daemon. May 19 15:24:40 NAS systemd[1]: smb.service: Unit entered failed state. May 19 15:24:40 NAS systemd[1]: smb.service: Failed with result 'exit-code'. root@NAS:~#
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!