LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-20-2002, 07:00 PM   #1
ldogg
LQ Newbie
 
Registered: Jan 2002
Posts: 10

Rep: Reputation: 0
Telnet problems


Please help me with a telnet problem. I just installed Redhat 7.2, and I want to Telnet to it from another machine. I know it isn't secure, but I am only doing this to learn Linux. I have tried EVERYTHING posted on this board, and I still get a connection refused error. I checked the hosts.allow and deny files, I made sure the line said disabled=no, made sure telnet was running, etc. Still no luck. Also, when I type setup after being logged in as root, I go into the firewall config and select none, but it doesn't save it. it always goes back to what it was. Someone please help!

Thanks
 
Old 01-20-2002, 08:24 PM   #2
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian
Posts: 717

Rep: Reputation: 32
.

Last edited by hanzerik; 01-20-2002 at 08:39 PM.
 
Old 01-21-2002, 03:43 AM   #3
MikHud
Member
 
Registered: Jan 2002
Location: UK
Distribution: Ubuntu
Posts: 45

Rep: Reputation: 15
Sounds like you may have tried all this, but see www.webmo.net/support/linux72.html section 5.B 'Telnet' just in case. Note the little typo: 'xinet.d should read 'xinetd.d'. I had a similar problem but changing 'disable' in /etc/xinetd.d from yes to no cured it for me.

Regards
Mike
 
Old 01-23-2002, 08:55 PM   #4
ldogg
LQ Newbie
 
Registered: Jan 2002
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for the help Mike, but I still can't get it working. I tried adding the following line:

-A input -s 0/0 -d 0/0 23 -p tcp -y -j ACCEPT

I'm not sure if I did it right though. Do i just do "pico ipchains" in the sbin dir, and put it anywhere in the file, or does it have to be in a special place?

Thanks
 
Old 01-24-2002, 07:09 AM   #5
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian
Posts: 717

Rep: Reputation: 32
I dont use ipchains, but I think the command to modify the chains would be: "ipchains -A input -s 0/0 -d 0/0 23 -p tcp -y -j ACCEPT"

Here is a link with info on how to make rules perminant.
http://www.linux.com/howto/IPCHAINS-HOWTO-2.html#ss2.3
 
  


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
Telnet problems xleft4dexy Linux - Networking 1 10-12-2003 07:51 AM
Hotwayd Telnet problems moneyshotz Linux - Software 2 09-07-2003 02:50 PM
Telnet Problems def1014 Linux - Networking 2 08-26-2002 12:53 PM
Telnet problems Kaa Linux - Networking 8 02-21-2002 11:52 PM
telnet problems comp33 Linux - Networking 4 12-27-2001 02:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:07 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
Open Source Consulting | Domain Registration