DEV Community

Ian Fabs
Ian Fabs

Posted on

WiFi firmware fails after installing Ubuntu on Lenovo IdeaPad Flex15

I just got a brand new laptop. And of course, as any good dev would do, I tried installing Ubuntu on it. I ran into a huge issue, where the firmware for the iwlwifi device/drivers. It kept failing post-boot with a UCODE=-110 or something like that. It took me three hours but I finally fixed it. It ended up having to do with iwconfig's power management. You can disable this by doing the following in a terminal.

  • Boot into Ubuntu
  • After login screen appears, press Ctrl+Alt+F2. (You might need to hold down the function key as well, which would be Ctrl+Alt+Fn+F2).
  • Once at the terminal screen, login with your username and password.
  • Next, enter the following command: sudo -i
  • This will prompt you to enter your password again, and by doing so you will be logged in as root.
  • Now, enter echo "options iwlwifi power_save=0" >> /etc/modprobe.d/iwlwifi.conf
  • reboot
  • In the grub boot menu, select Advanced Options
  • select ubuntu-linux-5.0.28-generic

Additional Steps

There are a few additional things I did that I am uncertain as to whether or not they might have had an impact on my success.

  • Edit grub and add arm=off to GRUB_DEFAULT_COMMAND.
  • Boot into your ubuntu installation media, and open a terminal.
    • sudo apt update
    • sudo apt upgrade-dist
  • Boot into the grub of the installation media, and type c on your keyboard
    • This will bring up a simple grub terminal
    • enter acpi=off

That's all I've got folks. I thought I'd write this down just incase anyone else ran into trouble just like me. Cheers!

Top comments (0)