I need help getting SWAT running. I am a new user of FreeBSD, reasonably experienced in using Windows but with little knowledge of networks. The idea of getting a little server was to teach myself a little bit more.
I have installed FreeBSD 9 from a memorystick image. I have compiled Samba 3.6 with the SWAT option selected. I have accepted the default suggestions during the make process. I have edited
(I have also tried samba_config="/usr/local/etc/smb.conf", winbindd_enable="NO", swat_enable-"YES", as suggested on some websites)
/etc/inetd.conf : swat stream tcp ...
/usr/local/etc/smb.conf : I've set workgroup, hosts allow, added a private share
I have confirmed that /etc/services has 901 for swat
I have added a Samba user.
(All of the above from the Samba manual or from various tutorials on the web. I have used the Samba manual to confirm that swat and its support files are installed.)
I can use shared directories from Windows machines on the network, but when I try to use swat from a Windows machine by http://192.168.1.30:901 I get "Could not connect to remote server" (Opera) or "The remote device or resource won't accept the connection" (Internet Explorer).
(I have confirmed the IP address with ifconfig.)
I have installed X11 and Opera on the FreeBSD server and tried "http://localhost:901" and this time get "Connection closed by remote server".
I have not loaded any other software and I assume there's no firewall installed and activated by the default installation process. I have de-installed Samba and re-installed using pkg_add -r samba36. The end result is unchanged.
I can find no-one else with this problem on Google searches, so I am forced to ask for help from the forum or give up on FreeBSD because I can't spend more time re-installing everything a fourth time. I must be missing something obvious because Samba is such a popular package there would be others complaining about the same thing.
Any suggestions welcomed. Thanks.
I have installed FreeBSD 9 from a memorystick image. I have compiled Samba 3.6 with the SWAT option selected. I have accepted the default suggestions during the make process. I have edited
Code:
/etc/rc.conf: samba_enable="YES"
(I have also tried samba_config="/usr/local/etc/smb.conf", winbindd_enable="NO", swat_enable-"YES", as suggested on some websites)
/etc/inetd.conf : swat stream tcp ...
/usr/local/etc/smb.conf : I've set workgroup, hosts allow, added a private share
I have confirmed that /etc/services has 901 for swat
I have added a Samba user.
(All of the above from the Samba manual or from various tutorials on the web. I have used the Samba manual to confirm that swat and its support files are installed.)
I can use shared directories from Windows machines on the network, but when I try to use swat from a Windows machine by http://192.168.1.30:901 I get "Could not connect to remote server" (Opera) or "The remote device or resource won't accept the connection" (Internet Explorer).
(I have confirmed the IP address with ifconfig.)
I have installed X11 and Opera on the FreeBSD server and tried "http://localhost:901" and this time get "Connection closed by remote server".
I have not loaded any other software and I assume there's no firewall installed and activated by the default installation process. I have de-installed Samba and re-installed using pkg_add -r samba36. The end result is unchanged.
I can find no-one else with this problem on Google searches, so I am forced to ask for help from the forum or give up on FreeBSD because I can't spend more time re-installing everything a fourth time. I must be missing something obvious because Samba is such a popular package there would be others complaining about the same thing.
Any suggestions welcomed. Thanks.