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.

Firewall service not starting on Windows Vista / Windows7 / Windows10


This problem was driving me nuts. I did read at least 50 articles on how to debug firewall problems. I did all the stuff like “sfc scannow”, the microsoft fixit, tech articles, service repair programs, and still a nonworking firewall.

Just when i was giving up, and made a prepare for a full system reinstall, I got it fixed.

Problem description:

When typing net start MpsSvc you see the following info

The Windows Firewall service is starting.
The Windows Firewall service could not be started.

A service specific error occurred: 13.

If you don’t have a error 13, just skip the complete article. This article is only for people with a error 13. Also its a last resort. Don’t blame me, if your computer is not working after my suggestion’s.
If you have a error 5, I suggest to read the following link

With the software serviwin from nirsoft you will see the following message on the service

Here are the steps:

This solution is for Windows Firewall error in Vista. In the Event Log you will find the following message.: “The Windows Firewall service terminated with service-specific error 13 (0xD).”

The way i fixed this was to delete the complete regkeys under


So, open Registry Editor (Start->Run->regedit). Navigate to the key, and delete from the key “FirewallPolicy” but DONT delete the FirewallPolicy itself

you should have

Open a command prompt with admin rights and type

net start MpsSvc

If you have the firewall running you need to restore de default set of rules
Click on Start->Type Windows Firewall in the search box. Click on “Windows Firewall”

Click on “Allow a program through Windows Firewall”. Click on Advanced Tab->Restore Defaults.

You can also type in the following command in a dosbox (admin mode)


Service not started message on console

You get this error on the server console, but you cant find any services who is failing to start.

Ten minste een service is bij het starten van het systeem niet gestart. Raadpleeg het logboek voor informatie.

The English error is:

At least one service or driver failed during system startup. Use Event Viewer to examine the event log for details

You will find this error on you system log

Application Popup system-id 26

The way we solved this:

There are 2 type of services
You have the normal service, and you have the devicedrivers who are also some kind of service

If you download serviwin from nirsoft you can see all the device services who are not running

Here you have a view how to find the responsible service

I did sort the list on startup type, and you see the service streamdispatcher not running, but because the startup type is automatic, its the cause of the error.
after some research this failing device was the result of a leftover rootkit. The rootkit itself was intercepted by the virus scan, but the service was still present.

Of course its possible that in other situations, its a other service
A common service who can fail is the parport service. If your hardware don’t have a parallel port, this service will fail, because the default startuptype is automatic

How to delete/control a deviceservice from the commandline

In the above situation you can use the following command

how to stop a service
C:\>sc stop “StreamDispatcher”
[SC] ControlService MISLUKT 1062:

De service is niet gestart.

how to change the staruptype
C:\>sc config “StreamDispatcher” start= disabled
[SC] ChangeServiceConfig VOLTOOID

how to delete a service
C:\>sc delete “StreamDispatcher”
[SC] DeleteService VOLTOOID

After changing the serviceconfig the problem is solved