wireless support in different distros - why the differences?
Where is the code located that makes some distros so much better than others at detecting wifi chipsets and installing the appropriate driver?
My understanding is that the kernel (vmlinuz) detects the available hardware and then installs the appropriate drivers from initrd. Why then is there so much difference between distributions? I'm assuming, perhaps incorrectly, that kernels of the same version number are identical from one distro to another. Surely there is more involved than just adding drivers to initrd. Does init run scripts that correct deficiencies? What prevents simply copying code from a distro with good wireless support to one with poor wireless support? |
I don't think drivers are stored in initrd....
To see your drivers, do this in a terminal: Code:
cd /lib/modules/$(uname -r)/kernel/drivers But there are also various utilities for actually managing the connections---once a suitable driver is in place. I think the best one is "wicd", which should be available in most distros (look for it with the package manager.) |
Isn't it the role of the distro installer (the software, not the human), to detect hardware, and configure the system to load and configure appropriate drivers? If so, then it seems to me that the installer must contain some code that can detect the installed hardware, and set up the installation accordingly. It seems reasonable that this code would vary in quality or emphasis over the range of distributions. I suppose one should be able to find open source code that exposes what the installer is doing.
Kernels can differ in makeup, based on the configuration that was selected to build them, even though they may be based upon identical base versions. The choice of built-in drivers and assorted options is part of the distribution package. I recently tried a few different Linux distros to install on a new laptop. I was startled to see what a range of accuracy and capability was built into the installers. Some would not even complete an installation, while the one I finally used (Open Suse 11.1, for the record), found and correctly installed support for everything (at least everything I've tried so far), including correctly setting up dual booting with MS Vista. I think the quality of the installer is an under-rated factor in choosing a distribution. There must be a lot of people who abandoned Linux, going back to Windows because the first distro they chose would not install correctly, or mis-configured some key hardware component. --- rod. |
Quote:
|
Quote:
http://en.wikipedia.org/wiki/Linux_startup_process Quote:
|
Quote:
|
Quote:
|
There sure is a difference. I'm using a ralink external usb card/antenna. Wireless with Sabayon 5 gnome 64 bit linux driver flies - it is fast!. At first, I thought it was just the 64 bit thing but no, it does not seem to make as big a difference in other distros.
I need to use ndiswrapper with windows drivers to get similar performance with other distros. What is with Sabayon? I have found some differences in iwconfig and tried various settings but nothing approaches the speed Sabayon gives me. This was not a plug for Sabayon, just an observation. |
Drivers for hardware are loaded manually, or automatically.
Some drivers are build into the kernel, so they are activated when the kernel is loaded ... others that are modular are loaded by the Linux loadable kernel module ... others are loaded by a script. This means that there may be more than just a matching kernel to gauge if your hardware driver will be loaded. Also, some Distributions add additional functionality to the vanilla kernel or system. |
Quote:
|
Quote:
Quote:
|
If I understand correctly, dxqcanada answered the original question, but the other contributions were helpful too.
My current understanding is that the differences among live distros in driver autoinstallation can be found in all three of the files in a live distro - 1) vmlinuz (because of distro-specific patches to the kernel), 2) initrd (because of the drivers included), and 3) the squash file system (containing initialization scripts that can also install drivers and firmware). Hence you can't easily find a method in one distro and copy it to another. |
Quote:
As for the original poster I think you have that just about correct. The reason it works out of the box for some and not others are just how much of the drivers the dev decided to load up into the image. |
it says solved so I start a new thread instead because it is not solved for me.
|
All times are GMT -5. The time now is 09:42 PM. |