[求助]博通无线网卡不能使用
Tofloor
poster avatar
yy390004766
deepin
2020-08-21 08:32
Author
本帖最后由 yy390004766 于 2020-8-21 00:47 编辑

刚装的系统,已经是第二台机器了,这台机器是惠普的,网卡识别为4352,之前WIN7的时候忘记查看硬件,不知道是不是这个型号,目前有线网卡可以正常使用,但是无线网卡没有网络,搜索不到任何网络,求大神指点~~刚才更新5.8.2内核之后,连无线功能都没有了。。。求助求助,平时办公根本没有有线场景 ,只有家里有,求助求助







Reply Favorite View the author
All Replies
1 / 2
To page
忘记、过去
Moderator
2020-08-21 09:17
#1
BCM94352z?莫不是想黑苹果啊......

博通网卡是自己的闭源驱动,sudo apt install bcmwl-kernel-source 即可安装驱动,但是有可能和新内核不兼容......先试试看吧。

驱动安装后可能需要执行 sudo modprobe wl 来手动加载驱动。
Reply View the author
yy390004766
deepin
2020-08-21 22:23
#2
zty199 发表于 2020-8-21 01:17
BCM94352z?莫不是想黑苹果啊......

博通网卡是自己的闭源驱动,sudo apt install bcmwl-kernel-sour ...

第一个命令提示没有需要更新的内容,第二个命令提示错误
Reply View the author
yy390004766
deepin
2020-08-22 02:54
#3
https://bbs.deepin.org/post/200088
BCM94352z?莫不是想黑苹果啊......

博通网卡是自己的闭源驱动,sudo apt install bcmwl-kernel-sour ...



大神,第二个命令提示这个
Reply View the author
残念
deepin
2020-08-22 03:09
#4
本帖最后由 peterzhang1234 于 2020-8-21 19:10 编辑
https://bbs.deepin.org/post/200088
大神,第二个命令提示这个

5.8.2 ?? 自己编译的?
换回默认的5.3试一下


Reply View the author
yy390004766
deepin
2020-08-22 03:18
#5
https://bbs.deepin.org/post/200088
5.8.2 ?? 自己编译的?
换回默认的5.3试一下

不是自己编译的,我哪会这个,就是看到有升级内核的教程,以为升级内核就能将无线网卡驱动,之前的内核也是这样操作了,第二个命令不行
Reply View the author
忘记、过去
Moderator
2020-08-22 04:34
#6
https://bbs.deepin.org/post/200088
大神,第二个命令提示这个

那就没办法了,内核编译的时候没有包含驱动。建议换回5.3
Reply View the author
yy390004766
deepin
2020-08-22 04:59
#7

大哥,没看明白怎么回事?
Reply View the author
yy390004766
deepin
2020-08-22 05:00
#8
https://bbs.deepin.org/post/200088
那就没办法了,内核编译的时候没有包含驱动。建议换回5.3

换回5.3第一个命令是提示没有需要更新的内容,然后第二个命令是没反应,点击完回车后没有啥反应,也没有提示信息
Reply View the author
Jekyll361
deepin
2020-08-22 05:30
#9
可以用的呀,我的dell电脑就用博通的,更新一下就好了
Reply View the author
deepinuser17
deepin
2020-08-22 20:27
#10
本帖最后由 deepinuser17 于 2020-8-22 12:29 编辑

BCM4352的驱动器是闭源wl.

返回深度的内核.进行以下操作. 然后运行"iwconfig"命令,查看Wifi卡.

1. 安装博通的闭源驱动器软件包.
  1. sudo apt-get install broadcom-sta-dkms
Copy the Code


2. 把驱动器wl加到/etcmodules文件里
  1. sudo echo "wl" | sudo tee -a /etc/modules
Copy the Code


3. 重启机器
  1. sudo shutdown -r now
Copy the Code
Reply View the author
yy390004766
deepin
2020-08-22 22:33
#11
https://bbs.deepin.org/post/200088
BCM4352的驱动器是闭源wl.

返回深度的内核.进行以下操作. 然后运行"iwconfig"命令,查看Wifi卡.

好的,大神,我试试~
Reply View the author
yy390004766
deepin
2020-08-22 23:48
#12
本帖最后由 yy390004766 于 2020-8-22 15:50 编辑
https://bbs.deepin.org/post/200088
BCM4352的驱动器是闭源wl.

返回深度的内核.进行以下操作. 然后运行"iwconfig"命令,查看Wifi卡.



大神,我使用你的第二个命令提示这样的错误,怎么处理?头都大了
Reply View the author
要讲武德
deepin
2020-08-23 00:03
#13
本帖最后由 licardo 于 2020-8-22 16:09 编辑

不行就买一个无线网卡吧,水星的MW150US京东自营也就20块钱, 我从deepin15.4用到现在deepin20,内核从4.9用到现在的5.8都是插上直接用,速度也不错
注意是MW150US不是MW150US免驱版
Reply View the author
yy390004766
deepin
2020-08-23 00:13
#14
https://bbs.deepin.org/post/200088
不行就买一个无线网卡吧,水星的MW150US京东自营也就20块钱, 我从deepin15.4用到现在deepin20,内核从4.9用 ...

你买的是哪个版本的?有驱动版,有免驱版,有带天线版?然后问客服说不支持Linux。。。。我晕了
Reply View the author
要讲武德
deepin
2020-08-23 02:11
#15
https://bbs.deepin.org/post/200088
你买的是哪个版本的?有驱动版,有免驱版,有带天线版?然后问客服说不支持Linux。。。。我晕了 ...

我上面已经说了呀,不要买免驱版。就叫MW150US , 买左边的白色的,不要买蓝色的
     
Reply View the author
gd0668
deepin
2020-08-23 05:14
#16
https://bbs.deepin.org/post/200088
BCM94352z?莫不是想黑苹果啊......

博通网卡是自己的闭源驱动,sudo apt install bcmwl-kernel-sour ...

当初我还想买博通来装黑苹果 网上看教程装系统老是卡主 干脆就装深度了
Reply View the author
deepinuser17
deepin
2020-08-23 07:04
#17
https://bbs.deepin.org/post/200088
大神,我使用你的第二个命令提示这样的错误,怎么处理?头都大了

把/var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log文件发上来.这个文件包含具体的出错信息.可以查看出错的原因.原因找到了,问题就很容易解决了.
Reply View the author
yy390004766
deepin
2020-08-24 00:47
#18
https://bbs.deepin.org/post/200088
把/var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log文件发上来.这个文件包含具体的出错信息.可 ...
DKMS make.log for broadcom-sta-6.30.223.271 for kernel 5.3.0-3-amd64 (x86_64)
2020年 08月 22日 星期六 15:42:32 CST
/bin/sh: 1: [: Illegal number:
/bin/sh: 1: [: Illegal number:
Wireless Extension is the only possible API for this kernel version
Using Wireless Extension API
KBUILD_NOPEDANTIC=1 make -C /lib/modules/5.3.0-3-amd64/build M=`pwd`
make[1]: 警告: jobserver 不可用: 正使用 -j1。添加 “+” 到父 make 的规则。
make[1]: 进入目录“/usr/src/linux-headers-5.3.0-3-amd64”
make[1]: 警告:文件“/usr/src/linux-headers-5.3.0-3-common/Makefile”的修改时间在未来 26278 秒后
make[2]: 警告:文件“scripts/Makefile.ubsan”的修改时间在未来 26039 秒后
CFG80211 API is prefered for this kernel version
Using CFG80211 API
Kernel architecture is X86_64
make[3]: 警告:文件“scripts/Makefile.lib”的修改时间在未来 26039 秒后
  CC [M]  /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/shared/linux_osl.o
  CC [M]  /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.o
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c: In function ‘wl_pci_probe’:
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c:780:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  if ((val & 0x0000ff00) != 0)
  ^~
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c:782:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   bar1_size = pci_resource_len(pdev, 2);
   ^~~~~~~~~
In file included from /usr/src/linux-headers-5.3.0-3-common/include/linux/bitmap.h:9,
                 from /usr/src/linux-headers-5.3.0-3-common/include/linux/cpumask.h:12,
                 from /usr/src/linux-headers-5.3.0-3-common/arch/x86/include/asm/cpumask.h:5,
                 from /usr/src/linux-headers-5.3.0-3-common/arch/x86/include/asm/msr.h:11,
                 from /usr/src/linux-headers-5.3.0-3-common/arch/x86/include/asm/processor.h:21,
                 from /usr/src/linux-headers-5.3.0-3-common/arch/x86/include/asm/cpufeature.h:5,
                 from /usr/src/linux-headers-5.3.0-3-common/arch/x86/include/asm/thread_info.h:53,
                 from /usr/src/linux-headers-5.3.0-3-common/include/linux/thread_info.h:38,
                 from /usr/src/linux-headers-5.3.0-3-common/arch/x86/include/asm/preempt.h:7,
                 from /usr/src/linux-headers-5.3.0-3-common/include/linux/preempt.h:78,
                 from /usr/src/linux-headers-5.3.0-3-common/include/linux/spinlock.h:51,
                 from /usr/src/linux-headers-5.3.0-3-common/include/linux/seqlock.h:36,
                 from /usr/src/linux-headers-5.3.0-3-common/include/linux/time.h:6,
                 from /usr/src/linux-headers-5.3.0-3-common/include/linux/stat.h:19,
                 from /usr/src/linux-headers-5.3.0-3-common/include/linux/module.h:10,
                 from /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/include/linuxver.h:40,
                 from /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c:27:
In function ‘strncpy’,
    inlined from ‘_wl_add_monitor_if’ at /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c:2977:2:
/usr/src/linux-headers-5.3.0-3-common/include/linux/string.h:260:9: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
  return __builtin_strncpy(p, q, size);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c: In function ‘_wl_add_monitor_if’:
/usr/src/linux-headers-5.3.0-3-common/include/linux/string.h:281:10: note: length computed here
   return __builtin_strlen(p);
          ^~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_iw.o
  CC [M]  /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.o
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_dev_ioctl’:
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.c:460:9: error: implicit declaration of function ‘get_ds’; did you mean ‘get_fs’? [-Werror=implicit-function-declaration]
  set_fs(get_ds());
         ^~~~~~
         get_fs
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.c:460:9: error: incompatible type for argument 1 of ‘set_fs’
  set_fs(get_ds());
         ^~~~~~~~
In file included from /usr/src/linux-headers-5.3.0-3-common/include/linux/uaccess.h:11,
                 from /usr/src/linux-headers-5.3.0-3-common/arch/x86/include/asm/fpu/xstate.h:5,
                 from /usr/src/linux-headers-5.3.0-3-common/arch/x86/include/asm/pgtable.h:26,
                 from /usr/src/linux-headers-5.3.0-3-common/include/linux/mm.h:99,
                 from /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/include/linuxver.h:65,
                 from /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.c:26:
/usr/src/linux-headers-5.3.0-3-common/arch/x86/include/asm/uaccess.h:29:40: note: expected ‘mm_segment_t’ {aka ‘struct ’} but argument is of type ‘int’
static inline void set_fs(mm_segment_t fs)
                           ~~~~~~~~~~~~~^~
In file included from /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.c:43:
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_set_auth_type’:
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.h:52:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  if (wl_dbg_level & WL_DBG_DBG) {   \
     ^
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.c:813:3: note: in expansion of macro ‘WL_DBG’
   WL_DBG(("network eap\n"));
   ^~~~~~
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.c:814:2: note: here
  default:
  ^~~~~~~
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-5.3.0-3-common/scripts/Makefile.build:286:/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_cfg80211_hybrid.o] 错误 1
make[2]: *** [/usr/src/linux-headers-5.3.0-3-common/Makefile:1639:_module_/var/lib/dkms/broadcom-sta/6.30.223.271/build] 错误 2
make[1]: *** [/usr/src/linux-headers-5.3.0-3-common/Makefile:179:sub-make] 错误 2
make[1]: 离开目录“/usr/src/linux-headers-5.3.0-3-amd64”
make: *** [Makefile:177:all] 错误 2

大神给看看吧
Reply View the author
yy390004766
deepin
2020-08-24 00:52
#19
https://bbs.deepin.org/post/200088
我上面已经说了呀,不要买免驱版。就叫MW150US , 买左边的白色的,不要买蓝色的
     
...

嗯嗯,下单,买来后插上就能直接用吗?还是得自己下载驱动去?
Reply View the author
要讲武德
deepin
2020-08-24 03:45
#20
https://bbs.deepin.org/post/200088
嗯嗯,下单,买来后插上就能直接用吗?还是得自己下载驱动去?

直接用,我的插上就能识别
Reply View the author
1 / 2
To page