**I’ve set the autostart of Samba in Yast (runlevel 3, 5). The samba seems to be running after start, but when I try to browse the network in Nautilus so there is the folder is empty. If I restart the Samba manually (rcsmb restart), so it works in nautilus correctly.
Do you know how to force the Samba to work properly after login?
On 3/30/2013 9:16 AM, Skeletonix wrote:
>
> *Hello
>
> *I’ve set the autostart of Samba in Yast (runlevel 3, 5). The samba
> seems to be running after start, but when I try to browse the network in
> Nautilus so there is the folder is empty. If I restart the Samba
> manually (rcsmb restart), so it works in nautilus correctly.
>
> Do you know how to force the Samba to work properly after login?
>
>
Skeletonix;
YaST does not seem to work properly with systemd. In a terminal try:
su -
systemctl status smb.service
systemctl start smb.service # only if needed
systemctl enable smb.service
(do the same for nmb.service)
This was written for Fedora but it applies to openSUSE and will help explain systemd
In Yast - Network Devices - Networksettings
Assuming networking is set to ifup.
Go Overview, select the networkcard, click Edit
In the General Tab, change “At cable connection” to “At boot time”.
Reboot and samba should run without a restart.