Getting very frustrated trying to get Samba to work. I have a Windows XP box (192.168.0.1) which is connected to the internet and shares the connection with two other Windows boxes. I then have my Redhat box which I have given an IP address of 192.168.0.4. Under the TCP/IP config I have specified 192.168.0.1 as the default gateway and now the Linux PC can access the internet via the Windows PC and the two can ping eachother. So far so good. I have got a VNC server running on the Linux box too and I can log in from any of the Windows boxes and fully control it, so I know the networking is okay!
Now the problem is I want to get Samba running. I have a smb.conf file in /etc/samba, but I wasn't entirely sure whether or not Samba is installed properly. I have looked in several guides and the smb commands they have mentioned do not work. I have check the Package Manager and it tells me I have "samba-client" and "samba-common" installed - is this correct? I typed "smbclient -L localhost" as specified in one of the guides and I get this:
added interface ip=192.168.0.4 bcast=192.168.0.255 nmask=255.255.255.0
error connecting to 127.0.0.1:139 (Connection refused)
Connection to localhost failed
I think I need some help here!!
Now the problem is I want to get Samba running. I have a smb.conf file in /etc/samba, but I wasn't entirely sure whether or not Samba is installed properly. I have looked in several guides and the smb commands they have mentioned do not work. I have check the Package Manager and it tells me I have "samba-client" and "samba-common" installed - is this correct? I typed "smbclient -L localhost" as specified in one of the guides and I get this:
added interface ip=192.168.0.4 bcast=192.168.0.255 nmask=255.255.255.0
error connecting to 127.0.0.1:139 (Connection refused)
Connection to localhost failed
I think I need some help here!!