I created a share that has been working great and suddenly no longer works. I have rebooted the unit but it doesn’t show up. Samba sharing is still enabled in the GUI.
Everything seems ok. Is it possible samba is binding to the wrong network interface and therefore the share isn’t available on the IP address I am browsing?
Just to be clear, I am sharing a folder from my CoreElec server, not trying to mount a samba share from another server.
CoreELEC:~/docker # mount | grep Extern
/dev/sdc1 on /var/media/Extern type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
mbd.service - Samba NMB Daemon
Loaded: loaded (/usr/lib/systemd/system/nmbd.service; disabled; vendor preset: disabled)
Active: active (running) since Mon 2021-08-30 21:01:55 CEST; 4min 3s ago
Process: 13389 ExecStart=/usr/sbin/nmbd (code=exited, status=0/SUCCESS)
Main PID: 13405 (nmbd)
Tasks: 1 (limit: 3953)
Memory: 1.6M
CGroup: /system.slice/nmbd.service
└─13405 /usr/sbin/nmbd
Aug 30 21:02:17 CoreELEC nmbd[13405]:
Aug 30 21:02:17 CoreELEC nmbd[13405]: Samba name server COREELEC is now a local master browser for workgroup WORKGROUP on subnet 172.20.0.1
Aug 30 21:02:17 CoreELEC nmbd[13405]:
Aug 30 21:02:17 CoreELEC nmbd[13405]: *****
Aug 30 21:02:17 CoreELEC nmbd[13405]: [2021/08/30 21:02:17.771544, 0] ../source3/nmbd/nmbd_become_lmb.c:397(become_local_master_stage2)
Aug 30 21:02:17 CoreELEC nmbd[13405]: *****
Aug 30 21:02:17 CoreELEC nmbd[13405]:
Aug 30 21:02:17 CoreELEC nmbd[13405]: Samba name server COREELEC is now a local master browser for workgroup WORKGROUP on subnet 172.31.0.1
Aug 30 21:02:17 CoreELEC nmbd[13405]:
Aug 30 21:02:17 CoreELEC nmbd[13405]: *****
I have removed the config and rebooted and rebooted the router as well.
According to testparm all the default shares are now remade but it still won’t connect.
I have tried to mount the share internally just to test if it’s a network problem and I get “connection refused” when trying to mount any correct share listed in conf.
mount //192.168.0.138/Downloads /storage/smb/test -o username=nobody,password=nobody
I have tried giving the root username and password as well but still doesn’t work.
Seems that the samba service is working but refusing connections.
I have tried resetting iptables and even disabling but doesn’t help.
Your smb.conf looks different than the default one. use this template and it have to work:
If not your Windows system has a problem. MAye you used a “old” conf from from a prior samba version.
If this still does not work make a complete fresh clean install and try if the default shares can be accessed or not.
I am not using an old conf. besides, the config is regenerated in /var/samba when I remove the .config config-
The share is not connectable from my Raspberry PI either, so it rules out being just a windows problem. Like I said in my previous post, I cannot even locally mount the share inside CoreElec.
I’m on rc3 build with my tanix tx3.
samba didn’t work too. and the smb.conf is little different from what you post.
I use your conf file and it works! thx!