NetworkManager 无法识别我的无线网卡

NetworkManager 无法识别我的无线网卡

系统详细信息:Ubuntu 12.04 LTS,内核为 3.5.0-45-generic,笔记本电脑为 Dell Sputnik 3 XPS 13,无线网卡为 Intel Wireless 7260(rev 6b)

我无法连接到校园 CS 无线网络,但无法连接到任何其他网络。我的系统管理员建议使用来自这里。我安装了接受答案中的反向端口并重新启动。当我重新启动时,NetworkManager 没有检测到我的无线网卡,并且 wlan0 接口没有启动并运行。我立即卸载了反向端口,但问题仍然存在。我尝试从这里但这也没有解决问题。我猜恢复出厂设置应该可以解决问题,但我宁愿避免这样做。

预期某些输出的请求:

lspci | grep 网络

02:00.0 Network controller: Intel Corporation Wireless 7260 (rev 6b)

lshw-C 网络

*-network
    description: Network controller
    product: Wireless 7260
    vendor: Intel Corporation
    physical id: 0
    bus info: pci@0000:02:00.0
    version: 6b
    width: 64 bits
    clock: 33MHz
    capabilities: bus_master cap_list
    configuration: driver=iwlwifi latency=0
    resources: irq:59 memory:f0400000-f0401fff

消息 |查找

[    7.675832] iwlwifi 0000:02:00.0: irq 59 for MSI/MSI-X
[    7.676309] iwlwifi 0000:02:00.0: Selected bus type = PCI
[    7.845366] iwlwifi 0000:02:00.0: loaded firmware version 22.0.6.0 op_mode iwlmvm
[    7.879810] iwlmvm: disagrees about version of symbol ieee80211_start_tx_ba_cb_irqsafe
[    7.879814] iwlmvm: Unknown symbol ieee80211_start_tx_ba_cb_irqsafe (err -22)
[    7.879820] iwlmvm: disagrees about version of symbol ieee80211_connection_loss
[    7.879822] iwlmvm: Unknown symbol ieee80211_connection_loss (err -22)
[    7.879827] iwlmvm: disagrees about version of symbol ieee80211_report_wowlan_wakeup
[    7.879828] iwlmvm: Unknown symbol ieee80211_report_wowlan_wakeup (err -22)
[    7.879834] iwlmvm: disagrees about version of symbol ieee80211_sched_scan_stopped
[    7.879836] iwlmvm: Unknown symbol ieee80211_sched_scan_stopped (err -22)
[    7.879865] iwlmvm: disagrees about version of symbol ieee80211_free_hw
[    7.879866] iwlmvm: Unknown symbol ieee80211_free_hw (err -22)
[    7.879874] iwlmvm: disagrees about version of symbol ieee80211_get_tkip_p2k
[    7.879876] iwlmvm: Unknown symbol ieee80211_get_tkip_p2k (err -22)
[    7.879881] iwlmvm: disagrees about version of symbol ieee80211_alloc_hw
[    7.879883] iwlmvm: Unknown symbol ieee80211_alloc_hw (err -22)
[    7.879891] iwlmvm: disagrees about version of symbol ieee80211_beacon_loss
[    7.879893] iwlmvm: Unknown symbol ieee80211_beacon_loss (err -22)
[    7.879904] iwlmvm: disagrees about version of symbol ieee80211_register_hw
[    7.879906] iwlmvm: Unknown symbol ieee80211_register_hw (err -22)
[    7.879912] iwlmvm: disagrees about version of symbol ieee80211_restart_hw
[    7.879914] iwlmvm: Unknown symbol ieee80211_restart_hw (err -22)
[    7.879917] iwlmvm: disagrees about version of symbol ieee80211_rate_control_unregister
[    7.879919] iwlmvm: Unknown symbol ieee80211_rate_control_unregister (err -22)
[    7.879923] iwlmvm: disagrees about version of symbol __ieee80211_get_radio_led_name
[    7.879925] iwlmvm: Unknown symbol __ieee80211_get_radio_led_name (err -22)
[    7.879943] iwlmvm: disagrees about version of symbol ieee80211_wake_queue
[    7.879945] iwlmvm: Unknown symbol ieee80211_wake_queue (err -22)
[    7.879972] iwlmvm: disagrees about version of symbol ieee80211_iter_keys
[    7.879974] iwlmvm: Unknown symbol ieee80211_iter_keys (err -22)
[    7.879988] iwlmvm: disagrees about version of symbol wiphy_rfkill_set_hw_state
[    7.879990] iwlmvm: Unknown symbol wiphy_rfkill_set_hw_state (err -22)
[    7.880014] iwlmvm: disagrees about version of symbol ieee80211_enable_rssi_reports
[    7.880015] iwlmvm: Unknown symbol ieee80211_enable_rssi_reports (err -22)
[    7.880019] iwlmvm: disagrees about version of symbol ieee80211_stop_tx_ba_cb_irqsafe
[    7.880021] iwlmvm: Unknown symbol ieee80211_stop_tx_ba_cb_irqsafe (err -22)
[    7.880025] iwlmvm: disagrees about version of symbol ieee80211_ave_rssi
[    7.880027] iwlmvm: Unknown symbol ieee80211_ave_rssi (err -22)
[    7.880033] iwlmvm: disagrees about version of symbol ieee80211_sta_block_awake
[    7.880035] iwlmvm: Unknown symbol ieee80211_sta_block_awake (err -22)
[    7.880039] iwlmvm: disagrees about version of symbol ieee80211_remain_on_channel_expired
[    7.880041] iwlmvm: Unknown symbol ieee80211_remain_on_channel_expired (err -22)
[    7.880056] iwlmvm: disagrees about version of symbol ieee80211_wake_queues
[    7.880058] iwlmvm: Unknown symbol ieee80211_wake_queues (err -22)
[    7.880061] iwlmvm: disagrees about version of symbol ieee80211_iterate_active_interfaces
[    7.880063] iwlmvm: Unknown symbol ieee80211_iterate_active_interfaces (err -22)
[    7.880066] iwlmvm: disagrees about version of symbol ieee80211_rate_control_register
[    7.880068] iwlmvm: Unknown symbol ieee80211_rate_control_register (err -22)
[    7.880072] iwlmvm: disagrees about version of symbol ieee80211_free_txskb
[    7.880074] iwlmvm: Unknown symbol ieee80211_free_txskb (err -22)
[    7.880094] iwlmvm: disagrees about version of symbol ieee80211_tx_status
[    7.880096] iwlmvm: Unknown symbol ieee80211_tx_status (err -22)
[    7.880099] iwlmvm: disagrees about version of symbol ieee80211_stop_queue
[    7.880101] iwlmvm: Unknown symbol ieee80211_stop_queue (err -22)
[    7.880108] iwlmvm: disagrees about version of symbol ieee80211_ready_on_channel
[    7.880110] iwlmvm: Unknown symbol ieee80211_ready_on_channel (err -22)
[    7.880114] iwlmvm: disagrees about version of symbol ieee80211_stop_queues
[    7.880116] iwlmvm: Unknown symbol ieee80211_stop_queues (err -22)
[    7.880130] iwlmvm: disagrees about version of symbol ieee80211_sched_scan_results
[    7.880131] iwlmvm: Unknown symbol ieee80211_sched_scan_results (err -22)
[    7.880138] iwlmvm: disagrees about version of symbol ieee80211_data_to_8023
[    7.880140] iwlmvm: Unknown symbol ieee80211_data_to_8023 (err -22)
[    7.880148] iwlmvm: disagrees about version of symbol ieee80211_scan_completed
[    7.880150] iwlmvm: Unknown symbol ieee80211_scan_completed (err -22)
[    7.880153] iwlmvm: disagrees about version of symbol ieee80211_iterate_active_interfaces_atomic
[    7.880155] iwlmvm: Unknown symbol ieee80211_iterate_active_interfaces_atomic (err -22)
[    7.880163] iwlmvm: disagrees about version of symbol rate_control_send_low
[    7.880165] iwlmvm: Unknown symbol rate_control_send_low (err -22)
[    7.880173] iwlmvm: disagrees about version of symbol ieee80211_unregister_hw
[    7.880175] iwlmvm: Unknown symbol ieee80211_unregister_hw (err -22)
[    7.880179] iwlmvm: disagrees about version of symbol ieee80211_resume_disconnect
[    7.880181] iwlmvm: Unknown symbol ieee80211_resume_disconnect (err -22)
[    7.880189] iwlmvm: disagrees about version of symbol ieee80211_beacon_get_tim
[    7.880191] iwlmvm: Unknown symbol ieee80211_beacon_get_tim (err -22)
[    7.880215] iwlmvm: disagrees about version of symbol cfg80211_chandef_create
[    7.880217] iwlmvm: Unknown symbol cfg80211_chandef_create (err -22)
[    7.880221] iwlmvm: disagrees about version of symbol ieee80211_request_smps
[    7.880223] iwlmvm: Unknown symbol ieee80211_request_smps (err -22)
[    7.880263] iwlmvm: disagrees about version of symbol ieee80211_disable_rssi_reports
[    7.880265] iwlmvm: Unknown symbol ieee80211_disable_rssi_reports (err -22)
[    7.880279] iwlmvm: disagrees about version of symbol mac80211_ieee80211_rx
[    7.880281] iwlmvm: Unknown symbol mac80211_ieee80211_rx (err -22)
[    7.880520] iwlwifi 0000:02:00.0: failed to load module iwlmvm (error 256), is dynamic loading enabled?

/etc/network/devnames 的内容

wlan0:Intel Corporation Device 08b1

/etc/network/interfaces 的内容

auto lo
iface lo inet loopback

nm 工具

NetworkManager Tool

State: disconnected

如果有人能帮我解决这个问题那就太好了。笔记本电脑没有以太网端口,所以我依赖无线工作。

编辑:chili555 通过聊天帮助我解决了这个问题。问题是戴尔强制笔记本电脑通过 DKMS 使用 3.10 版的反向移植。我们从 DKMS 中删除了该版本,然后安装了 3.13 版。请注意,每次安装新内核时,都需要为新内核重新编译和重新安装 3.13 版。

答案1

为了便于我们排除故障,请返回 backports 文件并执行以下操作:

cd ~/Desktop/backports-3.11-rc3-1/
make clean
make-defconfig-iwlwifi
make > make.txt

在您的用户目录中找到文件 make.txt 并将其粘贴到这里,并在您的回复中给我们链接。我怀疑“make”处有错误,我想看看它。http://paste.ubuntu.com

另外,安装较新的固件:

cd /lib/firmware
sudo mv iwlwifi-7260-7.ucode  iwlwifi-7260-7.bak

在另一台计算机上获取此文件,然后使用 USB 记忆棒或类似设备将文件拖放到桌面:https://git.kernel.org/cgit/linux/kernel/git/egrumbach/linux-firmware.git/plain/iwlwifi-7260-7.ucode

cd ~/Desktop
sudo cp iwlwifi-7260-7.ucode  /lib/firmware

重启。

您的“make”看起来很完美。我建议您安装它:

cd ~/Desktop/backports-3.11-rc3-1/
sudo make install
sudo modprobe -r iwlmvm
sudo modprobe -r iwlwifi
sudo modprobe iwlwifi

是否创建了无线接口?

iwconfig

检查信息性消息:

dmesg | grep iwl

正确的固件是:

-rw-r--r--  1 root root  683236 Jan 17 11:34 iwlwifi-7260-7.ucode

答案2

好的,你的笔记本电脑支持 Ubuntu:

戴尔XPS13

如果您可以连接到校园以外的所有其他网络,那么我认为问题出在校园网络而不是您的笔记本电脑上。

我建议您返回到旧固件,甚至可以全新安装并从那里进行故障排除。

然后,在开始更改驱动程序之前,您可以使用 wireshark 来排除网络故障(在系统管理员的帮助下双方都可以排除故障)。

此外,您的连接存在什么问题,即您获得的是 169 地址还是 0.0.0.0 地址,或者它只是拒绝您进入网络。

注意:接入点的供应商也可能造成网络进入问题。

祝你好运

相关内容