Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The computer I'm running CLFS on is a Toshiba Satellite A665. The kernel version of linux I'm using is 3.2.29, and it can't seem to load my wireless card.
Here's the code that I got from running lspci -vv while I was on Slackware.
I tried doing a number of things with the kernel options before compiling it, but it doesn't seem to work. Would I have to load a module, or would I have to resort to ndiswrapper?
I was waiting for someone who uses that device to post. Anyway, it's using iwlagn in Slackware. That Intel driver has been part of the Linux kernel for a long time. You should only have to set the appropriate kernel config options for the kernel to discover the device and load the driver. You should not have to resort to ndiswrapper for a device that uses iwlagn.
Once the device is recognized and the driver is loaded, you still have some work to do regarding establishing a connection (e.g., wpa_supplicant for encryption, and dhclient or whatever for acquiring an IP address from the access point).
I was waiting for someone who uses that device to post. Anyway, it's using iwlagn in Slackware. That Intel driver has been part of the Linux kernel for a long time. You should only have to set the appropriate kernel config options for the kernel to discover the device and load the driver. You should not have to resort to ndiswrapper for a device that uses iwlagn.
Once the device is recognized and the driver is loaded, you still have some work to do regarding establishing a connection (e.g., wpa_supplicant for encryption, and dhclient or whatever for acquiring an IP address from the access point).
It's actually not because of the kernel. It turns out that my device was trying to find the 'iwlwifi-6050-5.ucode' file in order to be used, but it couldn't find it. So I went to Intel's website to download the firmware and placed it in /lib/firmware. Unfortunately, modprobe doesn't seem to be able to find the file still. What do I do now?
If your current kernel configuration has the iwlagn driver compiled as built-in, then the kernel may be looking for the firmware at a time when the firmware file in /lib/firmware is not yet available to it. You might need to add the firmware file to the /sources/firmware folder when building the kernel and configure the kernel to add the file as extra firmware. In other words, build in the firmware, too. Here, only as an example, is a similar thing I had to do for missing radeon video firmware...
Code:
|...Device Drivers --->
| |
|...Generic Driver Options --->
| |
|...[*]Include in-kernel firmware blobs in kernel binary (CONFIG_FIRMWARE_IN_KERNEL=y)
|...External firmware blobs to build into the kernel library (CONFIG_EXTRA_FIRMWARE="radeon/R600_rlc.bin")
| |...R600_rlc.bin
|
|...Firmware blobs root directory (CONFIG_EXTRA_FIRMWARE_DIR="firmware")
| |...firmware
That worked. But in the end, I compiled the radeon driver as a module and simply copied the firmware to /lib/firmware/radeon (kinda like you did). That also worked. One way or the other, but do it to both the driver and the additional firmware.
If the above speculation is correct and applicable to your problem, then other thing you can do is rebuild the kernel with the wireless driver compiled as a module and the firmware file in /lib/firmware. This may result in the kernel dealing with the driver later on at a time when the firmware file in /lib/firmware will be accessible. Anyway, it would be an easy thing to test.
Well stoat, I got the card to finally work after adding these following lines for the .config file used to compile the kernel and placing the microcode file in the firmware subdirectory.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.