Hi,
Today I tried to install Debian on my laptop. Because the laptop doesn't have a RJ45 port I used the unofficial installer with embedded wireless drivers. Unfortunately the one I needed wasn't included.
I downloaded the wireless driver as a deb package from https://wiki.debian.org/wl and put it on a USB stick so I could search for it during the installation. And now to the problem.
The Debian installer can't use the driver because the kernel version differ, according to an error message that shows when the installer looks for drivers on external medias. I guess this mean that the driver has been compiled with a different kernel than the one used for the debian distribution.
Q: How do I know what kernel version a distribution uses, so I can build the driver with correct version?
Thanks!
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Kernel version mismatch
Re: Kernel version mismatch
I never heard of that method? the wiki link doesn't mention that you can use the pkg that way during installation? You want to compile the wl driver during installation?klarre wrote: ... downloaded the wireless driver as a deb package from https://wiki.debian.org/wl and put it on a USB stick so I could search for it during the installation...
resigned by AI ChatGPT
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: Kernel version mismatch
Broadcom-sta-dkms debs actually have some binaries from Broadcom along with some source code that needs to be compiled against your specific kernel. You can see what kernel your version of Debian is running by running
It is possible to build the actual driver against the stock Stretch 4.9 kernel on a separate connected machine using broadcom-sta-source and module-assistant, and the resulting deb package is called "broadcom-sta-modules". It can then be installed along with a downloaded broadcom-sta-common deb. https://packages.debian.org/stretch/broadcom-sta-common
I built a 64-bit version for another isolated user a little while ago, and I think there's a good chance it'll work if you're running the amd64 64-bit kernel: https://drive.google.com/open?id=1cIpOz ... pf52mgs1ZR
If you need an updated version, or a 32-bit one, let me know here.
Code: Select all
uname -a
I built a 64-bit version for another isolated user a little while ago, and I think there's a good chance it'll work if you're running the amd64 64-bit kernel: https://drive.google.com/open?id=1cIpOz ... pf52mgs1ZR
If you need an updated version, or a 32-bit one, let me know here.
MX Linux packager and developer
Re: Kernel version mismatch
make an offline install and fix the problem later.
or maybe you need to tell us exactly what wifi hardware there is; boot any live linux and post output of:
or maybe you need to tell us exactly what wifi hardware there is; boot any live linux and post output of:
Code: Select all
lspci -knn | grep -EiA2 net
dmesg|grep -Ei 'wlan|firmw|dhc'
sudo cat /var/log/syslog | grep -Ei 'net|wpa|dhc'
-
- Posts: 1454
- Joined: 2015-08-30 20:14
Re: Kernel version mismatch
Broadcom-sta-dkms package requires linu headers which match your kernel, plus packages needed for compiling software. It can be easily installed if you have ethernet connection. Absent that, you will have a lot of problems.