我最近安装了 Kali Linux,从 Scientific Linux 切换过来。唯一的问题是我的无线驱动程序,它根本不想安装。
lspci-nn | grep 网络:
02:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM57785` Gigabit Ethernet PCIe [14e4:16b5] (rev 10)
03:00.0 Network controller [0280]: Broadcom Corporation BCM43227 802.11b/g/n [14e4:4358]
ifconfig-a:
eth0 Link encap:Ethernet HWaddr dc:0e:a1:1e:75:35
inet addr:192.168.0.108 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::de0e:a1ff:fe1e:7535/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:23812 errors:0 dropped:0 overruns:0 frame:0
TX packets:13319 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:30858992 (29.4 MiB) TX bytes:1221973 (1.1 MiB)
Interrupt:16
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:28 errors:0 dropped:0 overruns:0 frame:0
TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1680 (1.6 KiB) TX bytes:1680 (1.6 KiB)
iw配置:
eth0 no wireless extensions.
lo no wireless extensions.
名称-r:
3.14-kali1-amd64
到目前为止,我已经尝试从官方网站下载驱动程序,并尝试自己构建模块,但是当使用“make”时,它会花费很长时间并冻结。我对 Linux 的使用不太有经验,但我认为它不应该那样做。然后我尝试按照这些步骤操作(使用模块助手) http://community.linuxmint.com/tutorial/view/218。当它开始构建模块时,它会到达大约第 300 步,然后说它失败了,没有任何错误。然后我尝试使用broadcom-sta-dkms。 apt-get 安装 Broadcom-sta-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
broadcom-sta-source
The following NEW packages will be installed:
broadcom-sta-dkms
0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
Need to get 0 B/2,208 kB of archives.
After this operation, 4,164 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 338796 files and directories currently installed.)
Removing broadcom-sta-source ...
Selecting previously unselected package broadcom-sta-dkms.
(Reading database ... 338788 files and directories currently installed.)
Unpacking broadcom-sta-dkms (from .../broadcom-sta-dkms_5.100.82.112-8_all.deb) ...
Setting up broadcom-sta-dkms (5.100.82.112-8) ...
Loading new broadcom-sta-5.100.82.112 DKMS files...
Building only for 3.14-kali1-amd64
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
但这很奇怪,因为我安装了内核源代码和标头。我非常感谢你的帮助。