Install Ubuntu 18.04 on MacBook Pro Touchbar model and connect to WIFI

Introduction

I'm writing a blog about 40 uncles of liberal arts trying Python in another place, but because I changed jobs, my main business became super busy, so that's all, but as the title says, MacBook Pro I've put Ubuntu into my Touchbar model, so I'll write about it. Here, I will only write how to get Linux into MBP and run it anyway. I can't write it in the first place because I'm completely ignorant of the technical information in the detailed background. By the way, this is also written in Ubuntu 18.04 LTS on MBP Late 2016 right now.

Premise

Even my uncle read in various articles that installing linux on the Touchbar model became desperately difficult. However, I recently bought a 16-inch model of my uncle MBP, and now I have one Late 2016 left, so when I jumped out into the sea of the web thinking that I could put this in Linux, the situation changed considerably. I got the feeling that it might be cool. As the background --Some people have prepared an installation ISO image that allows you to use the keyboard and touchpad from the installation stage. --A way to finally use WiFi has been discovered

However, the thing that hasn't been helped yet is audio-related, but it feels insignificant compared to the fact that WiFi and input devices cannot be used. My uncle has a 16-inch machine.

environment

My uncle's environment is MacBook Pro 13,3. It is a 15-inch model of Late 2016.

Of course, I can't use WIFI until the WIFI settings are complete, but that's too inconvenient, so I secured a connection to the Internet by using a USB Type-C Ethernet adapter. This is the Ethernet adapter that my uncle used. It was usable without any special settings. https://www.sanwa.co.jp/product/syohin.asp?code=LAN-ADURCM

Referenced site

Linux on mid-2017 MacBookPro https://nixaid.com/linux-on-macbookpro/

Ubuntu 18.04 image release for MacBook Pro 2017/6 with Touch Bar https://foolcontrol.org/?p=2928

step 1

The Ubuntu 18.04 ISO image is rolling in the foolcontrol.org entry above, so drop it and burn it to a Type-C USB flash drive. The new entry on foolcontrol.org also has an ISO image of 18.10, but it failed to install in my environment, so I did it at 18.04. I used balena Etcher as the ISO image writing software on Mac. https://www.balena.io/etcher/

Step 2

After writing the ISO image to the flash memory, restart the MacBook while holding down the Option key, and launch the Ubuntu installer from the flash memory. All I had to do was follow the installer. By the way, my uncle deleted the disk, erased macOS from MBP13,3, and became an Ubuntu-only machine. I didn't really care about how to leave macOS, so I'm not sure.

Step 3

Next is the WiFi settings. Here, follow the description of Update 6 in the above entry on nixaid.com. https://bugzilla.kernel.org/show_bug.cgi?id=193121#c52 Download the Comment 52 attachment text file from the above site and save it as brcmfmac43602-pcie.txt in/ lib / firmware / brcm /.

Step 4

The above txt file needs to be modified. 8th line

macaddr=xx:xx:xx:xx:xx:xx


 There is a place where it is, and you need to replace this `xx: xx: xx: xx: xx: xx` with the MAC address of your MBP. Please go to each person to find out the MAC address.

### Step 5
 If you reload the brcmfmac driver, this will happen when you can use WIFI, but my uncle didn't know how to reload the driver, so I restarted the whole Ubuntu.

### Step 6
 Then, when I connected to my WIFI and pulled out the Ethernet adapter, I was able to maintain a connection to the Internet without ** Ethernet! Even MBP Touchbar model can use WIFI on Linux! ** **


 So it was Qiita's first post!


Recommended Posts

Install Ubuntu 18.04 on MacBook Pro Touchbar model and connect to WIFI
Install pyenv on MacBook Air and switch python to use
Install Mecab and mecab-python3 on Ubuntu 14.04
Install and run dropbox on Ubuntu 20.04
Install OpenCV and Chainer on Ubuntu
Install CUDA 8.0 and Chainer on Ubuntu 16.04
Install fabric on Ubuntu and try
How to install Go on Ubuntu
Steps to install Python environment on Ubuntu
Install Puppet Master and Client on Ubuntu 16.04
How to install php7.4 on Linux (Ubuntu)
Install pyenv and Python 3.6.8 on Ubuntu 18.04 LTS
Gusto cannot connect to Wifi on Linux
Step 2 to install Xenomai on RaspberryPi 3 model B +
Install MongoDB on Ubuntu 16.04 and operate via python
Until you create an Ubuntu boot USB on your Macbook and install Ubuntu on your Thinkpad
Install TensorFlow on Ubuntu
Install Apache 2.4 on Ubuntu 19.10 Eoan Ermine and run CGI
How to install Git GUI and Gitk on CentOS
Install PySide2 on Ubuntu
Install JModelica on Ubuntu
Install Python 3.3 on Ubuntu 12.04
Install Theano on Ubuntu 12.04
[AWS EC2] How to install only MySQL client on Amazon Linux 2 and connect to RDS
Install angr on Ubuntu 18.04
Install pip / pip3 on Ubuntu
I tried to install scrapy on Anaconda and couldn't
OpenPose on MacBook Pro
How to share OS and Vim clipboard on Ubuntu 18.04.3 LTS
Install Caffe on OSX 10.10 and classify images by reference model
Install python3 and scientific calculation library on Ubuntu (virtualenv + pip)
OpenPose on MacBook Pro Part 2
USB Wifi on Ubuntu 20.04LTS
Install GoLand IDE on Ubuntu
Install OpenCV on Ubuntu + python
wsl Install PostgreSQL on Ubuntu 18.04
[ROS] Install ROS (melodic) on Ubuntu (18.04)
Install Caffe on Ubuntu 14.04 (GPU)
Install Docker on WSL Ubuntu 18.04
How to install pandas on EC2 (How to deal with MemoryError and PermissionError)
Install Anaconda on Mac and upload Jupyter (IPython) notebook to Anaconda Cloud
Install CUDA10.1 + cuDNN7.6.5 + tensorflow-2.3.0 on Ubuntu 18.04
Install Python 3.8 on Ubuntu 18.04 (OS standard)
Python 3.6 on Windows ... and to Xamarin.
How to install mysql-connector-python on mac
How to install and use Tesseract-OCR
Install Python 3.8 on Ubuntu 20.04 (OS standard)
Steps to install matplotlib on Mac
Steps to install Ubuntu in VirtualBox
Build and install OpenCV on Windows
Steps to install VirtualBox on CentOS
How to install graph-tool on macOS
How to install VMware-Tools on Linux
How to install pycrypto on Windows
How to install OpenCV on Mac
How to install MBDyn (Linux Ubuntu)
How to install PyPy on CentOS
Misunderstanding on how to connect cnn
How to install TensorFlow on CentOS 7
How to install and configure blackbird
How to install CUDA and nvidia-driver