Ask Your Question

Random Wi-Fi failure on Surface Pro 4

asked 2018-03-13 03:07:04 +0000

techciel gravatar image

updated 2018-03-13 06:30:49 +0000

I recently installed Fedora 27 on my Surface Pro 4. Everything works well except Wi-Fi.

The Wi-Fi adapter is Marvell Technology Group Ltd. 88W8897 [AVASTAR] 802.11ac Wireless.

My first startup is successful with Wi-Fi working. However, after a restart it couldn't detect any available network and failed to connect saved network.

I tried to restart again and again. Sometimes Wi-Fi works well while sometimes fails to connect. If it failed, the only solution found is to restart again. Even if it started with a successful connection, the connection could go down anytime.

I tried to replace firmware in /lib/firmware/mrvl/ with various versions but it doesn't work at all.

Does someone have same problem like this or have some ideas? Any help will be helpful!

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted

answered 2018-03-14 23:23:22 +0000

techciel gravatar image

I'm answering myself with my current solution :

Step 1: update firmware

git clone git://git.marvell.com/mwifiex-firmware.git
sudo mkdir -p /lib/firmware/mrvl/
sudo cp mwifiex-firmware/mrvl/* /lib/firmware/mrvl/

Step 2: change network manager config

Add the following config

wifi.powersave = 2

to /etc/NetworkManager/NetworkManager.conf

Step 3: reboot

After this fix, I'm not getting Wi-Fi failure on startup anymore and it didn't down while using.

Thanks to @Aeyoun and https://github.com/jakeday/linux-surface .

edit flag offensive delete link more

answered 2018-03-13 16:49:44 +0000

This is not a problem unique to Fedora, but to the 88W8897 chipset. From what I can gather by searching the web for a few minutes; the problem seems to be that the adapter fails to wake up from powersave mode. You can try disable power management for the WiFi adapter by following the instructions under the ‘Permanently disable power saving with NetworkManager’ headline.

Issues with powersave mode are quite frequent on Linux because different device manufacturer often implement custom changes to component’s power management. The generic drivers in the Linux kernel aren’t aware of the device specific requirements to get it to work properly.

edit flag offensive delete link more


I've tried many ways and found this one working. [device] wifi.scan-rand-mac-address=false The Wi-Fi is now always working on startup but still go down while using.

I'll try this and thanks so much for helping! :)

techciel ( 2018-03-14 08:06:18 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question Tools

1 follower


Asked: 2018-03-13 03:07:04 +0000

Seen: 50 times

Last updated: Mar 14