Click to See Complete Forum and Search --> : Telnet and Samba refuses connections


boberan
08-17-2001, 10:40 PM
I just installed Mandrake 7.2 the other day and I am tying to learn about Linux and samba. Samba is installed and seems to be working (kind of).

When I do a smbclient //access3/public I get the following.

"error connecting to 192.168.2.220:139 (connection refused)"

Then I try to telnet I get the same error of the refused connection. Also I can't telnet from a NT box to the Linux box.

This is the error from the NT Box

F:\>telnet 192.168.2.220
Connecting To 192.168.2.220...Could not open a connection to host: Connect failed

I have been trying some things, added the ip address to the host.allow, added the netbios-ssn to the inetd.conf, and made sure the ports are open in the inetd.cong.

I can ping both of them.

I'm not where else to look or what to do, I have read most of the stuff in the portion of the board.

later,
Boberan

Bokkenka
08-18-2001, 11:42 AM
Originally posted by boberan:
<STRONG>When I do a smbclient //access3/public I get the following.

"error connecting to 192.168.2.220:139 (connection refused)"</STRONG>

Sounds like the Samba daemons aren't running. As root, try "samba status" to see if they are or not. It will list smbd and nmbd, and tell if they are running or not. If it isn't, run "samba start", and try smbclient again.

<STRONG>Then I try to telnet I get the same error of the refused connection. Also I can't telnet from a NT box to the Linux box.</STRONG>

Sounds like the same thing... Did you install the "telnet-server" package? Try running "rpm -q telnet-server". It will tell you if the package is installed or not. You will also need the package "xinetd" installed. If both are, look in your "/var/log/daemons/info" to see if it's listed. Check near the bottom, on the latest date. If it's not, then you can use "linuxconf" to start it. There's prob'ly a command that will do it, but I don't know it.

boberan
08-20-2001, 01:09 PM
Thanks Bokkenka

The problem with SAMBA was that it was looking for the codepages in a different spot then they where installed. I just copied them over to where SMB wanted them, not sure where the path for that stuff is at, to change it.

I have been working on installing Telnet. I downloaded the xinetd and to install that I need to upgrade the glibc so I downloaded that and it has conflicts. So I tried unistalling glibc, not a good idea. Mistakes are good way to learn, o well I get another run on installing it. I think I'm going to try Mandrake 8.0, to see what that one is like. Pretty new to this so I'm sure I will not notice much of a differnce.

Thank you for your help.

later,
Boberan

Bokkenka
08-20-2001, 05:47 PM
Originally posted by boberan:
<STRONG>...downloaded the xinetd and to install that I need to upgrade the glibc so I downloaded that....</STRONG>

There should be RPMs on the install disk. Mandrake does a lot of work to make sure all the versions it puts out on a disk fit together. Try installing off of that rather than downloading newer versions.