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.

Audio muted on every reboot

Took me some time to fix this annoying problem, and I’m sure that this is not the way to fix this problem, but it worked for me.

Problem description

i’m running a linux fedora environment with a nvidea card and digital audio output

On every reboot i see (with alsamixer) that the S/PDIF1 is muted and i need to unmute this to hear audio.

Tried lots of things to save the settings, but somehow it’s always muted on a reboot
(like alsactl store 0. alsactl store 1 and lots of other things like changing permissions on files)

I can unmute with the following command:

amixer -q -c 0 sset ‘IEC958’,1 unmute

So i just put this line in the /etc/rc.d/rc.local file
and now my audio is unmuted on a reboot.

If someone know how to fix this in a more decent way, just let me know.