Tested on:RPi 3; Raspbian Jessie
Prerequisites:Raspberry Pi with Raspbian Jessie and internet connection (see steps 1-7 in the Introduction)
Wifi network
Ethernet network

Setup simultanous Ethernet and Wifi access for the Raspberry Pi 3

Many Raspberry Pi devices profit from having ethernet and wifi connectivity: Ethernet for development and Wifi for the final device, which can be accessed with Smartphones for remote controls, ect..
To achive this, some non-standard tweaking of interfaces and wpa_supplicant is necessary. This tutorial shows the steps required for making it work. Thanks to DanFritz for his post on Stackexchange about setting this up!

Setup wpa_supplicant
Open wpa_supplicant by typing

Replace the code block starting with


but fill in the NETWORKNAME and PASSWORD of the wifi network the RPi should connect to.

Setup interfaces
If you defined an interface in dhcpcd.conf, remove that. Backup the old interfaces file, then recreate it by typing

Fill the file with the following:

X1.Y1.Z1 need to be the first three places of the ethernet connection IP and X2.Y2.Z2 the first three places of the wireless network IP.

Test the setup
Reboot, then log in over ethernet by typing

then log in from a machine connected to the same wifi network with

RPi Wifi and Ethernet on Stackexchange: http://raspberrypi.stackexchange.com/questions/8851/setting-up-wifi-and-ethernet

Knight of Pi

Johannes Bergs aka Knight of Pi. Diploma in Bioinformatics, some Webdesign and Python coding then. Living in the beautiful city of Vienna.


  1. This is very close to what I am trying to do.. However, I need to connect to two different networks using DHCP, not Statis IP addresses. Can you provide some modified instructions to work with DHCP on both networks?

    • Hello David,

      i’m sorry but i only worked with static IP addresses so far and i’m really occupied these days.
      Hope you find a solution, though!


Time limit is exhausted. Please reload CAPTCHA.