Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Network works in install cd but not in system
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
biocore
n00b
n00b


Joined: 29 Sep 2014
Posts: 22

PostPosted: Fri Oct 03, 2014 3:24 pm    Post subject: [SOLVED] Network works in install cd but not in system Reply with quote

Hi guys, I did a gentoo fresh install w/ gnome on my p8p67 mobo w/ i5 3230
Everything is working flawlessy but the network.
On gnome interface it gives me that the networking is not compatible in the system
I emerged dhcp and netirfc, still no luck
Conf.d/net is configured with en8ps0=dhcp
Everything in install cd is working

Pinging google gives me host unknown on installed system

Can you give me a detailed help please? I'm not so practical with gentoo.


Last edited by biocore on Fri Oct 03, 2014 9:58 pm; edited 2 times in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43811
Location: 56N 3W

PostPosted: Fri Oct 03, 2014 4:14 pm    Post subject: Reply with quote

biocore,

What does
Code:
ifconfig -a
show?
We only need the list of interface names, not the full output.

Hopefully en8ps0 is listed. If not you have a kernel problem, a kernel command line problem, or the required kernel module in not loaded.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
biocore
n00b
n00b


Joined: 29 Sep 2014
Posts: 22

PostPosted: Fri Oct 03, 2014 5:08 pm    Post subject: Reply with quote

Hi man, thank you for your fast help reply
That's what it gives me out ifconfig -a

[img]http://s24.postimg.org/3zbtxn769/image.jpg[/img]
Back to top
View user's profile Send private message
biocore
n00b
n00b


Joined: 29 Sep 2014
Posts: 22

PostPosted: Fri Oct 03, 2014 5:18 pm    Post subject: Reply with quote

anyway, en8ps0 is listed as you can see
Back to top
View user's profile Send private message
creaker
l33t
l33t


Joined: 14 Jul 2012
Posts: 651

PostPosted: Fri Oct 03, 2014 5:33 pm    Post subject: Reply with quote

Do you have appropriate networking kernel module built and loaded?
check if your module mentioned in "lsmod" output.
If it loaded, do you have your interface added to default runlevel?
what does
Code:
# rc-update | grep net.enp8s0

shows?

Added:
would be great if you'll post your "lspci -k" command output
Back to top
View user's profile Send private message
biocore
n00b
n00b


Joined: 29 Sep 2014
Posts: 22

PostPosted: Fri Oct 03, 2014 5:45 pm    Post subject: Reply with quote

so, i don't know if it's loaded as a module by genkernel
rc-update gives no output

And this is my lspci -k output

http://postimg.org/image/x006u5bwj/

As you can see my eth card is recognized

EDIT: net-misc/networkmanager seems not installed
Back to top
View user's profile Send private message
creaker
l33t
l33t


Joined: 14 Jul 2012
Posts: 651

PostPosted: Fri Oct 03, 2014 5:59 pm    Post subject: Reply with quote

Seems you have network module built in kernel.
You can check it by
Code:
# cat /usr/src/linux/.config | grep 8169

what output will show: module ([m]) or built-in ([y])?
Anyway you may try to load with "modprobe r8169"

And start it by running
Code:
/etc/init.d/net.enp8s0 start

or if you system is systemded you can try something like
Code:
systemctl start network.service

in case of systemd it may be wrong, I'm not so familiar with it
Back to top
View user's profile Send private message
biocore
n00b
n00b


Joined: 29 Sep 2014
Posts: 22

PostPosted: Fri Oct 03, 2014 6:03 pm    Post subject: Reply with quote

Grep 8139 shows me as modularized
So here's a surprise

/etc/init.d/net.enp8s0 start says no such file or directory

systemctl start network.service says "failed to get d-bs connection: unknown error -1"


BIG EDIT: just renamed eth0 on init to enp8s0 and now it works! Very special thanks for your support and time dedicated anyway.

And, OT, how can i download chrome? :lol:
Back to top
View user's profile Send private message
creaker
l33t
l33t


Joined: 14 Jul 2012
Posts: 651

PostPosted: Fri Oct 03, 2014 6:15 pm    Post subject: Reply with quote

biocore wrote:
Grep 8139 shows me as modularized
So here's a surprise

you have to check for r8169, not r8139

do you have dbus.service running?
Code:
systemctl status dbus.service



Seems you have some expirienced "systemd guy", add "systemd" to topic header, it will be more informative.
Back to top
View user's profile Send private message
creaker
l33t
l33t


Joined: 14 Jul 2012
Posts: 651

PostPosted: Fri Oct 03, 2014 6:21 pm    Post subject: Reply with quote

biocore wrote:


BIG EDIT: just renamed eth0 on init to enp8s0 and now it works! Very special thanks for your support and time dedicated anyway.

And, OT, how can i download chrome? :lol:


Seems you just "net.ifnames=0" appended to kernel command line. It prevents networking from being renamed in stupid manner (enp8s0)

Regarding Chrome:
"emerge -av chrome" will install it, no need to download it separately.

To be able to post commands output directly from console there is a useful tool: wgetpaste. No need to make images and post them somewhere.
Back to top
View user's profile Send private message
biocore
n00b
n00b


Joined: 29 Sep 2014
Posts: 22

PostPosted: Fri Oct 03, 2014 6:37 pm    Post subject: Reply with quote

creaker wrote:
biocore wrote:


BIG EDIT: just renamed eth0 on init to enp8s0 and now it works! Very special thanks for your support and time dedicated anyway.

And, OT, how can i download chrome? :lol:


Seems you just "net.ifnames=0" appended to kernel command line. It prevents networking from being renamed in stupid manner


I renamed through gnome shell in file manager. I don't know if it works.

For dbus, i'll try later
Back to top
View user's profile Send private message
biocore
n00b
n00b


Joined: 29 Sep 2014
Posts: 22

PostPosted: Fri Oct 03, 2014 9:57 pm    Post subject: Reply with quote

dbus started everything works. thank you for your support.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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