Samba on SUSE

Q I'm having trouble getting Samba to work on my SUSE 9.2 box. I use a Belkin 10/100 Ethernet card on my Linux box; a Via Rinefire onboard 10/100 Ethernet card on my Windows box; and a five-port Belkin Ethernet switch. The Belkin NIC is detected and configured by SUSE, but I can't figure out how to get Samba to work. It worked under my old system (Fedora) but I don't want to go back to this, as I want to listen to MP3s and use the software (like Scribus and KMyMoney) that comes with SUSE. Any help would be appreciated.

A You'll need to verify that Samba is running and that the firewall is turned off - use YaST for this. If the firewall is enabled, remote systems will be unable to access the Samba service. As an alternative, you can open up specific ports on the firewall to permit access to Samba:

TCP: 137, 138, 139, 445
UDP: 137, 138

Put the following lines in the etc/sysconfig/SUSEfirewall2 configuration file:

FW_SERVICES_EXT_TCP="microsoft-
ds netbios-dgm netbios-ns netbios-
ssn"
FW_SERVICES_EXT_UDP="netbios-
dgm netbios-ns"

You will also need to enable broadcast packets on the firewall:

FW_ALLOW_FW_BROADCAST="yes"

Et voila! Hope this works.

Follow us on Identi.ca or Twitter

Username:   Password:
Create Account | About TuxRadar