Friday, June 27, 2014

Wireshark: The NPF driver isn't running

The NPF driver isn't running. You may have trouble capturing or listing interfaces.

You run Wireshark occasionally and don't want to start the NPF driver automatically at start up.

Open a command shell with administrator rights and type:

> sc start npf

You can [stop] the service in the same way.

Run a Command as Administrator on Windows

I didn't know this but since I'm a Linux guy, I'm not ashamed.
On windows, if you log in as a user with administrator privileges but want to run a command shell with administrator's rights, you still need to run it in a special way:
  1. Go to the start bar search box
  2. Type cmd
  3. Right-click on cmd.exe and choose "Run as administrator"
Thanks to Olav.

Tuesday, June 10, 2014

Building with Ant from Eclipse: "Specified VM install not found"

After an update of the JDK and successive removal of the old version, when I tried to build with Ant from Eclipse I got:

Specified VM install not found: type Standard VM, name jdk1.7.0_55

Yeah, right, OK, but where do I update the JDK that's used by Ant??
Here:
Run -> External Tools -> External Tools Configurations -> JRE

Thanks to Michael Borgwardt

Monday, June 09, 2014

Windows Keeps Forgetting the Wi-Fi Connection Password

One possible cause of the problem is that the Intel PROSet/Wireless WiFi Connection Utility is somehow conflicting with the OS.
Try to disable it and go back to Windows  managing the connections.

Once you're opened the Intel WiFi connection utility, choose: Advanced, then something like Let Windows Manage the WiFi Connections.

You're done.

Windows: Choose What is Started at Startup

Run:
> msconfig

then switch to the Startup tab.