Configure AirPort from Linux Fedora 22

I recently switched from Windows to Linux on my laptop, but I still want to be able to configure my Apple router. The best solution seems to be to run Apple’s Windows utility using wine. It works flawlessly, but setup is a little picky.

First, go to Apple’s downloads page and grab the Windows Airport Utility. You can find it here:

Next, make sure you have Wine and it’s dependencies installed. For Fedora 22, just do this:

sudo dnf install wine wine-core wine-openal mingw32-wine-gecko mingw64-wine-gecko

Next, because Airport Utility is so fussy, let’s give it it’s own wine container. Run the following commands in a terminal window

export WINEPREFIX=/home/(username)/.wine-airport
export WINEARCH=win32

In the dialog, set Wine to “Windows 7”.

Now we are ready to install the Airport Utility. Run the installer from the same terminal window so we get the WINEPREFIX and WINEARCH values as set before.

wine AirPortSetup.exe

Just take the defaults. If it finds a shared disk and offers to connect it, cancel out of that step. We don’t need to map the Airport shared drive(s) into wine we just want to install the AirPort Utility.

Once that is done, you can check if the AirPort Utility works.  Again, run this from the same terminal as before so we still have those settings.

wine /home/(username)/.wine-airport/drive_c/Program\ Files/AirPort/APUtil.exe

It should come up normally. If it does, I find it helps to wrap the settings up in a shell script for future use. Paste these lines into a file called

#! /bin/bash
export WINEPREFIX=/home/(username)/.wine-airport
export WINEARCH=win32
wine /home/oly/.wine-airport/drive_c/Program\ Files/AirPort/APUtil.exe

Now make it executable and keep it somewhere for whenever you want to run the utility.

chmod +x

Tags: , , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *