Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
new install, no network [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
while true
Guru
Guru


Joined: 07 Apr 2010
Posts: 454
Location: Ljubljana, Slovenia

PostPosted: Sat Jul 18, 2015 10:44 pm    Post subject: new install, no network [solved] Reply with quote

oi, i have just reinstalled gentoo,
and network is not working, but it worked while installing.
ifconfog gives just lo.

so i guessed I did not do kernel right,
so I went back to kernel, I enabled all that is Realtek
(lspci | grep Ethernet gave back Realtek Semiconductor RTL8111/8168/8411 PCI express Gigabit Ethernet controller (rev 09))
but no go, ifconfig still offers just lo.

I did go back to installation usb and lsmod | grep realtek and i got snd_hda_codec_realtek, is this the one for network...?

It took me under 3 hours to install gentoo, but for the past 6 hours I am banging my head with this...

any help appretiated, thank you
_________________
Kind regards, Goran Mitic

alive
while true
kick ass


Last edited by while true on Sun Jul 19, 2015 9:41 am; edited 1 time in total
Back to top
View user's profile Send private message
lawl
n00b
n00b


Joined: 18 Jul 2014
Posts: 20

PostPosted: Sun Jul 19, 2015 8:46 am    Post subject: Re: new install, no network Reply with quote

while true wrote:

I did go back to installation usb and lsmod | grep realtek and i got snd_hda_codec_realtek, is this the one for network...?

No it's your sound.
You can do lspci -v without grep and use -s option.
In my case this device uses r8169 driver, do you have it?
Back to top
View user's profile Send private message
while true
Guru
Guru


Joined: 07 Apr 2010
Posts: 454
Location: Ljubljana, Slovenia

PostPosted: Sun Jul 19, 2015 9:41 am    Post subject: Reply with quote

hey lawl,

I went back to kernel, and under USB network i found some Realtek options, usb realtek ethernet, which did the trick...

oh, this was hard for me, noob as i am...

Thanks for your input lawl
_________________
Kind regards, Goran Mitic

alive
while true
kick ass
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Jul 19, 2015 9:42 am    Post subject: Reply with quote

while true,

You need
Code:
ifconfig -a
The -a means to show all interfaces that the kernel can see. Without the -a, it shows only interfaces fhaf have been started.
As lawl says, you need r8169.

Depending on how you made your kernel, you may need
Code:
modprobe r8169
before your interface appears.
_________________
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
davidbrooke
Guru
Guru


Joined: 03 Jan 2015
Posts: 341

PostPosted: Sun Jul 19, 2015 11:44 am    Post subject: Reply with quote

One other way to determine what network driver you need is to use System Rescue for the install. Once booted select the network icon and see the configuration which will tell you the driver being used. It has been correct for me so far.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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