- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Can't telnet to RH7.2 new installed box
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2002 08:18 PM
02-16-2002 08:18 PM
Thanks,
-tr
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2002 02:32 PM
02-17-2002 02:32 PM
Re: Can't telnet to RH7.2 new installed box
By default, for security reasons, only a minimum set of services are enabled on RedHat 7.2.
You have to enable the telnet server by doing the following :
1. Edit /etc/xinetd.d/telnet and toggle "disable=yes" to "disable=no".
2. Restart the "xinetd" daemon (/etc/init.d/xinetd restart).
Good luck.
Kodjo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2002 05:39 PM
02-17-2002 05:39 PM
Re: Can't telnet to RH7.2 new installed box
I see the format of these files and they have the parameters you mentioned. But no 'telnet' file.
Thanks again for your assistance.
-tr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2002 11:59 AM
02-18-2002 11:59 AM
Re: Can't telnet to RH7.2 new installed box
It seems that telnet server package is not installed on your RedHat system. It is generally the case if you choose "workstation" during the installation steps.
To correct this, mount the cdrom device on /mnt/cdrom, then :
rpm -ivh /mnt/cdrom/telnet-server-0.17-20.i386.rpm (or any other version of telnet-server).
After that, check in /etc/xinetd.d/telnet that the "disable" flag is set to no.
Good luck.
Kodjo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2002 12:03 PM
02-18-2002 12:03 PM
Re: Can't telnet to RH7.2 new installed box
http://www.webmo.net/support/linux72.html
Telnet
Telnet is not generally recommended because login information (username and password) and all commands (su and root password) are transmitted as plain text. One should use ssh instead. However, telnet is sometimes used on a secure local network when security is less of a concern. To turn on telnet
# cd /etc/xinet.d
# vi telnet
disable = no
# /sbin/service xinetd restart
If telnet fails,make sure that the iphains firewall contains a line for service 23 (telnet) like
-A input -s 0/0 -d 0/0 23 -p tcp -y -j ACCEPT
that the telnet server software is installed
# rpm -qa | grep telnet-server
and that either /etc/hosts.deny contains no entries or /etc/hosts.allow permits access by the client
ALL:{network_address}/{subnet_mask}
where {network_address} may be calculated from
$ ipcalc --network {ip_address} {subnet_mask}
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2002 07:57 AM
02-19-2002 07:57 AM
Re: Can't telnet to RH7.2 new installed box
If security is not an issue, then telnet is an acceptable, proven tool. SSH, though, is better. (and included on the install media that comes from RedHat)
I use RH 7.2 in a small network, and find it very stable.
Enjoy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2002 09:26 PM
02-20-2002 09:26 PM
Re: Can't telnet to RH7.2 new installed box
chkconfig telnet on
would change the appropriate part of /etc/inetd.conf (or /etc/xinetd.d/*) to turn the 'telnet' configuration on.
This is also capable of managing the startup files (ie. chkconfig --level 2345 xfs on) based on run level.
This is just a cleaner way of enabling or disabling a given service on a RH linux box.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2002 06:03 AM
02-21-2002 06:03 AM
Re: Can't telnet to RH7.2 new installed box
I installed 7.2 on 2 boxes and 2 different locations. I did the same install (I went back and did the Server install on both), and the only difference was the network numbers.
One box works fine sending mail. The other one, gives me a hostname lookup, and a route to host error. The file /etc/sysconfig/networking has the right gateway. If I do a netstat -rn however, the gateway is 152.33.255.254 instead of 152.33.254.254. When I do a manual route add for the right one, about 30 minute later it starts working! Until of course I reboot. So my question is:
1) Why does this one box behave this way and the other one didn't?
2) How can I fix this (and I would prefer to "fix" the problem rather than just patch it by making the route add command part of the boot process)?
Thanks,
-tr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2002 08:54 PM
02-21-2002 08:54 PM
Solution2) Check /etc/sysconfig/network, in particular the 'GATEWAY=' line. if the line isn't there, then check /etc/sysconfig/network-scripts/ifcfg-eth0 (or eth1, depending on which interface) for a similar line.
When the system comes up, the 'ifup' command gets issued with whatever ethernet interfaces it finds listed in that directory. It uses the settings in these text files to configure the networking on your system.
If the 'GATEWAY' values are correct, you might want to check your 'NETMASK' values, making sure they have the right bitmasks in place.
If you need further help, just post some of those details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2002 03:46 AM
03-16-2002 03:46 AM
Re: Can't telnet to RH7.2 new installed box
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2002 10:32 AM
04-17-2002 10:32 AM
Re: Can't telnet to RH7.2 new installed box
Stuart actually hit the nail on the head with my second question regarding the two like boxes. I must have fat fingered the GW address and the scripts-ifcfg0 file had the wrong address in it. I edited that and it fixed the problem.
Thanks again for your help.You guys are great!