1

Without fail, I boot into Ubuntu and everything is working, but after closing the laptop the wifi stops working. When I restart everything works again.

Running iwconfig, before restarting, gives me this:

wlan0 IEEE 802.11abg ESSID:off/any
Mode:Managed Access Point: Not-Associated
Retry long limit:7 RTS thr:off Fragment thr:off Power Management:on

I am very new to Ubuntu, so any help will be very appreciated!

Macbook Pro (Retina, mid 2014)

0

2 Answers 2

2

Wireless stops working after suspend, I think this is what you're looking for it's on this page: https://help.ubuntu.com/community/MacBookPro11-1/Saucy lot's of good info here.

create a file

  1. sudo nano /etc/pm/sleep.d/99_myfix

put the following into the file

  1. #!/bin/sh

    case "$1" in
    resume|thaw)
            service network-manager stop
            rm /var/lib/NetworkManager/NetworkManager.state
            service network-manager start
            ;;
    esac
    

and set its permission to 755

  1. sudo chmod 755 /etc/pm/sleep.d/99_myfix
3
  • Would this work on other computers too (Dell XPS)? I've been having this problem
    – Matt G
    Mar 28, 2017 at 21:02
  • btw this still works for ubuntu 19 on a macbookpro 2015. Nov 28, 2020 at 12:25
  • actually this works for suspend, but if I leave my early 2015 macbook pro suspended for long enough it hibernates, and then I needed the fix here askubuntu.com/a/893823/456289 Dec 1, 2020 at 19:01
0

It might be an issue with your wifi firmware. Here's an answer to a similiar question that might help you:

Download the brcmfmac43602 firmware from the Linux firmware git repo

Copy it to /lib/firmware/brcm

Reboot and enjoy your WiFi.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.