hp stream 11 上的 ubuntu 无线

hp stream 11 上的 ubuntu 无线

我已经在 hp stream 11 上安装了 Ubuntu 14.04。未检测到无线设备。

Windows 将其检测为 Broadcom BCM43142 802.11 bgn。

是否可以获取 Ubuntu 的驱动程序并手动安装?

编辑:我手动下载了软件包,现在又收到另一个错误

$ sudo dpkg -i dkms_2.2.0.3-1.1ubuntu5.14.04.5_all.deb 
(Reading database ... 164809 files and directories currently installed.)
Preparing to unpack dkms_2.2.0.3-1.1ubuntu5.14.04.5_all.deb ...
Unpacking dkms (2.2.0.3-1.1ubuntu5.14.04.5) over (2.2.0.3-1.1ubuntu5.14.04.5) ...
Setting up dkms (2.2.0.3-1.1ubuntu5.14.04.5) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
compX@compX-HP-Stream-Notebook-PC-11:~$ sudo dpkg -i bcmwl-kernel-source_6.30.223.141+bdcom-0ubuntu2_amd64.deb 
(Reading database ... 164809 files and directories currently installed.)
Preparing to unpack bcmwl-kernel-source_6.30.223.141+bdcom-0ubuntu2_amd64.deb ...
Removing all DKMS Modules
Done.
Unpacking bcmwl-kernel-source (6.30.223.141+bdcom-0ubuntu2) over (6.30.223.141+bdcom-0ubuntu2) ...
Setting up bcmwl-kernel-source (6.30.223.141+bdcom-0ubuntu2) ...
Loading new bcmwl-6.30.223.141+bdcom DKMS files...
Building only for 3.19.0-25-generic
Building for architecture x86_64
Building initial module for 3.19.0-25-generic
ERROR (dkms apport): kernel package linux-headers-3.19.0-25-generic is not supported
Error! Bad return status for module build on kernel: 3.19.0-25-generic (x86_64)
Consult /var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/make.log for more information.
modprobe: FATAL: Module wl not found.
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.103ubuntu4.2) ...
update-initramfs: Generating /boot/initrd.img-3.19.0-25-generic
compX@compX-HP-Stream-Notebook-PC-11:~$ more /var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/make.log 
DKMS make.log for bcmwl-6.30.223.141+bdcom for kernel 3.19.0-25-generic (x86_64)
Thu Jan 14 21:21:06 GMT 2016
make: Entering directory ```/usr/src/linux-headers-3.19.0-25-generic'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
  LD      /var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/built-in.o
  CC [M]  /var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/src/shared/linux_osl.o
  CC [M]  /var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/src/wl/sys/wl_linux.o
/var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/src/wl/sys/wl_linux.c: In function ‘wl_alloc_linux_if’:
/var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/src/wl/sys/wl_linux.c:1354:64: error: macro "alloc_netdev" requires 4 arguments, but only 3 given
  dev = alloc_netdev(sizeof(priv_link_t), intf_name, ether_setup);
                                                                ^
/var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/src/wl/sys/wl_linux.c:1354:8: error: ‘alloc_netdev’ undeclared (first use in this function)
  dev = alloc_netdev(sizeof(priv_link_t), intf_name, ether_setup);
        ^
/var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/src/wl/sys/wl_linux.c:1354:8: note: each undeclared identifier is reported only once for each funct
ion it appears in
make[1]: *** [/var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/src/wl/sys/wl_linux.o] Error 1
make: *** [_module_/var/lib/dkms/bcmwl/6.30.223.141+bdcom/build] Error 2
make: Leaving directory `/usr/src/linux-headers-3.19.0-25-generic'

编辑2:提供了有关安装和网络的更多信息。无法使其工作 :(

$ sudo lshw -C network
  *-network               
       description: Network controller
       product: BCM43142 802.11b/g/n
       vendor: Broadcom Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: 01
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: driver=bcma-pci-bridge latency=0
       resources: irq:16 memory:90400000-90407fff
compXXX@compXXX-HP-Stream-Notebook-PC-11:~$ uname -a
Linux compXXX-HP-Stream-Notebook-PC-11 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:16:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
compXXX@compXXX-HP-Stream-Notebook-PC-11:~$ uname -r
3.19.0-25-generic

答案1

用有线连接互联网,然后运行sudo apt-get update && sudo apt-get install bcmwl-kernel-source。如果您无法用有线连接互联网,请执行以下操作:

1.) 转到设置,然后转到软件和更新。

"cdrom:[...2.) 单击“其他软件”选项卡,然后确保选中旁边的复选框。

3.) 将用于安装 Ubuntu 的 CD 放入驱动器。

4.)运行sudo apt-get update && sudo apt-get install bcmwl-kernel-source

如果您使用 USB 驱动器:

1.) 插入您的 USB 驱动器并导航到驱动器的根目录。

2.)复制地址栏的内容。

3.) 转到设置,然后转到软件和更新,然后单击“其他软件”选项卡。

4.) 单击“添加...”,然后输入deb file:(what you copied)

5.) 单击“添加源”,然后运行sudo apt-get update && sudo apt-get install bcmwl-kernel-source

相关内容