I have a Raspberry Pi 3 Model B V1.2, and didn't want to bother with ethernet, so this is what I did to get my Zynthian setup to be accessible over Wifi. I'll go ahead and note that my "box" doesn't have any hardware other than RPi and a USB <-> MIDI cable connected to my keyboard, which I've mentioned in other places in the forum.
By default, the Gorgona Image does not include either the firmware for the onboard bcm Wifi of the RPi 3, nor does it have
wpasupplicant, which is a Linux package that is required to configure a Wifi network adapter beyond the basics like IP address (notably, it needs to know the network ID you're connecting to and the preshared key or password).
If you already have your Zynthian Box (RPi) connected to Ethernet, you can skip the steps for loading stuff into your SD card--you already have Internet and can just run
$ apt-get update; apt-get install -y wpasupplicant firmware-brcm80211
Apt will go and get all these dependencies for you. But if you are lazy, like me, you don't want to have to go all the way over to your router to plugin your Pi If you're lazy like me, you can follow these steps to load the required files onto your Zynthian SD Card:
If you plug your SD card into your card reader on your Mac or PC, you can see only the boot partition, but this is fine enough for our purposes. Once you copy something onto this "view" of the SD card, it becomes accessible to the Pi in the location
/boot, so this is a great way of importing package dependencies that you don't have yet, when you don't have Internet. After writing this, I realized that Windows users may not actually be able to see the device at all--I leave it as an exercise to the reader to make sure you can read the SD card but it shouldn't be too difficult. Linux users may actually be able to mount the whole card instead of just the
/boot partition. Great, just copy the files in wherever you'd like them.
So, I went and grabbed the Firmware for the onboard wifi card. You'll want to pick the mirror that's geographically closest to you. I downloaded the
.deb file onto the SD card and then booted up my Zynthian "box", and then it's
$ cd /boot
$ dpkg -i firmware-brcm80211.deb
This will use the Debian Package installer without going through
apt-get or aptitude or anything that requires an Internet connection. A word to the wise: make sure you use the RPi to delete these files when you are done (
rm firmware-brcm80211.deb) -- if you delete them on your mac, like I did, it creates a
.Trashes directory and keeps filling up space until you run out
As you can see, this pattern can be followed for the other
.deb files that are needed for installing
wpasupplicant, which I link to here:
Note that the order of installation does matter here, because some of these packages are dependent on others. Mostly,
wpasupplicant is dependent on the others (and no, they are not on the image by default), and Libnl-gen-1-3-200 is dependent on Libnl-3-200.
Once you've got these babies installed, you reboot, and you should see your Wifi card appear as
wlan0, which is the default name/number for a wireless card in Linux. From there, all you need to do is edit
/etc/network/interfaces in your favorite text editor and add these lines:
iface wlan0 inet dhcp
This is assuming you use WPA-PSK and that your home network is named
NETWORKID and your preshared key is
PRESHAREDKEY. Customize to your situation.
Anyway, after that, you can either reboot the Pi or just do
ifup wlan0 and you should be on the internet without using pesky Ethernet cables!
Note for RPi2 Users: You can follow this process to also get your RPi 2 up and running on Wifi--but you'll need a USB Wifi Dongle. I originally had an RPi 2 and had to go download the Firmware-Ralink package for that Dongle. Look for your manufacturer's drivers out there on the Interwebs and then you can copy the
.deb file onto the boot partition as I explained above.
Hope you enjoy.