Offline wifi setup raspberry

This was a situation where i needed to test a new raspberry image on my raspberry pi-A, and i could not find my usb hub.
So i needed to do a offline wifi configuration to boot the device with a wifi dongle, and configure the device from ssh.

  1. Download a image from
  2. Extract the image
  3. Transfer image to memcard
  4. Mount the memcard on your computer

If you have a win32 device you can download extfs for windows on the following link:

You will notice that this software will add a normal drive letter to your extfs partition

I use Notepad ++ to edit the file, i have problems with the standard notepad on the line breaks
Edit the file /etc/wpa_supplicant/wpa_supplicant.conf
and you will read :

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev

update to file something like this:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev

Be sure to change the ssid and the psk for your wifi network

Save the file, dismount the extfs partition and dismount the memory cart
Now insert the edit memory card to the raspisystem, and boot.
If you have a dhcp server on your system, your device will be connected to your network, and you can continue to connect to your raspberry with putty.
The username is pi, the password raspberry
p.s. you can use fing (on your mobile phone)to find the ip address of the raspberry, if you can’t read your dhcp leases.


If this info is usefull, just give me a hello.

Leave a Reply

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