LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   FTP nor Telnet work (https://www.linuxquestions.org/questions/linux-networking-3/ftp-nor-telnet-work-5319/)

Fruitbat 08-11-2001 11:32 AM

FTP nor Telnet work
 
I have a recently installed RH7.1 system and I cannot get the simplest networking features to work. I have Windows 2000 running on another machine. About all I can do is ping in both directions.

I was expecting an FTP daemon to be running on RH7.1 but it is not. xinetd is running and for some reason the configuration for every single service has the disable attribute set to yes.
I've tried setting it to 'no' for ftpd but it makes no difference. When I try FTP from the W2K machine I get the following:

C:\gen\socktest>ftp 192.168.1.2
> ftp: connect :Connection reset by peer
ftp>

I've also tried running the ftpd daemon directly - it doesn't run for long and simply logs a syslog message, i.e.

Myhost ftpd[1486]: getpeername ((null)): Socket operation on non-socket.

Similarly, if I try to start the telnet daemon from the command line I get

telnetd: getpeername: Socket operation on non-socket.

I've tried the above after stopping xinetd but it makes no difference.

TCP/IP is set up as follows:
RH7.1: 192.168.1.2
W2K: 192.168.1.1
Mask: 255.255.255.0

unSpawn 08-12-2001 07:23 PM

the "getpeername" thingie is a DNS lookup failure.
IIRC the easiest way is to make sure on both boxes the other is known by adding the ip addy and name to the /etc/hosts and %system32%\drivers\etc, and make sure resolv.conf uses file,dns precedence for lookups.


All times are GMT -5. The time now is 05:48 AM.