Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Network drivers not in menuconfig + modules not loading
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
sct_0
n00b
n00b


Joined: 24 Sep 2017
Posts: 1

PostPosted: Sun Sep 24, 2017 4:13 am    Post subject: Network drivers not in menuconfig + modules not loading Reply with quote

Hello,

I recently installed Gentoo and compiled the kernel by hand for the first time and everything went fine except for ifconfig now not recognizing my ethernet and wifi card anymore.
The needed modules were included on the life medium, and I enabled the modules I thought were corresponding to my hardware in menuconfig, but nothing got recognized.
Now I went and recompiled the kernel again enabling every single Intel ethernet and wifi module, but still nothing works.

Kernel: Gentoo 4.12.12
Laptop: Thinkpad T400
Ethernet Controller: Intel Corporation 82567LM Gigabit Network Connection (rev 03)
Network Controller: Intel Corporation Ultimate N WIFI Link 5300

Edit:
I tried loading e1000e and iwlwifi (the corresponding modules) with modprobe, but still ifconfig does not recognize any of the two interfaces.

Edit2:
Even though I load the modules, they don't show up in lsmod, to be specific, lsmod outputs nothing.
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1079

PostPosted: Sun Sep 24, 2017 6:35 am    Post subject: Reply with quote

I'm not personally aware of this Intel brand of network cards, but that doesn't seem to be a problem since the card seems to work here with the livecd....

So just to clear things up, I did a quick check online and I think that one logical reason why the kernel module may not be loading is if it is either
1. Blacklisted, then of course you need to be sure that's not the case\
2. It may be incompatible with the kernel itself...this is what I would like to know in terms of how the module was built and installed? That probably will give us a clue or the answer right off the bat.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2660

PostPosted: Sun Sep 24, 2017 8:24 am    Post subject: Reply with quote

@sct_0

When recompiling the kernel, make sure
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Sep 24, 2017 10:48 am    Post subject: Reply with quote

sct_0,

It sounds like you are not using the correct modules, or in the case of WiFi, have missing firmware.

Boot the live media, check your devices are working and run
Code:
lspci -k

That will show the kernel modules in use.

Make those modules for your own kernel.

Those modules are required but not sufficient. They are the bottom layers of the 'stack' of software that makes WiFi and networking work.
It really is like the layers of a layer cake. You need all the layers, right up to the icing.
The other layers are hardware independent (almost) and much better documented.

When you rebuild and reinstall your kernel, don't forget to mount /boot or everything will appear to work but the kernel will be installed in the wrong place.

Look at the date/time in
Code:
uname -a
thats the date/time that the running kernel was made.
You can use it to check that you are running the kernel you think you are.
_________________
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
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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