LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-26-2004, 02:54 AM   #1
adtomar
LQ Newbie
 
Registered: Nov 2004
Posts: 15

Rep: Reputation: 0
Enabling Telnet in Runlevel 1


hello Friends ,
I am new to Linux Kernel and struck in a problem ....


I am booting my cliet from server in Runlevel 1. to perform Remote Restore.


I have been asked to activate Telnet Session in Runlevel 1 which after reveiwing few documents I found that networ drivers are not loaded in RunLevel & so it is not possible to start Telnet Session.

But from client to Server by loading the exe /usr/bin/telnet and its shared library I am able to make telnet connection.

If I try from server to Client it shows unable to connect: connection refused.

SO I tried to boot the client in Runlevel 3 so that network interfaces are available. but the systemhands after showing message

INIT: No more processes left.

Is this the right solution to enable telnet.


Please Guide me further

Thank You in advance

Aditya Singh Tomar
 
Old 11-26-2004, 03:45 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
Yes, you need to have networking running to enable telnet.
You don't need to explicitly change runlevel,
Code:
/etc/rc.d/network start
will do it (you may need to change the /etc/rc.d bit; I think Red Hat used to use /etc/rc.d/init.d/ when I used it years ago).

The message
Quote:
INIT: No more processes left.
means that it has shut down all the user processes in the particular runlevel; it normally does this when you change runlevels (especially to shutdown or reboot). You should expect the system to start up runlevel 3, enabling networking and firewalls and then bring up system logins again.

The message
Quote:
connect: connection refused
can be caused by telnetd or inetd (configured for telnet) not running, depending on which you are using. It can also be caused by the network being down, or the telnet port being blocked by a firewall.
 
Old 11-26-2004, 05:13 AM   #3
adtomar
LQ Newbie
 
Registered: Nov 2004
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks for your message.



1. I have a confusion ! Is it possible to start network devices while being in Runlevel 1 by the
/etc/rc.d/init.d/networking start

2. How to enable inetd server/xinetd server in runlevel 1

as I am asked to be in runlevel 1 and start Telnet Service.


Aditya
 
Old 11-26-2004, 09:59 AM   #4
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
Quote:
Originally posted by adtomar
I am asked to be in runlevel 1 and start Telnet Service.
Runlevel 1 typically means 'no networking' so really you shouldn't be trying to get telnet up in runlevel 1. If you really need to not be in runlevel 3 then I'd suggest maybe editing inittab and setting up a runlevel 2 that is runlevel 1 with networking, although that's about all runlevel 3 is anyhow. If you change runlevel 1 to have it start networking (to be able to telnet) then it's not really runlevel 1 anymore, and if you had bad enough networking problems you wouldn't be able to use runlevel 1 to fix them.
 
Old 11-26-2004, 12:46 PM   #5
thinksincode
LQ Newbie
 
Registered: Nov 2004
Location: Massachusetts, USA
Distribution: Fedora
Posts: 27

Rep: Reputation: 15
Thumbs down Don't run telnet at all.

Slightly offtopic, but still good nonetheless..

Just some advice: these days, you shouldn't be running a telnet server at all. Sending out a password plaintext over a network is a bad idea.

If anything, run a SSH server. It's much more secure.
 
  


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
Enabling Telnet on Slackware initself Slackware 8 12-26-2004 02:19 PM
Enabling Telnet on VL4 CatSC VectorLinux 2 01-08-2004 08:22 PM
Enabling telnet on other ports guinnyn Linux - Networking 0 08-22-2003 07:49 PM
enabling telnet and ftp nelly_boy Linux - Software 2 06-07-2003 11:13 AM
Enabling Telnet Access on Mandrake 9.0 jumper4000 Linux - Newbie 2 10-25-2002 06:03 PM

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

All times are GMT -5. The time now is 06:13 AM.

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