View previous topic :: View next topic |
Author |
Message |
rudregues Apprentice
Joined: 29 Jan 2013 Posts: 231 Location: Brazil
|
Posted: Tue Jan 29, 2013 7:52 pm Post subject: [SOLVED] Is there missing modules? |
|
|
Hi, I installed gentoo base system yesterday with this guide. Then, I' m having trouble with WPA2 wireless setup. To see if ath9k module were installed, used this code: Code: | find /lib/modules/ -name '*.ko' |
But the output was just:
Code: | /lib/modules/3.6.11-gentoo/kernel/net/netfilter/xt_LOG.ko
/lib/modules/3.6.11-gentoo/kernel/net/netfilter/xt_mark.ko
/lib/modules/3.6.11-gentoo/kernel/fs/ntfs/ntfs.ko
/lib/modules/3.6.11-gentoo/kernel/arch/x86/ia32/ia32_aout.ko
/lib/modules/3.6.11-gentoo/kernel/arch/x86/kernel/test_nx.ko
/lib/modules/3.6.11-gentoo/kernel/drivers/gpu/drm/mga/mga.ko
/lib/modules/3.6.11-gentoo/kernel/drivers/char/kcopy/kcopy.ko
/lib/modules/3.6.11-gentoo/kernel/drivers/media/video/v4l2-common.ko
/lib/modules/3.6.11-gentoo/kernel/drivers/media/video/v4l2-int-device.ko
/lib/modules/3.6.11-gentoo/kernel/drivers/media/video/gspca/gspca_main.ko
/lib/modules/3.6.11-gentoo/kernel/drivers/media/video/videodev.ko
/lib/modules/3.6.11-gentoo/kernel/drivers/hid/hid-logitech-dj.ko
/lib/modules/3.6.11-gentoo/kernel/drivers/hid/hid-sony.ko |
It's the first time I've configured and compiled a kernel, and even first time with gentoo. But is strange that there are too few modules... right?
[ ]'s _________________ Emerging en gentoo
Last edited by rudregues on Tue Jan 29, 2013 9:54 pm; edited 1 time in total |
|
Back to top |
|
|
BillWho Veteran
Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Tue Jan 29, 2013 8:11 pm Post subject: |
|
|
rudregues,
Welcome to gentoo
rudregues wrote: | It's the first time I've configured and compiled a kernel, and even first time with gentoo. But is strange that there are too few modules... right? |
The answer to your question is no. Every conceivable driver for every conceivable hardware device is not enabled.
It's up to the installer (in this case you) to enable the drivers for your specific devices _________________ Good luck
Since installing gentoo, my life has become one long emerge |
|
Back to top |
|
|
rudregues Apprentice
Joined: 29 Jan 2013 Posts: 231 Location: Brazil
|
Posted: Tue Jan 29, 2013 8:31 pm Post subject: |
|
|
BillWho wrote: | rudregues,
Welcome to gentoo
|
Thanks BillWho, gentoo is really great. I hope someday use gentoo in my desktop too.
BillWho wrote: |
rudregues wrote: | It's the first time I've configured and compiled a kernel, and even first time with gentoo. But is strange that there are too few modules... right? |
The answer to your question is no. Every conceivable driver for every conceivable hardware device is not enabled.
It's up to the installer (in this case you) to enable the drivers for your specific devices |
I don't know if I get what you say... but are you telling me I must recompile the kernel and select modules I didn't at first attempt? Or I must someway load the modules with modprobe or similar? _________________ Emerging en gentoo |
|
Back to top |
|
|
BillWho Veteran
Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Tue Jan 29, 2013 8:49 pm Post subject: |
|
|
rudregues wrote: | I don't know if I get what you say... but are you telling me I must recompile the kernel and select modules I didn't at first attempt? Or I must someway load the modules with modprobe or similar? |
Well, you can't load non-existent modules so what needs to be done is make menuconfig . Then navigate to
│ -> Device Drivers │
│ -> Network device support (NETDEVICES [=y]) │
│ -> Wireless LAN (WLAN [=y]) │
│ -> Atheros Wireless Cards (ATH_COMMON [=n]) │
You'll also have to enable other drivers that that driver depends on e.g cfg80211 and mac80211:
Code: | laptop ~ # lsmod|grep ath9k
ath9k 95355 0
ath9k_common 1881 1 ath9k
ath9k_hw 331655 2 ath9k_common,ath9k
ath 14954 3 ath9k_common,ath9k,ath9k_hw
mac80211 366097 1 ath9k
cfg80211 168255 3 ath,ath9k,mac80211
|
When you're done enabling your pertinent hardware drivers then you have to compile the kernel.
It's that simple _________________ Good luck
Since installing gentoo, my life has become one long emerge |
|
Back to top |
|
|
rudregues Apprentice
Joined: 29 Jan 2013 Posts: 231 Location: Brazil
|
Posted: Tue Jan 29, 2013 9:53 pm Post subject: |
|
|
Bill, your answer is very clarifying. Now it's time to do some reverse engineering with lsmod in Sabayon and turn easier to discover the drivers I need.
Thank you very much.
[ ]'s _________________ Emerging en gentoo |
|
Back to top |
|
|
|