I'm struggling with the configuration of my wifi driver. As i'm new on linux and debian, i just tried to follow tutorial but none worked.
Here is my wifi card:
Code: Select all
# lspci -k | grep -i network -A 2
Network controller: Broadcom Limited BCM4352 802.11ac Wireless Network Adapter (rev 03)
Subsystem: Dell BCM4352 802.11ac Wireless Network Adapter
Kernel modules: bcma
Code: Select all
/sbin/ifconfig
enx1491823c1d1a: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.56 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 2a02:a03f:1cb4:bd00:920:facf:b8f5:d462 prefixlen 64 scopeid 0x0<global>
inet6 fe80::1691:82ff:fe3c:1d1a prefixlen 64 scopeid 0x20<link>
inet6 2a02:a03f:1cb4:bd00:1691:82ff:fe3c:1d1a prefixlen 64 scopeid 0x0<global>
ether 14:91:82:3c:1d:1a txqueuelen 1000 (Ethernet)
RX packets 26955 bytes 21437224 (20.4 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 17589 bytes 2117254 (2.0 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (Local Loopback)
RX packets 168 bytes 13356 (13.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 168 bytes 13356 (13.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Code: Select all
E: Unable to locate package bcmwl-kernel-source
https://wiki.debian.org/wl
Step that fail and result:
Code: Select all
apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-headers-$(unamesed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-amd64 is already the newest version (4.9+80).
linux-image-amd64 is already the newest version (4.9+80).
The following NEW packages will be installed:
broadcom-sta-dkms
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/2,170 kB of archives.
After this operation, 14.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package broadcom-sta-dkms.
(Reading database ... 132379 files and directories currently installed.)
Preparing to unpack .../broadcom-sta-dkms_6.30.223.248-3_all.deb ...
Unpacking broadcom-sta-dkms (6.30.223.248-3) ...
Setting up broadcom-sta-dkms (6.30.223.248-3) ...
Loading new broadcom-sta-6.30.223.248 DKMS files...
Building for 4.9.0-3-amd64
Building initial module for 4.9.0-3-amd64
Error! Bad return status for module build on kernel: 4.9.0-3-amd64 (x86_64)
Consult /var/lib/dkms/broadcom-sta/6.30.223.248/build/make.log for more information.
In file included from /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:33:0:
/usr/src/linux-headers-4.9.0-3-common/include/net/cfg80211.h:4304:6: note: expected ‘struct cfg80211_scan_info *’ but argument is of type ‘int’
void cfg80211_scan_done(struct cfg80211_scan_request *request,
^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.9.0-3-common/scripts/Makefile.build:298: recipe for target '/var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.o' failed
make[4]: *** [/var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.o] Error 1
/usr/src/linux-headers-4.9.0-3-common/Makefile recipe for target '_module_/var/lib/dkms/broadcom-sta/6.30.223.248/build' failed
make[3]: *** [_module_/var/lib/dkms/broadcom-sta/6.30.223.248/build] Error 2
Makefile:150: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.9.0-3-amd64'
Makefile:158: recipe for target 'all' failed
make: *** [all] Error 2
What do I need to do ? I'm lost.
Thanks a lot.