Wifi

找不到無線網卡mwifiex_usb介面

  • April 2, 2016

我一直在嘗試安裝我的無線適配器,我有一個 Surface Pro,我已經放棄了讓 ndiswrapper 工作,因為它說它無法載入驅動程序“mwlu97w8x64”,即使我用過它是在兩年前和 ndiswrapper 一起使用的,當時沒有任何問題,所以這次我嘗試安裝正確的韌體,但是當我執行 ip link 或 ifconfig 時沒有顯示 mlan(不是 wlan)界面甚至更少的 iwconfig。我已經將韌體添加到 /lib/firmware/mrvl/…

root@rinaldi:/home/rinaldi# modinfo mwifiex_usb
filename:       /lib/modules/3.16.0-4-amd64/kernel/drivers/net/wireless/mwifiex/mwifiex_usb.ko
firmware:       mrvl/usb8897_uapsta.bin
firmware:       mrvl/usb8797_uapsta.bin
license:        GPL v2
version:        1.0
description:    Marvell WiFi-Ex USB Driver version1.0
author:         Marvell International Ltd.
srcversion:     2D6C6069607126D19ADC681
alias:          usb:v1286p2046d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v1286p2045d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v1286p2044d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v1286p2043d*dc*dsc*dp*ic*isc*ip*in*
depends:        mwifiex,usbcore
intree:         Y
vermagic:       3.16.0-4-amd64 SMP mod_unload modversions 

/etc/網路/介面

root@rinaldi:/home/rinaldi# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
auto mlan0
iface lo inet loopback
iface mlan0 inet manual
#wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp

我可以安裝正確韌體的無線網卡嗎?核心尋找什麼來啟動無線網卡?你將如何進行?

lsusb

Bus 002 Device 005: ID 045e:0794 Microsoft Corp. 
Bus 002 Device 004: ID 03eb:8209 Atmel Corp. 
Bus 002 Device 003: ID 045e:0799 Microsoft Corp. 
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 045e:0795 Microsoft Corp. 
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 05e3:0616 Genesys Logic, Inc. 
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 006: ID 1286:2044 Marvell Semiconductor, Inc. 
Bus 003 Device 005: ID 413c:2107 Dell Computer Corp. 
Bus 003 Device 004: ID 046d:c077 Logitech, Inc. 
Bus 003 Device 007: ID 0bda:8179 Realtek Semiconductor Corp. 
Bus 003 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

較新的韌體可能會有所幫助

wget <http://git.marvell.com/?p=mwifiex-firmware.git;a=blob;f=mrvl/usb8797_uapsta.bin;h=0ce6c4ec307880d34bbef3b6ccd359617914f156;hb=e92f8b3f65443764297b947b1843955d9a65dde7>
sudo mv /lib/firmware/mrvl/usb8797_uapsta.bin /lib/firmware/mrvl/usb8797_uapsta.bin.bak
sudo cp ./mrvl_usb8797_uapsta.bin /lib/firmware/mrvl/usb8797_uapsta.bin

重啟

引用自:https://unix.stackexchange.com/questions/271154