- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- i am not able connect
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
10-06-2005 11:12 AM
10-06-2005 11:12 AM
I install Redhatlinux9 in my desktop as a server .But i am not able to connect the machine .I am new to linux environment,so please help me to connect the machine from remote.But i gave static ip address.What are procedures i have to do.
Thanks in advance.
chandru
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2005 12:26 PM
10-06-2005 12:26 PM
Re: i am not able connect
What IP address you assigned to ther RH 9 box and what IP address you configued on your PC or workstation.
When you installed RH 9, did you turn on the firewall ?
Are you trying to access it using ftp, http, telnet, ssh ?
Login that box as root from local console and stop iptables and ipchains if installed. Once they are stop, try again
/etc/init.d/ipchains stop
/etc/init.d/iptables stop
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2005 12:32 PM
10-06-2005 12:32 PM
Re: i am not able connect
Thanks for you reply.
My machine is not in firewall.
I tried to access through telnet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2005 01:48 PM
10-06-2005 01:48 PM
Re: i am not able connect
Have you tried to access other computers on the network from this RH 9 box ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2005 02:25 PM
10-06-2005 02:25 PM
Re: i am not able connect
Just something came up in my mind, telnet is disabled by default since RH 8 I think.
use following command to enable it if you want
/sbin/chkconfig --level 345 telnet on
/etc/init.d/xinetd restart
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2005 05:57 PM
10-06-2005 05:57 PM
Re: i am not able connect
telnet is by default disabled in RH distributions, also it is not safe to access a box over telnet.
So use SSH from the remote machine (if you are using windows, then use 'putty' a free SSH client for windows)
On the linux box ensure the IP address is configured, run 'ifconfig' as root user and see whether eth0 is configured with the IP address you gave. Also try to ping the machine with the ip address you gave and see whether it works.
Hope this helps,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2005 06:36 PM
10-06-2005 06:36 PM
Re: i am not able connect
Also make sure telnet is enable on your machine: chkconfig --list telnet.
HTH
ziad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2005 08:06 PM
10-06-2005 08:06 PM
Re: i am not able connect
# ping
If it is successful then,
# telnet
are you able to do ? Are getting any errors?
# ssh
Is it working?
If it is not working, log on to the linux machine with it's console then,
# netstat -na | grep -i :23
Is it listening?
# iptables -F
Try now.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2005 02:23 AM
10-07-2005 02:23 AM
Re: i am not able connect
Thanks for reply
I am able to ping the linux machine from my windows desktop.
From linux machine i am able to rlogin to HPUX machine.From HPUX machine i am not able to rlogin the linux machine.
In the folder /etc/xinetd.d there is no firewall.
I start the telnet service
service xinetd start.
I add in securetty file console pts/o to pts/8
In /etc/xinetd.d i cat telnet the output is
# default: on
# description: The telnet server serves telnet sessions; it uses \
# unencrypted username/password pairs for authentication.
service telnet
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
}
please give the solution to connect through telnet from remote.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2005 02:50 AM
10-07-2005 02:50 AM
Re: i am not able connect
Try to connect to telnet from the local linux box itself first.
i.e from the linux box,
telnet localhost
and see whether you are getting the login prompt. If you are not getting the login prompt it means telnet service is not running on the system.
Hope this helps,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2005 03:10 AM
10-07-2005 03:10 AM
Re: i am not able connect
I gave telnet localhost
it is connecting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2005 03:19 AM
10-07-2005 03:19 AM
SolutionOk it means telnet is running fine on the linux box and the problem is most likely from the remote box or on the network.
If the boxes are connected by a router, ensure the router allows telnet traffic.
Second ensure no firewall running on the linux box (hopefully you have already done this) still, confirm it by 'service iptables stop' on the linux box.
From the remote box login to the linux box and see whether you are getting the login prompt, if not the problem is on the network side. If you are getting the login prompt but not able to login as root (eg) then the problem is some misconfiguration in the Linux box.
Hope this helps,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2005 03:57 AM
10-07-2005 03:57 AM
Re: i am not able connect
Thanks for reply.
i did service iptables stop.
Thanks
Krish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2005 04:00 AM
10-07-2005 04:00 AM
Re: i am not able connect
Bye for now
Thanks
Chandrasekar