LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 08-09-2011, 11:23 PM   #1
piaakit
LQ Newbie
 
Registered: Aug 2011
Posts: 16

Rep: Reputation: Disabled
how to ssh rhel 6 after reboot


hi all

i have a rhel 6 machine, everything i reboot the machine from other computer, i can not remote it back even use ssh or vnc, also can not ping the machine's ip, i have to go to the rhel6 machine to login first, and the other computer could ssh and vnc the rhel 6 machine, anyway to prevent this by going to the rhel6 machine to login before other computer could ssh or vnc ? thx

keith
 
Old 08-10-2011, 09:51 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,663

Rep: Reputation: 6917Reputation: 6917Reputation: 6917Reputation: 6917Reputation: 6917Reputation: 6917Reputation: 6917Reputation: 6917Reputation: 6917Reputation: 6917Reputation: 6917
Quote:
Originally Posted by piaakit View Post
hi all
i have a rhel 6 machine, everything i reboot the machine from other computer, i can not remote it back even use ssh or vnc, also can not ping the machine's ip, i have to go to the rhel6 machine to login first, and the other computer could ssh and vnc the rhel 6 machine, anyway to prevent this by going to the rhel6 machine to login before other computer could ssh or vnc ? thx
keith
Spell out your words, please.

And the way you've described your problem makes no sense. Are you saying that you just have to go to the RHEL6 console, log in, and do NOTHING ELSE, and all your network services then start working? If so, I've never heard of such a thing. Normally such problems are related to an incorrect/invalid network configuration (needing someone to bring up the interface manually), services not being started (again, having to start them manually), or a firewall issue.

What do you do after logging in at the console? And bear in mind that RHEL machines shouldn't have to be rebooted..they're servers, and are designed to run for VERY long periods. Also, RHEL is NOT FREE, and if you're using it, you should be paying for it..part of the benefit of that is you could contact RedHat support. Otherwise, consider loading CentOS instead.
 
Old 08-10-2011, 11:17 AM   #3
Velenux
LQ Newbie
 
Registered: Jul 2011
Posts: 5

Rep: Reputation: Disabled
Is the network configured using NetworkManager?

If it is, you should either check the "available for all users" box on the connection (this will start the connection at boot time) or reconfigure the network with the usual configuration scripts in /etc/sysconfig/network-scripts/
 
1 members found this post helpful.
Old 09-02-2011, 05:53 AM   #4
chandhokshashank
LQ Newbie
 
Registered: Sep 2011
Posts: 20

Rep: Reputation: Disabled
Quote:
Originally Posted by Velenux View Post
Is the network configured using NetworkManager?

If it is, you should either check the "available for all users" box on the connection (this will start the connection at boot time) or reconfigure the network with the usual configuration scripts in /etc/sysconfig/network-scripts/
Velenux

Can you please elaborate tell configuration of Network Manager for "available for all users"?

Thanks
 
Old 09-02-2011, 08:54 AM   #5
Velenux
LQ Newbie
 
Registered: Jul 2011
Posts: 5

Rep: Reputation: Disabled
Quote:
Originally Posted by chandhokshashank View Post
Velenux

Can you please elaborate tell configuration of Network Manager for "available for all users"?

Thanks
There's no much to elaborate
See the attachment for a screenshot from Fedora 15 (but RHEL/CentOS/SL config interfaces are quite similar)
Attached Thumbnails
Click image for larger version

Name:	connection-available.png
Views:	102
Size:	74.2 KB
ID:	7929  
 
Old 09-08-2011, 06:41 AM   #6
attoiu
LQ Newbie
 
Registered: Sep 2009
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by Velenux View Post
There's no much to elaborate
See the attachment for a screenshot from Fedora 15 (but RHEL/CentOS/SL config interfaces are quite similar)
Hi,

I was on a machine running CentOS 6.0 and checking "Available for all users" didn't help me. It was the "Connect automatically" button that made the difference in my case.

Cheers..
 
Old 09-08-2011, 06:14 PM   #7
Velenux
LQ Newbie
 
Registered: Jul 2011
Posts: 5

Rep: Reputation: Disabled
Quote:
Originally Posted by attoiu View Post
Hi,

I was on a machine running CentOS 6.0 and checking "Available for all users" didn't help me. It was the "Connect automatically" button that made the difference in my case.

Cheers..
Oh... ok. I didn't think of that because it's on by default iirc. Anyway, solved
 
Old 12-29-2011, 10:06 AM   #8
netbull
LQ Newbie
 
Registered: Dec 2011
Posts: 1

Rep: Reputation: Disabled
Thanks, this worked for me like a charm
 
  


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
reboot timings in Enterprise RHEL 5.5 kosys Linux - Newbie 2 08-11-2011 05:33 AM
cannot use NFS (or even ssh) RHEL box as server, but external mnt & ssh out work ok drsgrid Red Hat 3 08-08-2011 03:55 PM
Unexpected reboot - RHEL 5.3 Uday123 Linux - Kernel 1 10-02-2009 06:22 PM
RHEL 5 adding a LUN without a reboot l4n3 Linux - Enterprise 6 03-28-2008 03:17 PM
oci8 module is gone after reboot in RHEL? romeo_tango Linux - General 0 06-29-2007 12:40 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 01:22 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