I connected my Raspberry Pi, that runs Arch Linux, to my Mac with an ethernet cable using this tutorial. I set the ip of the Raspberry Pi in the cmdline.txt file to 192.254.0.2. My Mac automatically got the ip 192.254.80.103. I am able to log me in on the RPi using SSH. Here comes a diagram of the network:Now I need an internet connection on the RPi and I want to share the WiFi connection of the Mac with the RPi. Thus I enabled the sharing of the internet connection in the settings, but then I am not able to connect to the RPi anymore.I already found some similar questions, but they are either about Linux to Linux connections or about outdated OS X versions. I would be very grateful if someone could help me accomplishing this task.
How to share my internet connection with a Raspberry Pi?
linux;osx;raspberry pi