LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 08-11-2001, 12:32 PM   #1
Fruitbat
LQ Newbie
 
Registered: Jun 2001
Location: UK
Posts: 29

Rep: Reputation: 15
Thumbs down 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
 
Old 08-12-2001, 08:23 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,675
Blog Entries: 54

Rep: Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954Reputation: 2954
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting FTP, TELNET , or SSH to work jst1 Suse/Novell 1 03-08-2005 09:54 PM
ftp and telnet shelbyg75 Red Hat 2 09-29-2004 03:27 PM
telnet and ftp paperdiesel Linux - Networking 18 07-12-2004 05:15 PM
telnet and ftp? nabil_boussetta Red Hat 4 10-27-2003 09:33 AM
telnet and FTP clewis Linux - Newbie 6 06-25-2001 04:04 AM


All times are GMT -5. The time now is 03:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration