antoineco / broadcom-wl

Broadcom Linux hybrid wireless driver (64-bit)
https://www.broadcom.com/support/download-search?pg=Wireless+Embedded+Solutions+and+RF+Components&pf=Legacy+Wireless&pa=Driver&dk=BCM4312&l=true
161 stars 47 forks source link

i followed the instructions to automatically add wl via dkms but not working #15

Closed bukyapavankumar closed 4 years ago

bukyapavankumar commented 4 years ago

sudo dkms status broadcom-wl, 6.30.223.271: added nvidia, 390.138, 5.7.15-977.native, x86_64: installed

antoineco commented 4 years ago

Providing that the dkms service is enabled, the module should appear as installed in the list of modules managed by DKMS >> after the system boots for the first time on the new kernel <<

https://github.com/antoineco/broadcom-wl#automatically

bukyapavankumar commented 4 years ago

Providing that the dkms service is enabled, the module should appear as installed in the list of modules managed by DKMS

after the system boots for the first time on the new kernel << https://github.com/antoineco/broadcom-wl#automatically

lspci -k doesnt show wl module ,but dkms status show

antoineco commented 4 years ago

That's expected if you didn't reboot. Your module is added, not installed.

bukyapavankumar commented 4 years ago

i did reboot

antoineco commented 4 years ago

Could you please show the output of those 3 commands?

$ sudo depmod -A
$ sudo modprobe wl
$ dmesg
bukyapavankumar commented 4 years ago

wl module not found

antoineco commented 4 years ago

the output of those 3 commands

antoineco commented 4 years ago

And maybe also sudo dkms install broadcom-wl/6.30.223.271 if possible.

bukyapavankumar commented 4 years ago

the output of those 3 commands

  1. nothing 2.modprobe: FATAL: Module wl not found in directory /lib/modules/5.7.15-977.native
bukyapavankumar commented 4 years ago

And maybe also sudo dkms install broadcom-wl/6.30.223.271 if possible.

it works after this command. dkms doesnt install it automatically?

bukyapavankumar commented 4 years ago

mobile hotspot doesnt work though

antoineco commented 4 years ago

Nice! That's an interesting behaviour, it should do it automatically because this option is defined: https://github.com/antoineco/broadcom-wl/blob/a9362f4e4416d8e842b976fd243445711363ec24/dkms.conf#L7

May I ask what's the dkms version you're using? Maybe it requires an update to the dkms.conf.

bukyapavankumar commented 4 years ago

Nice! That's an interesting behaviour, it should do it automatically because this option is defined:

https://github.com/antoineco/broadcom-wl/blob/a9362f4e4416d8e842b976fd243445711363ec24/dkms.conf#L7

May I ask what's the dkms version you're using? Maybe it requires an update to the dkms.conf.

dkms2.8

antoineco commented 4 years ago

OK thanks. Maybe dkms_autoinstaller simply doesn't run on boot on your system. systemctl status dkms should tell you whether or not the service is enabled.

Regarding the mobile hotspot, unfortunately I only backport patches so the module can build and run on modern Linux kernels. Troubleshooting issues with specific hardware would require a larger investigation.

bukyapavankumar commented 4 years ago

systemctl status dkms

Unit dkms.service could not be found. distro: clear linux

bukyapavankumar commented 4 years ago

OK thanks. Maybe dkms_autoinstaller simply doesn't run on boot on your system. systemctl status dkms should tell you whether or not the service is enabled.

Regarding the mobile hotspot, unfortunately I only backport patches so the module can build and run on modern Linux kernels. Troubleshooting issues with specific hardware would require a larger investigation.

actually mobile hotspot works but in wep .linux driver doesnt have wpa support whereas windows driver has it.anyway can we run/modify the driver to make it work?

antoineco commented 4 years ago

Hmm, wl does support WPA/WPA2. I'm running this module on a Linux 5.6 kernel and my router (Linksys WRT1900AC) uses WPA2. I also occasionally connect to an Android 9 hotspot (Sony Xperia Z3 Compact) that is also using WPA2.

Some hardware may be supported better than some other, like with any driver. The purpose of this repo is not to provide a fork of wl, I wouldn't include patches that aren't purely related to kernel compatibility, besides I'm not a kernel developer myself so fixing such issue would be quite challenging for me.

bukyapavankumar commented 4 years ago

Hmm, wl does support WPA/WPA2. I'm running this module on a Linux 5.6 kernel and my router (Linksys WRT1900AC) uses WPA2. I also occasionally connect to an Android 9 hotspot (Sony Xperia Z3 Compact) that is also using WPA2.

Some hardware may be supported better than some other, like with any driver. The purpose of this repo is not to provide a fork of wl, I wouldn't include patches that aren't purely related to kernel compatibility, besides I'm not a kernel developer myself so fixing such issue would be quite challenging for me.

I mean it doesn't support creation of WPA/wpa2 supported hotspot .it can create only wep supported hotspot. I wasn't talking about connecting to WPA/wpa2 hotspot instead creation

bukyapavankumar commented 4 years ago

iw list Wiphy phy0 max # scan SSIDs: 1 max scan IEs length: 0 bytes max # sched scan SSIDs: 0 max # match sets: 0 max # scan plans: 1 max scan plan interval: -1 max scan plan iterations: 0 Retry short limit: 7 Retry long limit: 4 Coverage class: 0 (up to 0m) Supported Ciphers:

bukyapavankumar commented 4 years ago

anyways closing this

antoineco commented 4 years ago

@bukyapavankumar oh, my bad! Yes you're right about that. I wish Broadcom could support wl but unfortunately it seems like it's been completely abandoned.