Networking .... what is the best and easy to install and maintain package

Hi , I am a bit at a loss. In the past when I installed Samba it somehow worked . “Somehow” well I do not exactly know what I am doing in the network arena.

Anyway Samba .NOW… just did not want to work . …I must admit I do not know how to set up the Firewall !!!

I tried to follow what has been written at the top of the forum entries … no success

If somebody know a step by step config of Samba AND the firewall … that would be much appreciated

… and what are the hardware requirements … router etc

thanks and best regards

I always use Yast to configure Samba. And it takes care of the firewall. There’s probably a box I have to check for that, but that’s it.

Are you referring to a samba server, or client? For the former, allow the samba service via firewall-cmd…

sudo firewall-cmd --permanent --add-service=samba
sudo firewall-cmd --reload

If you’re using a particular zone you can use the the ‘zone=’ option.

For a samba client, there is the predefined ‘samba-client’ service that can be enabled to open the appropriate ports.

More info…

](https://forums.opensuse.org/member.php/49759-nrickert) @nrickert](https://forums.opensuse.org/member.php/49759-nrickert) …well, that was the way I used to do it too …

@deano_ferrari](https://forums.opensuse.org/member.php/122-deano_ferrari)

i tried what you suggested with a “virgin” smb.conf

no success.

As to hard ware , I an old Netgear router , which works … is ther any thing to be done on the router side ?

…yes and if you have more ideas , would much appreciated

regards

Too vague. I’m not sure whether you are concerned about the firewall and/or confirming that the samba server is configured appropriately for you needs.

Is samba active?

sudo systemctl status smb

Firewall status (active)?

sudo systemctl status firewalld

If so, report on the current configuration

firewall-cmd --list-all

Then we can advise further.

Then we can advise further.
…sure

linux-inok:/ # systemctl status smb      

● smb.service - Samba SMB Daemon 

  Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor preset: disable>

  Active: active (running) since Fri 2020-03-06 05:50:39 AEST; 10h ago 

 Process: 1797 ExecStartPre=/usr/share/samba/update-apparmor-samba-profile (code=exite>

Main PID: 1801 (smbd) 

  Status: "smbd: ready to serve connections..." 

   Tasks: 4 (limit: 4915) 

  CGroup: /system.slice/smb.service 

          ├─1801 /usr/sbin/smbd --foreground --no-process-group 

          ├─1803 /usr/sbin/smbd --foreground --no-process-group 

          ├─1804 /usr/sbin/smbd --foreground --no-process-group 

          └─1805 /usr/sbin/smbd --foreground --no-process-group 



Mar 06 05:50:39 linux-inok systemd[1]: Starting Samba SMB Daemon... 

Mar 06 05:50:39 linux-inok systemd[1]: Started Samba SMB Daemon. 

Mar 06 05:50:39 linux-inok smbd[1801]: [2020/03/06 05:50:39.189785,  0] ../lib/util/bec>

Mar 06 05:50:39 linux-inok smbd[1801]: daemon_ready: STATUS=daemon 'smbd' finished st>

lines 1-17/17 (END)...skipping... 

● smb.service - Samba SMB Daemon 

  Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor preset: disabled) 

  Active: active (running) since Fri 2020-03-06 05:50:39 AEST; 10h ago 

 Process: 1797 ExecStartPre=/usr/share/samba/update-apparmor-samba-profile (code=exited, status=0/SUCCESS) 

Main PID: 1801 (smbd) 

  Status: "smbd: ready to serve connections..." 

   Tasks: 4 (limit: 4915) 

  CGroup: /system.slice/smb.service 

          ├─1801 /usr/sbin/smbd --foreground --no-process-group 

          ├─1803 /usr/sbin/smbd --foreground --no-process-group 

          ├─1804 /usr/sbin/smbd --foreground --no-process-group 

          └─1805 /usr/sbin/smbd --foreground --no-process-group 



Mar 06 05:50:39 linux-inok systemd[1]: Starting Samba SMB Daemon... 

Mar 06 05:50:39 linux-inok systemd[1]: Started Samba SMB Daemon. 

Mar 06 05:50:39 linux-inok smbd[1801]: [2020/03/06 05:50:39.189785,  0] ../lib/util/become_daemon.c:138(daemon_ready)

Mar 06 05:50:39 linux-inok smbd[1801]: daemon_ready: STATUS=daemon 'smbd' finished starting up and ready to serve connections

~

~

~systemctl status firewalld


~ 

~ 

~ 



linux-inok:/ #


linux-inok:/ # systemctl status firewalld 

● firewalld.service - firewalld - dynamic firewall daemon 

  Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: d> 

  Active: active (running) since Fri 2020-03-06 05:50:33 AEST; 10h ago 

    Docs: man:firewalld(1) 

Main PID: 837 (firewalld) 

   Tasks: 2 (limit: 4915) 

  CGroup: /system.slice/firewalld.service 

          └─837 /usr/bin/python3 -Es /usr/sbin/firewalld --nofork --nopid 



Mar 06 05:50:32 linux-inok systemd[1]: Starting firewalld - dynamic firewall daemon... 

Mar 06 05:50:33 linux-inok systemd[1]: Started firewalld - dynamic firewall daemon. 



linux-inok:/ # ^C 

linux-inok:/ # ^C 

linux-inok:/ #  

linux-inok:/ #  

linux-inok:/ # firewall-cmd --list-all 

public (active) 

 target: default 

 icmp-block-inversion: no 

 interfaces: eth0 

 sources:  

 services: dhcpv6-client samba ntp nfs samba-client 

 ports:  

 protocols:  

 masquerade: no 

 forward-ports:  

 source-ports:  

 icmp-blocks:  

 rich rules:  

linux-inok:/ #  

linux-inok:/ # systemctl status firewalld 

● firewalld.service - firewalld - dynamic firewall daemon 

  Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: d> 

  Active: active (running) since Fri 2020-03-06 05:50:33 AEST; 10h ago 

    Docs: man:firewalld(1) 

Main PID: 837 (firewalld) 

   Tasks: 2 (limit: 4915) 

  CGroup: /system.slice/firewalld.service 

          └─837 /usr/bin/python3 -Es /usr/sbin/firewalld --nofork --nopid 



Mar 06 05:50:32 linux-inok systemd[1]: Starting firewalld - dynamic firewall daemon... 

Mar 06 05:50:33 linux-inok systemd[1]: Started firewalld - dynamic firewall daemon. 



linux-inok:/ # ^C 

linux-inok:/ # ^C 


thanks

…well that was somewhat misleading, it applied only to one machine. the other one is dead … put he commands in

Are these machines you refer to functioning as samba servers, clients or both? The output you shared confirms that samba is running (which is only needed when you need the machine to provide samba shares). The firewall output shows that samba ports are open (for client and server roles). Are you trying to share files between hosts on the network? Are they all Linux hosts? Is there a NAS in the equation?

Just in case this reference is useful to you:
https://doc.opensuse.org/documentation/leap/reference/html/book.opensuse.reference/cha-samba.html