gentoo -host unreachable

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
stickz
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA

gentoo -host unreachable

Post by stickz »

Sat, Apr 26 2014 3:56pm
reloading the file didn't work, so i rebooted instead.
https://mega.co.nz/#!e5AFxQyC!dAyrlPjBo ... vGDDIWqqIY

after reboot this is what the file looks like.
https://mega.co.nz/#!q1JxDT4B!NCnEE00-D ... 5kRAoedtTo
Sat, Apr 26 2014 4:25pm - answered by Charlie
Ah, I see. This is certainly the problem here, it appears you upgraded kernels without building in the correct network driver as a module. :/ Unfortunately, fixing this mistake is a bit beyond my depth here. I would consider looking up this error to see if you get any results with information on correcting this. If you need more assistance, you could also make a post here on our forums: http://www.nfoservers.com/forums. There, a community member, off duty support tech or even John, our CEO, would be able to reply with some insight.
after updating gentoo and rebooting my vds is now unreachable. is there any way to fix this? the only thing i can do currently is connect via vnc.
stickz

Re: gentoo -host unreachable

Post by stickz »

to update gentoo, i ran these steps twice. https://forums.gentoo.org/viewtopic-t-807345.html
rebooted my vds with 100+ installed updates (everything worked fine).
ran perl cleaner to deal with 10+ updates that had failed.

Code: Select all

perl-cleaner --all
ran the steps once more and rebooted my vds. (all but acouple updates were sucessful)
after the last reboot was when i got the host unreachable.
User avatar
Edge100x
Founder
Founder
Posts: 13131
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: gentoo -host unreachable

Post by Edge100x »

What do you see as the response to this?

Code: Select all

ifconfig -a
Please use an image host such as imgur that allows easy viewing, or just post as an attachment.
joshh20
This is my homepage
This is my homepage
Posts: 146
Joined: Sat Mar 02, 2013 1:35 pm

Re: gentoo -host unreachable

Post by joshh20 »

It appears you typed ipconfig -a, which is wrong, make sure you type ifconfig -a
stickz

Re: gentoo -host unreachable

Post by stickz »

User avatar
Edge100x
Founder
Founder
Posts: 13131
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: gentoo -host unreachable

Post by Edge100x »

When you upgraded the Gentoo packages, you didn't read the warnings and missed that the newer udev version would rename your ethernet adapter :). You have two options: Tell it not to rename the adapter by adding net.ifnames=0 to your kernel boot line; or, update your /etc/conf.d/net file, /etc/init.d/net.x file, and rc-update configuration to use the new adapter name (enp0s4).

It's important to read all of those messages when you emerge!
stickz

Re: gentoo -host unreachable

Post by stickz »

renamed the network adapter and everything else to fix that issue. atleast for the most part. can use the internet perfectly fine now except for one thing. it can't resolve any hostnames. if i type in the ip of the hostname, that however it works.
User avatar
Edge100x
Founder
Founder
Posts: 13131
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: gentoo -host unreachable

Post by Edge100x »

Replace your /etc/resolv.conf file contents with this:

Code: Select all

nameserver 8.8.8.8
nameserver 8.8.4.4
$atanic $pirit
This is my homepage
This is my homepage
Posts: 251
Joined: Tue Jan 28, 2014 5:32 am

Re: gentoo -host unreachable

Post by $atanic $pirit »

Can you please tell why you upgraded the kernel ?
Did you patch it with ck or rt patches for game servers or something else and did you see any performance increase when you did ?

I would appreciate if you answer these questions.
Image
stickz

Re: gentoo -host unreachable

Post by stickz »

Edge100x wrote:Replace your /etc/resolv.conf file contents with this:

Code: Select all

nameserver 8.8.8.8
nameserver 8.8.4.4
thanks alot! got all the problems fixed!
$atanic $pirit wrote:Can you please tell why you upgraded the kernel ?
Did you patch it with ck or rt patches for game servers or something else and did you see any performance increase when you did ?

I would appreciate if you answer these questions.
upgraded it more for compatibility reasons with latest Linux game servers such as Natural Selection 2 and Insurgency. the kernel upgrade has slightly improved the already decent performance aswell.

if you look above, the exact instructions how to upgrade and fix any problems is there.
Post Reply