我怎么启用这个无线网卡?
Tofloor
poster avatar
16******57@qq.com
deepin
2019-01-30 07:48
Author
jsp@jsp-PC:/etc/network$ lspci |grep -i net
05:00.0 Network controller: Intel Corporation Wireless-AC 9260 (rev 29)
09:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)


Reply Favorite View the author
All Replies
avatar
16******57@qq.com
deepin
2019-01-30 07:49
#1
jsp@jsp-PC:/etc/network$ ifconfig
enp9s0: flags=4163  mtu 1500
        inet 192.168.1.22  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::d06f:3074:baea:8a8f  prefixlen 64  scopeid 0x20
        ether 0c:9d:92:85:70:76  txqueuelen 1000  (Ethernet)
        RX packets 753815  bytes 975345115 (930.1 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 381961  bytes 29481311 (28.1 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device memory 0xfe000000-fe01ffff  

lo: flags=73  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 172  bytes 17929 (17.5 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 172  bytes 17929 (17.5 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
Reply View the author
avatar
Amadeus
deepin
2019-01-30 19:38
#2
先用ifconfig查看网卡名称,再用iwconfig 网卡名称 up启用。
Reply View the author
avatar
16******57@qq.com
deepin
2019-01-30 20:48
#3
本帖最后由 js2221 于 2019-1-30 12:49 编辑
https://bbs.deepin.org/post/174394
先用ifconfig查看网卡名称,再用iwconfig 网卡名称 up启用。

jsp@jsp-PC:~/Documents/anhei$ iwconfig
enp9s0    no wireless extensions.

lo        no wireless extensions.


这是没有驱动吗?但是蓝牙却可以用。
Reply View the author
avatar
electricface
deepin
2019-01-30 21:11
#4
本帖最后由 electricface 于 2019-1-30 13:19 编辑

https://www.intel.cn/content/www ... ess-networking.html

应该是支持的
执行命令,看到是否加载了内核模块
  1. lsmod|grep iwl
Copy the Code

确保安装了软件包 firmware-iwlwifi



Reply View the author
avatar
16******57@qq.com
deepin
2019-01-30 21:27
#5
https://bbs.deepin.org/post/174394
https://www.intel.cn/content/www ... ess-networking.html

应该是支持的

jsp@jsp-PC:~$ lsmod|grep iwl
iwlmvm                364544  1
mac80211              778240  1 iwlmvm
iwlwifi               282624  1 iwlmvm
cfg80211              622592  4 wl,iwlmvm,iwlwifi,mac80211

是这个样子
Reply View the author
avatar
electricface
deepin
2019-01-30 21:36
#6
那么执行
  1. nmcli d
Copy the Code


  1. nmcli d wifi list
Copy the Code


的结果是什么?
Reply View the author
avatar
16******57@qq.com
deepin
2019-01-30 21:49
#7

jsp@jsp-PC:~$ nmcli d
DEVICE  TYPE      STATE   CONNECTION
enp9s0  ethernet  连接的  有线连接 1
lo      loopback  未托管  --         
jsp@jsp-PC:~$ nmcli d wifi list
jsp@jsp-PC:~$
Reply View the author
avatar
electricface
deepin
2019-01-30 21:52
#8
本帖最后由 electricface 于 2019-1-30 13:54 编辑

还真是没有发现无线网卡呀

  1. sudo apt install hw-probe
  2. sudo hw-probe -all -upload
Copy the Code


上传更多的日志
Reply View the author
avatar
16******57@qq.com
deepin
2019-01-30 21:54
#9
https://bbs.deepin.org/post/174394
还真是没有无线网卡呀

是啊,可是PCI里明明认出来了。而且这个卡有蓝牙,并且好象能用。
Reply View the author
avatar
16******57@qq.com
deepin
2019-01-30 21:58
#10
jsp@jsp-PC:~$ sudo apt install hw-probe
[sudo] jsp 的密码:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
E: 无法定位软件包 hw-probe
jsp@jsp-PC:~$ sudo hw-probe -all -upload
sudo: hw-probe:找不到命令
jsp@jsp-PC:~$

Reply View the author
avatar
electricface
deepin
2019-01-30 21:59
#11
那还是用
sudo deepin-feedback-cli
然后上传压缩文件
Reply View the author
avatar
16******57@qq.com
deepin
2019-01-30 22:02
#12
请将 /home/jsp/deepin-feedback-cli-Deepin-15.9-all-20190130-140047.tar.gz 作为附件上传到 http://feedback.deepin.org/feedback,方便 deepin 团队定位并解决问题。
传这个吗?

Reply View the author
avatar
electricface
deepin
2019-01-30 22:06
#13
把文件 /home/jsp/deepin-feedback-cli-Deepin-15.9-all-20190130-140047.tar.gz 传到论坛
Reply View the author
avatar
deepinuser17
deepin
2019-01-30 22:08
#14
到这个链接下载固件,安装以后再试试。
https://www.intel.com/content/ww ... ess-networking.html
Reply View the author
avatar
16******57@qq.com
deepin
2019-01-30 22:09
#15
https://bbs.deepin.org/post/174394
把文件 /home/jsp/deepin-feedback-cli-Deepin-15.9-all-20190130-140047.tar.gz 传到论坛

是上边那个链接吗?
https://feedback.deepin.org/feed ... en=eMGorGDVLxE6MWFu
Reply View the author
avatar
electricface
deepin
2019-01-30 22:16
#16
执行
  1. sudo apt install firmware-iwlwifi
Copy the Code

然后重启再看看情况
Reply View the author
avatar
16******57@qq.com
deepin
2019-01-30 22:19
#17
[sudo] jsp 的密码:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
firmware-iwlwifi 已经是最新版 (20180518-1)。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 48 个软件包未被升级。
jsp@jsp-PC:~$
Reply View the author
avatar
16******57@qq.com
deepin
2019-01-30 22:20
#18
又出新问题了:(
Reply View the author
avatar
electricface
deepin
2019-01-30 22:25
#19
发现了内核的bug
  1. [    5.982624] ------------[ cut here ]------------
  2. [    5.982625] kernel BUG at /build/linux-4.15.0/drivers/net/wireless/intel/iwlwifi/pcie/rx.c:425!
  3. [    5.982631] invalid opcode: 0000 [#1] SMP NOPTI
  4. [    5.982633] Modules linked in: snd_hda_codec_realtek(+) iwlmvm(+) snd_hda_codec_generic snd_hda_codec_hdmi btusb snd_hda_intel btrtl wl(POE) mac80211 btbcm snd_hda_codec btintel edac_mce_amd eeepc_wmi bluetooth snd_hda_core kvm_amd asus_wmi iwlwifi sparse_keymap snd_hwdep nls_iso8859_1 ecdh_generic kvm input_leds irqbypass video snd_pcm cfg80211 serio_raw wmi_bmof pcspkr k10temp snd_timer ccp snd soundcore shpchp mac_hid mincores(OE) parport_pc ppdev lp parport binfmt_misc vfs_monitor(OE) ip_tables x_tables autofs4 btrfs zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear hid_generic usbhid hid amdkfd amd_iommu_v2 amdgpu crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc mxm_wmi chash ttm aesni_intel drm_kms_helper
  5. [    5.982662]  aes_x86_64 syscopyarea crypto_simd sysfillrect glue_helper sysimgblt cryptd fb_sys_fops igb drm dca i2c_piix4 i2c_algo_bit ptp nvme ahci pps_core nvme_core libahci gpio_amdpt wmi gpio_generic
  6. [    5.982673] CPU: 8 PID: 1373 Comm: modprobe Tainted: P           OE    4.15.0-29deepin-generic #31
  7. [    5.982675] Hardware name: System manufacturer System Product Name/PRIME X470-PRO, BIOS 4207 12/07/2018
  8. [    5.982682] RIP: 0010:iwl_pcie_rxq_alloc_rbs+0x1d0/0x1f0 [iwlwifi]
  9. [    5.982683] RSP: 0018:ffffa042880178a8 EFLAGS: 00010286
  10. [    5.982685] RAX: dead000000000200 RBX: ffff91d3f5210078 RCX: ffffdb441fd01020
  11. [    5.982686] RDX: ffff91d3f53261a8 RSI: 0000000000000000 RDI: ffff91d3f5210078
  12. [    5.982687] RBP: ffffa042880178e8 R08: ffff91d3f53261a8 R09: 00000000006e7ad8
  13. [    5.982688] R10: 0000000000000000 R11: ffff91d3f5210050 R12: ffff91d3f5210000
  14. [    5.982689] R13: ffff91d3f5320018 R14: ffffdb441fe57e80 R15: ffff91d3f53261d0
  15. [    5.982691] FS:  00007f713b3dfb80(0000) GS:ffff91d41ee00000(0000) knlGS:0000000000000000
  16. [    5.982692] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  17. [    5.982693] CR2: 00007f6402e2f740 CR3: 00000007f6c4c000 CR4: 00000000003406e0
  18. [    5.982694] Call Trace:
  19. [    5.982701]  _iwl_pcie_rx_init+0x252/0x710 [iwlwifi]
  20. [    5.982706]  iwl_pcie_rx_init+0x2d/0x3c0 [iwlwifi]
  21. [    5.982715]  ? iwl_mvm_nic_config+0xeb/0x120 [iwlmvm]
  22. [    5.982721]  iwl_trans_pcie_start_fw+0x2a1/0x6c0 [iwlwifi]
  23. [    5.982728]  iwl_mvm_load_ucode_wait_alive+0xec/0x2b0 [iwlmvm]
  24. [    5.982735]  ? 0xffffffffc0cf5000
  25. [    5.982742]  iwl_run_init_mvm_ucode+0x8e/0x330 [iwlmvm]
  26. [    5.982748]  ? iwl_run_init_mvm_ucode+0x8e/0x330 [iwlmvm]
  27. [    5.982753]  ? iwl_wait_init_complete+0x20/0x20 [iwlmvm]
  28. [    5.982760]  iwl_op_mode_mvm_start+0x649/0x920 [iwlmvm]
  29. [    5.982766]  ? iwl_op_mode_mvm_start+0x649/0x920 [iwlmvm]
  30. [    5.982771]  _iwl_op_mode_start.isra.10+0x4c/0xa0 [iwlwifi]
  31. [    5.982775]  iwl_opmode_register+0x75/0xe0 [iwlwifi]
  32. [    5.982778]  ? 0xffffffffc09c3000
  33. [    5.982783]  iwl_mvm_init+0x38/0x1000 [iwlmvm]
  34. [    5.982786]  do_one_initcall+0x52/0x19f
  35. [    5.982789]  ? free_unref_page_commit+0xb1/0xf0
  36. [    5.982792]  ? _cond_resched+0x19/0x40
  37. [    5.982794]  ? kmem_cache_alloc_trace+0x14e/0x1b0
  38. [    5.982797]  ? do_init_module+0x27/0x209
  39. [    5.982799]  do_init_module+0x5f/0x209
  40. [    5.982800]  load_module+0x191e/0x1f10
  41. [    5.982803]  ? ima_post_read_file+0x96/0xa0
  42. [    5.982805]  SYSC_finit_module+0xfc/0x120
  43. [    5.982807]  ? SYSC_finit_module+0xfc/0x120
  44. [    5.982809]  SyS_finit_module+0xe/0x10
  45. [    5.982811]  do_syscall_64+0x73/0x130
  46. [    5.982813]  entry_SYSCALL_64_after_hwframe+0x3d/0xa2
  47. [    5.982815] RIP: 0033:0x7f713acf38f9
  48. [    5.982816] RSP: 002b:00007ffcbe52d648 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
  49. [    5.982818] RAX: ffffffffffffffda RBX: 00005646b5362dd0 RCX: 00007f713acf38f9
  50. [    5.982819] RDX: 0000000000000000 RSI: 00005646b3c4ea78 RDI: 0000000000000001
  51. [    5.982820] RBP: 00005646b3c4ea78 R08: 0000000000000000 R09: 0000000000000000
  52. [    5.982821] R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000
  53. [    5.982822] R13: 00005646b5362c60 R14: 0000000000040000 R15: 00005646b5362dd0
  54. [    5.982823] Code: 7c 24 50 48 89 df c6 07 00 0f 1f 40 00 41 8b b5 e4 8e 00 00 4c 89 f7 e8 ff 21 50 c8 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f 5d c3 <0f> 0b c6 07 00 0f 1f 40 00 48 83 c4 18 5b 41 5c 41 5d 41 5e 41
  55. [    5.982850] RIP: iwl_pcie_rxq_alloc_rbs+0x1d0/0x1f0 [iwlwifi] RSP: ffffa042880178a8
  56. [    5.982851] ---[ end trace 4b20c93d8ff2cbb0 ]---
Copy the Code
Reply View the author
Comments
js2221
2019-01-30 22:26
是要更新内核吗?
avatar
16******57@qq.com
deepin
2019-01-31 03:06
#20

装了4.19的内核,网卡有了
Reply View the author