Server rentals :: NFOservers.com

Forums

All times are UTC - 8 hours



Author Message
PostPosted: Fri Mar 23, 2012 8:39 pm 
Offline
New to forums
New to forums

Joined: Mon May 10, 2010 3:18 pm
Posts: 3
I just had my VPS server migrated to upgraded hardware and afterwards I was not getting a network connection. I am running Gentoo server.

I first ran the command ifconfig and only the lo adapter was up. So I ran ifconfig eth0 up then ifconfig. The eth0 adapter was there but it did not have an IP address.

I checked the config file /etc/conf.d/net it looks like:
config_eth0=("70.42.74.192 netmask 255.255.255.0")
routes_eth0=("default via 70.42.74.254")

I have run /etc/init.d/network restart and rebooted the machine several times. All results with no IP address for the eth0 adapter.

Any help will be appreciated.


Top
 Profile  
 
PostPosted: Fri Mar 23, 2012 8:44 pm 
Online
Founder
Founder
User avatar

Joined: Thu Apr 18, 2002 11:04 pm
Posts: 9234
Location: Seattle
It is likely that you either do not have /etc/init.d/net.eth0 defined or it is not in your default runlevel. Try this:

/etc/init.d/net.eth0 restart

If that is not a valid command, copy the net.lo file over and try again:

ln -s /etc/init.d/net.lo /etc/init.d/net.eth0

If this gives you a valid IP in "ifconfig", make sure that it's also in the default runlevel:

rc-update add net.eth0 default


Top
 Profile  
 
PostPosted: Fri Mar 23, 2012 9:02 pm 
Offline
New to forums
New to forums

Joined: Mon May 10, 2010 3:18 pm
Posts: 3
Thank you this resolved my issue.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
It is currently Wed May 22, 2013 12:46 am
Powered by phpBB® Forum Software © phpBB Group