Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Install a new kernel
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
sanzen
n00b
n00b


Joined: 15 Jan 2015
Posts: 3

PostPosted: Thu Jan 15, 2015 1:14 am    Post subject: Install a new kernel Reply with quote

Hello, I am a new to gentoo and I'm not too sure where to post this but the kernel section sounded best to me, forgive my ignorance if I am wrong.
I finally installed gentoo correctly thanks to the handbook and a few videos. When I went to compile the kernel, I did genkernel as I don't know all of the modules I need. It did not install the module for my ethernet card so now I am stuck with no internet.
My question is, can I boot into system rescue and move the module over to my current install or with system rescue, compile a new kernel with all the correct modules. I already tried moving it over from a usb but genkernel didn't install the module for the usb setup I have.
Is there something I can do to get the alx module onto my current install without having to reinstall gentoo? Once I have the alx module on there, I can compile a new kernel and make sure I pick the correct ones.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


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

PostPosted: Thu Jan 15, 2015 1:24 am    Post subject: Reply with quote

You do not need to boot with CD, you do not need to reinstall Gentoo as long as it boots. You even do not need to reboot. All you need to do is to build correct module for your card and install it.

However, this may be not your problem. Do you see your network interface when you run
Code:
ifconfig -a
?
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
sanzen
n00b
n00b


Joined: 15 Jan 2015
Posts: 3

PostPosted: Thu Jan 15, 2015 1:28 am    Post subject: Reply with quote

Jaglover wrote:
You do not need to boot with CD, you do not need to reinstall Gentoo as long as it boots. You even do not need to reboot. All you need to do is to build correct module for your card and install it.

However, this may be not your problem. Do you see your network interface when you run
Code:
ifconfig -a
?

Yes, I see it. When I do modprobe alx, it is not found and that is the module that I need. How can I build the correct module for my card and install it without having access to the internet? I can not even get a response from pinging google.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


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

PostPosted: Thu Jan 15, 2015 1:41 am    Post subject: Reply with quote

Generally, you need to
Code:
cd /usr/src/linux
make menuconfig

Here you activate the module you need and run
Code:
make modules
make modules_install

That's it.

What is confusing me is you said you can see the interface in
Code:
ifconfig -a
you should not see it if the module is not loaded for your card.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
sanzen
n00b
n00b


Joined: 15 Jan 2015
Posts: 3

PostPosted: Thu Jan 15, 2015 1:57 am    Post subject: Reply with quote

Jaglover wrote:
Generally, you need to
Code:
cd /usr/src/linux
make menuconfig

Here you activate the module you need and run
Code:
make modules
make modules_install

That's it.

What is confusing me is you said you can see the interface in
Code:
ifconfig -a
you should not see it if the module is not loaded for your card.

Alright, I will try what you suggested above.
I apologize for the confusion. I put the usb into a different computer and the module for that was loaded. I got the internet working on that computer and I can reach google.
I am currently making the modules I selected and hopefully it'll work. I will update when done.

Thank You for leading me there, now to wait and see if it worked. :D
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