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 05-21-2013, 09:15 AM   #1
Spetsnaz
LQ Newbie
 
Registered: Feb 2013
Posts: 16

Rep: Reputation: Disabled
Exclamation Starting Up automatically network without iKVM? CentOS 6 64bit


Right now my issue is that everytime I reboot, I need to go over iKVM and type the following to boot up the network part.

ifconfig eth2 SERVERIP netmask 255.255.255.0 up
route add default gw SERVERGWIP

And then the server and all other ips will be available.

Is there some sort of script im missing on to why it is doing this?

Or could I place a script when it boots it will run those commands?
 
Old 05-21-2013, 06:26 PM   #2
gdizzle
Member
 
Registered: Jul 2012
Posts: 234

Rep: Reputation: Disabled
Can you place those commands in:

Code:
/etc/rc.local
restart the computer and test?
 
Old 05-22-2013, 02:51 AM   #3
Spetsnaz
LQ Newbie
 
Registered: Feb 2013
Posts: 16

Original Poster
Rep: Reputation: Disabled
I have done so and it works.
thank you!
 
Old 05-22-2013, 02:54 AM   #4
nyshtyak
Member
 
Registered: Nov 2008
Distribution: Arch
Posts: 38

Rep: Reputation: 2
Why don't you correctly setup your network? http://www.cyberciti.biz/faq/rhel-ce...configuration/ is pretty straightforward.
 
  


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
Ubuntu 9.10 64bit Won't boot - Hangs at 'Starting Up...' bper Ubuntu 6 02-10-2010 10:52 AM
help starting KDE 3.3.2 automatically fcoutel Linux - Newbie 22 01-03-2005 11:34 AM
not starting automatically ??? JNaas Linux - Networking 0 09-30-2004 07:25 PM
Prevent X from starting automatically Yocal Linux - Newbie 6 08-27-2003 05:31 PM
Starting X Automatically shari Linux - Software 2 08-08-2001 01:11 AM

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

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