Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Network failing, no idea
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Hans-25
n00b
n00b


Joined: 06 Jan 2015
Posts: 7

PostPosted: Tue Jan 06, 2015 12:14 pm    Post subject: [SOLVED] Network failing, no idea Reply with quote

Hello!

I installed my first Gentoo with the AMD64 base. I have already my second kernel running but I still fail to start net.eth0. The boot log says the same, otherwise it looks fine. It doesn't seem to be a configuration problem as I tried both with fix addresses and DHCP. The machine is a IBM based lenovo ThinkCentre. Despite its weird BIOS it is proven to run the Internet connection with other systems, including Gentoo installation disc.

What can I do to progress here? I have no idea whether a program is missing in the installation or a kernel module, or a false kernel module has been applied. I have no further clues and I have no idea what other kernel module might be better suited. Can you help me out in this?


Last edited by Hans-25 on Mon Jan 19, 2015 10:33 am; edited 1 time in total
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2613

PostPosted: Tue Jan 06, 2015 1:46 pm    Post subject: Reply with quote

In case you don't want any exotic features you should get rid of netifrc and try https://wiki.gentoo.org/wiki/Dhcpcd.

Then check lspci -k for the network devices
Quote:
# lspci -k

And dmesg for
Quote:
$ dmesg | grep 'network interface'
Back to top
View user's profile Send private message
Hans-25
n00b
n00b


Joined: 06 Jan 2015
Posts: 7

PostPosted: Wed Jan 07, 2015 10:58 am    Post subject: Good for now .. Reply with quote

Thank you very much!
I have followed DHCP installation as required by the document you mentioned. However, without removing the Gentoo net.* script objects. Now I have the weird event that the bootlog reports an error despite the Internet interface is running. (I observed something corresponding on the Gentoo installation system.)

Now bootlog says:
starting DHCP client daemon - ok
Bringing up interface eth0
ERROR interface eth0 does not exist
Ensure that you have loaded the correct kernel module
...

As for now it looks good, I will perk again if there are further problems. ;)
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2613

PostPosted: Wed Jan 07, 2015 1:40 pm    Post subject: Re: Good for now .. Reply with quote

Hans-25 wrote:
Thank you very much!
I have followed DHCP installation as required by the document you mentioned. However, without removing the Gentoo net.* script objects. Now I have the weird event that the bootlog reports an error despite the Internet interface is running. (I observed something corresponding on the Gentoo installation system.)

Now bootlog says:
starting DHCP client daemon - ok
Bringing up interface eth0
Looks like you were sitll having net.eth0 in some of your runlevels :-( Remove it!
dmesg might have already have told you net.eth0 had been renamed.
Quote:
$ dmesg | grep 'network interface'
But no net.* anything must be in any runlevel.
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2468
Location: /home/zach

PostPosted: Wed Jan 07, 2015 5:25 pm    Post subject: Reply with quote

With newer versions of UDEV, eth0 may not be the actual name of the interface. First of all, check your runlevels to see where net.eth0 is listed:

Code:

rc-update show


then check /etc/conf.d/net to make sure that you don't have net.eth0 listed there with something like:

Code:

config_eth0="dhcp"


Lastly, you can find the name of the network interface with:

Code:

ip link show


Hope that information helps, and please let us know if you still have trouble.

Cheers,
Nathan Zachary
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7089
Location: Saint Amant, Acadiana

PostPosted: Wed Jan 07, 2015 11:26 pm    Post subject: Reply with quote

AFAIK ip is provided by iproute2, OP may not have it. Running ifconfig -a will certainly tell the name of interface - if the driver is loaded.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Hans-25
n00b
n00b


Joined: 06 Jan 2015
Posts: 7

PostPosted: Mon Jan 12, 2015 8:31 am    Post subject: Reply with quote

The devices listed are: enp0s25, lo, sit0.
I confirm the procedure described in the document works well.
I have Internet and no error reports in the boot log.

Great support here, thank you all! :D
Em, should I mark this "solved" somewhere?
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2613

PostPosted: Mon Jan 12, 2015 9:32 am    Post subject: Reply with quote

Hans-25 wrote:
Em, should I mark this "solved" somewhere?
It's good practice to put leading [SOLVED] to the title.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum